[all][update deprecated api tc on all profile] 79/200679/3
authorzhongyuan <zy123.yuan@samsung.com>
Thu, 28 Feb 2019 05:47:58 +0000 (13:47 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Thu, 28 Feb 2019 06:22:46 +0000 (14:22 +0800)
Change-Id: Ida1c6703824341e762c95765a6f1baf771933be4

1233 files changed:
common/tct-alarm-tizen-tests/alarm/AlarmAbsolute_constructor_date_period.html [deleted file]
common/tct-alarm-tizen-tests/alarm/AlarmAbsolute_period_attribute.html [deleted file]
common/tct-alarm-tizen-tests/tests.full.xml
common/tct-alarm-tizen-tests/tests.xml
mobile/tct-deprecatedapi-tizen-tests/config.xml
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_missarg.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_without_errorCallback.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_errorCallback.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_successCallback.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_extra_argument.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_exit.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch_explicit.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_failure.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result_with_data.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_run_test.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/config.xml [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/css/style.css [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/index.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/manifest.json [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/COPYING [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.css [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharnessreport.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/unitcommon.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl_extra_argument.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide_extra_argument.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_appControl_attribute.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_callerAppId_attribute.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_extend.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyFailure_exist.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_data_TypeMismatch.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_exist.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/appcontrol_launch_explicit.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/config.xml [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/css/style.css [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/index.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/js/main.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/manifest.json [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/config.xml [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/css/style.css [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/index.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/manifest.json [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/config.xml [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/css/style.css [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/index.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/manifest.json [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/config.xml [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/css/style.css [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/index.html [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/js/main.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/manifest.json [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/app_common.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/content_common.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/filesystem_common.js [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/notification_common.js [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/power_common.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/push_common.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/systeminfo_common.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/time_common.js [deleted file]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/unitcommon.js
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3 [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3 [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3 [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4 [deleted file]
mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4 [deleted file]
mobile/tct-deprecatedapi-tizen-tests/suite.json
mobile/tct-deprecatedapi-tizen-tests/tests.full.xml
mobile/tct-deprecatedapi-tizen-tests/tests.xml
tv/tct-deprecatedapi-tizen-tests/config.xml
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_missarg.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_without_errorCallback.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_errorCallback.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_successCallback.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_exit.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch_explicit.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_failure.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result_with_data.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_run_test.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/config.xml [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/css/style.css [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/index.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/manifest.json [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/COPYING [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.css [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharnessreport.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/unitcommon.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl_extra_argument.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide_extra_argument.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_appControl_attribute.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_callerAppId_attribute.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_extend.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyFailure_exist.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_data_TypeMismatch.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_exist.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/appcontrol_launch_explicit.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/config.xml [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/css/style.css [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/index.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/js/main.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/manifest.json [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/config.xml [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/css/style.css [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/index.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/manifest.json [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/config.xml [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/css/style.css [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/index.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/manifest.json [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/config.xml [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/css/style.css [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/index.html [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/js/main.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/manifest.json [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/app_common.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/content_common.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/filesystem_common.js [new file with mode: 0755]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/power_common.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/push_common.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/systeminfo_common.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/time_common.js [deleted file]
tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/unitcommon.js
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3 [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3 [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3 [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4 [deleted file]
tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4 [deleted file]
tv/tct-deprecatedapi-tizen-tests/suite.json
tv/tct-deprecatedapi-tizen-tests/tests.full.xml
tv/tct-deprecatedapi-tizen-tests/tests.xml
wearable/tct-deprecatedapi-tizen-tests/config.xml
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_missarg.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_without_errorCallback.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_errorCallback.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_successCallback.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_exit.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch_explicit.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_failure.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result_with_data.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_run_test.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/config.xml [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/css/style.css [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/index.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/manifest.json [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/COPYING [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.css [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharnessreport.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/unitcommon.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl_extra_argument.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide_extra_argument.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_appControl_attribute.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_callerAppId_attribute.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_extend.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyFailure_exist.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_data_TypeMismatch.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_exist.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/appcontrol_launch_explicit.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/config.xml [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/css/style.css [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/index.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/js/main.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/manifest.json [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/config.xml [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/css/style.css [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/index.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/manifest.json [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/config.xml [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/css/style.css [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/index.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/manifest.json [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/config.xml [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/css/style.css [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/index.html [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/js/main.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/manifest.json [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/app_common.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/content_common.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/filesystem_common.js [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/notification_common.js [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/power_common.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/push_common.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/systeminfo_common.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/time_common.js [deleted file]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/unitcommon.js
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3 [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3 [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3 [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4 [deleted file]
wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4 [deleted file]
wearable/tct-deprecatedapi-tizen-tests/suite.json
wearable/tct-deprecatedapi-tizen-tests/tests.full.xml
wearable/tct-deprecatedapi-tizen-tests/tests.xml

diff --git a/common/tct-alarm-tizen-tests/alarm/AlarmAbsolute_constructor_date_period.html b/common/tct-alarm-tizen-tests/alarm/AlarmAbsolute_constructor_date_period.html
deleted file mode 100755 (executable)
index e0bd975..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-<head>
-<title>AlarmAbsolute_constructor_date_period</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: AlarmAbsolute_constructor_date_period
-//==== LABEL Test whether the constructor with date parameter and period parameter are supported
-//==== SPEC Tizen Web API:Application:Alarm:AlarmAbsolute:constructor C
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRA CONSTRM
-
-test(function () {
-    var alarm, date = new Date(), period = 300;
-    date.setFullYear(date.getFullYear() + 1);
-    date.setMilliseconds(0);
-    alarm = new tizen.AlarmAbsolute(date, period);
-    assert_true(alarm instanceof tizen.AlarmAbsolute, "object was not created properly");
-    assert_equals(alarm.date.getTime(), date.getTime(), "date passed as constructor parameter is different than date in the object");
-    assert_array_equals(alarm.period, period, "period passed as constructor parameter is different than period in the object");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/common/tct-alarm-tizen-tests/alarm/AlarmAbsolute_period_attribute.html b/common/tct-alarm-tizen-tests/alarm/AlarmAbsolute_period_attribute.html
deleted file mode 100755 (executable)
index 80dc55e..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>AlarmAbsolute_period_attribute</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: AlarmAbsolute_period_attribute
-//==== LABEL Check AlarmAbsolute for period attribute
-//==== SPEC Tizen Web API:Application:Alarm:AlarmAbsolute:period A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO ADV
-
-test(function () {
-    var alarm1, alarm2, date = new Date(), period = 60;
-    date.setFullYear(date.getFullYear() + 1);
-    alarm1 = new tizen.AlarmAbsolute(date);
-    assert_true("period" in alarm1, "attribute period doesn't exist in provided object");
-    assert_type(alarm1.period, "null", "default value should be null");
-    alarm2 = new tizen.AlarmAbsolute(date, period);
-    check_readonly(alarm2, "period", alarm2.period, "number", 1);
-    assert_equals(alarm2.period, period, "period passed as constructor parameter is different than period in the object");
-}, document.title);
-
-</script>
-</body>
-</html>
index 1e8d85aa27ef58beb5e3247963b57381591f582d..6127e41ab582567bdb9a1fb2d48176fa0a3ab47d 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Test whether the constructor with date parameter and period parameter are supported" type="compliance" status="approved" component="TizenAPI/Application/Alarm" execution_type="auto" priority="P1" id="AlarmAbsolute_constructor_date_period">
-        <description>
-          <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmAbsolute_constructor_date_period.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="AlarmAbsolute" element_type="constructor" element_name="constructor" specification="Alarm" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check AlarmAbsolute for date attribute" type="compliance" status="approved" component="TizenAPI/Application/Alarm" execution_type="auto" priority="P1" id="AlarmAbsolute_date_attribute">
         <description>
           <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmAbsolute_date_attribute.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check AlarmAbsolute for period attribute" type="compliance" status="approved" component="TizenAPI/Application/Alarm" execution_type="auto" priority="P1" id="AlarmAbsolute_period_attribute">
-        <description>
-          <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmAbsolute_period_attribute.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="AlarmAbsolute" element_type="attribute" element_name="period" specification="Alarm" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if AlarmManagerObject not exist" type="compliance" status="approved" component="TizenAPI/Application/Alarm" execution_type="auto" priority="P3" id="AlarmManagerObject_notexist">
         <description>
           <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmManagerObject_notexist.html</test_script_entry>
index 8989d1f26554c51cedb2cae339168629078a3a86..0c988819d903535ed8c430bb2eba7fe26ce40ce5 100755 (executable)
           <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmAbsolute_constructor_date_daysOfTheWeek.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Alarm" execution_type="auto" id="AlarmAbsolute_constructor_date_period" priority="P1" purpose="Test whether the constructor with date parameter and period parameter are supported">
-        <description>
-          <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmAbsolute_constructor_date_period.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="TizenAPI/Application/Alarm" execution_type="auto" id="AlarmAbsolute_date_attribute" priority="P1" purpose="Check AlarmAbsolute for date attribute">
         <description>
           <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmAbsolute_date_attribute.html</test_script_entry>
           <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmAbsolute_getNextScheduledDate_return_null.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Alarm" execution_type="auto" id="AlarmAbsolute_period_attribute" priority="P1" purpose="Check AlarmAbsolute for period attribute">
-        <description>
-          <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmAbsolute_period_attribute.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="TizenAPI/Application/Alarm" execution_type="auto" id="AlarmManagerObject_notexist" priority="P3" purpose="Check if AlarmManagerObject not exist">
         <description>
           <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmManagerObject_notexist.html</test_script_entry>
index dd63d7fa77fd0459f1f285d992870fd7ec0d5635..af07a6695fa993f11a49fbe375be86fae26da3e8 100755 (executable)
@@ -15,6 +15,8 @@
   <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
   <tizen:privilege name="http://tizen.org/privilege/push"/>
   <tizen:privilege name="http://tizen.org/privilege/internet"/>
+  <tizen:privilege name="http://tizen.org/privilege/notification"/>
+  <tizen:privilege name="http://tizen.org/privilege/mediastorage"/>
   <tizen:privilege name="http://tizen.org/privilege/externalstorage"/>
   <icon src="icon.png" height="117" width="117"/>
   <tizen:application id="deprecated.deprecatedAPITests" package="deprecated" required_version="5.0"/>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html
new file mode 100755 (executable)
index 0000000..e0bd975
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+
+-->
+
+<html>
+<head>
+<title>AlarmAbsolute_constructor_date_period</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: AlarmAbsolute_constructor_date_period
+//==== LABEL Test whether the constructor with date parameter and period parameter are supported
+//==== SPEC Tizen Web API:Application:Alarm:AlarmAbsolute:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRA CONSTRM
+
+test(function () {
+    var alarm, date = new Date(), period = 300;
+    date.setFullYear(date.getFullYear() + 1);
+    date.setMilliseconds(0);
+    alarm = new tizen.AlarmAbsolute(date, period);
+    assert_true(alarm instanceof tizen.AlarmAbsolute, "object was not created properly");
+    assert_equals(alarm.date.getTime(), date.getTime(), "date passed as constructor parameter is different than date in the object");
+    assert_array_equals(alarm.period, period, "period passed as constructor parameter is different than period in the object");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html
new file mode 100755 (executable)
index 0000000..80dc55e
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+
+-->
+
+<html>
+
+<head>
+<title>AlarmAbsolute_period_attribute</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: AlarmAbsolute_period_attribute
+//==== LABEL Check AlarmAbsolute for period attribute
+//==== SPEC Tizen Web API:Application:Alarm:AlarmAbsolute:period A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO ADV
+
+test(function () {
+    var alarm1, alarm2, date = new Date(), period = 60;
+    date.setFullYear(date.getFullYear() + 1);
+    alarm1 = new tizen.AlarmAbsolute(date);
+    assert_true("period" in alarm1, "attribute period doesn't exist in provided object");
+    assert_type(alarm1.period, "null", "default value should be null");
+    alarm2 = new tizen.AlarmAbsolute(date, period);
+    check_readonly(alarm2, "period", alarm2.period, "number", 1);
+    assert_equals(alarm2.period, period, "period passed as constructor parameter is different than period in the object");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 3bccdd0..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch
-//==== LABEL Check non-optional argument 'ApplicationInformationEventCallback' type conversion
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
-    var i, conversionTable = getTypeConversionExceptions("object");
-
-    for (i = 0; i < conversionTable.length; i++) {
-        assert_throws({name: conversionTable[i][1]}, function () {
-            tizen.application.addAppInfoEventListener(conversionTable[i][0]);
-        }, "exception should be thrown");
-    }
-
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html
deleted file mode 100755 (executable)
index ea5a1f5..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb
-//==== LABEL Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTL
-
-test(function () {
-    var i, conversionTable = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
-
-    for (i = 0; i < conversionTable.length; i++) {
-        assert_throws({name: conversionTable[i][1]}, function () {
-            tizen.application.addAppInfoEventListener(conversionTable[i][0]);
-        }, "an exception should be thrown");
-    }
-
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html
deleted file mode 100755 (executable)
index b6cfe36..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_exist</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_exist
-//==== LABEL Check if method addAppInfoEventListener exist
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
-    check_method_exists(tizen.application, "addAppInfoEventListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html
deleted file mode 100755 (executable)
index 3a4d376..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_missarg</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_missarg
-//==== LABEL Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
-    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
-        tizen.application.addAppInfoEventListener();
-    }, "method was called without ApplicationInformationEventCallback but exception was not thrown");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html
deleted file mode 100755 (executable)
index ef99e96..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_oninstalled</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/app_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_oninstalled
-//==== LABEL Check using addAppInfoEventListener method (installation process) in ApplicationManager interface
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRE Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)
-//==== STEP Click run and install TCTAppInfoEventTest1.wgt application from My files app (Phone/Others directory).
-//==== EXPECT Pass
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MAST MR
-
-executeCommand(uninstallApplicationCommand(TCT_APPINFOEVENT1_PKG_NAME));
-
-setup({timeout: 300000});
-
-var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            t.done();
-        }),
-        onupdated: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onuninstalled: t.step_func(function () {
-            assert_unreached("This function (onuninstalled) should not be used");
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST1_NAME, TCT_WGT_LOCATION));
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html
deleted file mode 100755 (executable)
index cfdc62f..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_onuninstalled</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/app_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_onuninstalled
-//==== LABEL Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from My files app (Phone/Others directory)).
-//==== STEP Click run and uninstall TCTAppInfoEventTest1 application.
-//==== EXPECT Pass
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MAST MR
-
-executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST1_NAME, TCT_WGT_LOCATION));
-
-setup({timeout: 300000});
-
-var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onupdated: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onuninstalled: t.step_func(function () {
-            t.done();
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    executeCommand(uninstallApplicationCommand(TCT_APPINFOEVENT1_PKG_NAME));
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html
deleted file mode 100755 (executable)
index eb01491..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_onupdated</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/app_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_onupdated
-//==== LABEL Check using addAppInfoEventListener method (updating process) in ApplicationManager interface
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from My files app (Phone/Others directory)).
-//==== STEP Click run and install TCTAppInfoEventTest2.wgt application from My files app (Phone/Others directory).
-//==== EXPECT Pass
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MAST MR
-
-executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST1_NAME, TCT_WGT_LOCATION));
-
-setup({timeout: 300000});
-
-var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            assert_unreached("This function (oninstalled) should not be used");
-        }),
-        onupdated: t.step_func(function () {
-            t.done();
-        }),
-        onuninstalled: t.step_func(function () {
-            assert_unreached("This function (onuninstalled) should not be used");
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST2_NAME, TCT_WGT_LOCATION));
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html
deleted file mode 100755 (executable)
index b476309..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_removeAppInfoEventListener</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_removeAppInfoEventListener
-//==== LABEL Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MR
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), appEventCallback, watchId, retVal;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            assert_unreached("This function (oninstalled) should not be used");
-        }),
-        onupdated: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onuninstalled: t.step_func(function () {
-            assert_unreached("This function (onuninstalled) should not be used");
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    retVal = tizen.application.removeAppInfoEventListener(watchId);
-    assert_type(retVal, "undefined", "this method should return nothing");
-    t.done();
-
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html
deleted file mode 100755 (executable)
index 92c2bde..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_removeAppInfoEventListener_exist</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_removeAppInfoEventListener_exist
-//==== LABEL Check if method removeAppInfoEventListener exist
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
-    check_method_exists(tizen.application, "removeAppInfoEventListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 598db7d..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_changeCallback_TypeMismatch</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_changeCallback_TypeMismatch
-//==== LABEL Check if setChangeListener throws exception when changeCallback is incorrect
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MC
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
-    conversionTable, changeCallback, exceptionName, i;
-
-t.step(function () {
-    conversionTable = getTypeConversionExceptions("object", false);
-
-    for(i = 0; i < conversionTable.length; i++) {
-        changeCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.content.setChangeListener(changeCallback);
-            }, "Given incorrect changeCallback.");
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 5297137..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_changeCallback_invalid_cb</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_changeCallback_invalid_cb
-//==== LABEL Check if setChangeListener throws exception when changeCallback is invalid listener
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MTL
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
-    exceptionName, incorrectListeners, i, changeCallback;
-
-t.step(function () {
-    incorrectListeners = getListenerConversionExceptions(["oncontentadded",
-        "oncontentupdated", "oncontentremoved"]);
-    for(i = 0; i < incorrectListeners.length; i++) {
-        changeCallback  = incorrectListeners[i][0];
-        exceptionName = incorrectListeners[i][1];
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.content.setChangeListener(changeCallback);
-            }, "Given invalid changeCallback.");
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html
deleted file mode 100755 (executable)
index 6b226b5..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_exist</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_exist
-//==== LABEL Check if setChangeListener exists
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("setChangeListener" in tizen.content,
-        "ContentManager should have setChangeListener method");
-    check_method_exists(tizen.content, "setChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html
deleted file mode 100755 (executable)
index 31ca6e6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_missarg</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_missarg
-//==== LABEL Check if setChangeListener method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-test(function () {
-    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
-        tizen.content.setChangeListener();
-    }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html
deleted file mode 100755 (executable)
index ee6d18b..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_unsetChangeListener_exist</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_unsetChangeListener_exist
-//==== LABEL Check if unsetChangeListener exists
-//==== SPEC Tizen Web API:Content:Content:ContentManager:unsetChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("unsetChangeListener" in tizen.content,
-        "ContentManager should have unsetChangeListener method");
-    check_method_exists(tizen.content, "unsetChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html
deleted file mode 100755 (executable)
index d12dc90..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_unsetChangeListener_extra_argument</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_unsetChangeListener_extra_argument
-//==== LABEL Check if unsetChangeListener method can be invoked with extra argument
-//==== SPEC Tizen Web API:Content:Content:ContentManager:unsetChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.content, "unsetChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..73f24e5
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileArraySuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileArraySuccessCallback_notexist
+//==== LABEL Interface FileArraySuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..5b39ba4
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileArraySuccessCallback_onsuccess</title>
+<script 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: FileArraySuccessCallback_onsuccess
+//==== LABEL Test whether FileArraySuccessCallback::onsuccess is called with valid argument
+//==== 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(document.title),
+    resolveSuccess, resolveError, listSuccess, i, fsTestFileName, foundValue = false;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem");
+
+    listSuccess = t.step_func(function (files) {
+        assert_type(files, "array", "incorrect received value");
+        assert_greater_than(files.length, 0, "incorrect received array");
+        for (i = 0; i < files.length; i++) {
+            assert_type(files[i], "object", "incorrect received array element");
+            checkOwnProperties(files[i]);
+            if ((files[i].name === fsTestFileName) && (files[i].isFile === true)) {
+                foundValue = true;
+            }
+        }
+        assert_true(foundValue, "new file not found");
+        t.done();
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createFile(fsTestFileName);
+        dir.listFiles(listSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..10f9a1e
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStreamSuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStreamSuccessCallback_notexist
+//==== LABEL Interface FileStreamSuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..dd8d6e9
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileStreamSuccessCallback_onsuccess</title>
+<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 FileStreamSuccessCallback::onsuccess is called with argument of proper type
+//==== 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(document.title),
+    resolveSuccess, resolveError, file, openStreamSuccess,
+    fsTestFileName = getFileName("filesystem.txt");
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_type(fs, "object", "fs isn't an object");
+        assert_own_property(fs, "eof", "fs doesn't have eof property");
+        assert_own_property(fs, "position", "fs doesn't have eof property");
+        assert_own_property(fs, "bytesAvailable", "fs doesn't have eof property");
+        fs.close();
+        t.done();
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html
new file mode 100755 (executable)
index 0000000..6e44b46
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_bytesAvailable_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_bytesAvailable_attribute
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::bytesAvailable attribute exist, is of proper type
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    testStr = "1234", fsTestFileName = getFileName("existFile01.txt");
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(testStr);
+        fs.position = 0;
+        assert_true("bytesAvailable" in fs, "bytesAvailable doesn't exist");
+        check_readonly(fs, "bytesAvailable", fs.bytesAvailable, "long", fs.bytesAvailable + 2);
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html
new file mode 100755 (executable)
index 0000000..7beb4ce
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_close</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_close
+//==== PRIORITY P2
+//==== LABEL Check if FileStream::close() method works
+//==== 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(document.title),
+    fsTestFileName = getFileName("closeFile.txt"), retVal = null,
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        retVal = fs.close();
+        assert_equals(retVal, undefined, "incorrect returned value close()");
+        assert_throws(IO_EXCEPTION, function () {
+                fs.read(2);
+            });
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html
new file mode 100755 (executable)
index 0000000..6d93bdb
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_close_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_close_exist
+//==== LABEL Check if FileStream::close() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile04.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("close" in fs, "No close method in FileStream");
+        check_method_exists(fs, "close");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html
new file mode 100755 (executable)
index 0000000..1fc2d8c
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_close_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_close_extra_argument
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::close() method can be called with extra arguments
+//==== 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 MNAEX
+
+var t = async_test(document.title),
+    fsTestFileName = getFileName("TestFile.txt"),
+    resolveSuccess, resolveError, file, openStreamSuccess, openStreamError;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (stream) {
+        checkExtraArgument(stream, "close");
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html
new file mode 100755 (executable)
index 0000000..fed8041
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_eof_attribute</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_eof_attribute
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::eof attribute exists, is Boolean
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile02.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("eof" in fs, "eof doesn't exist");
+        check_readonly(fs, "eof", false, "boolean", true);
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html
new file mode 100755 (executable)
index 0000000..79fddd5
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileStream_extend</title>
+<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 instance of FileStream can be extended with new attribute
+//==== 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(document.title),
+    fsTestFileName = getFileName("closeFile.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        check_extensibility(fs);
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html
new file mode 100755 (executable)
index 0000000..a8a1f55
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_notexist
+//==== LABEL Interface FileStream should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html
new file mode 100755 (executable)
index 0000000..1205d77
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_position_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_position_attribute
+//==== PRIORITY P2
+//==== LABEL Check if FileStream::position attribute exists, is of proper type, can be changed
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile0.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_own_property(fs, "position", "this FileStream doesn't have own position property");
+        assert_type(fs.position, "long", "incorrect type of position");
+        assert_equals(fs.position, 0, "incorrect default position");
+        fs.write("abcdefg");
+        assert_equals(fs.position, 7, "incorrect default position after write");
+        fs.position = 2;
+        assert_equals(fs.position, 2, "can't change the position");
+        check_not_nullable(fs, "position");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html
new file mode 100755 (executable)
index 0000000..98befd4
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_read</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_read
+//==== LABEL Check if FileStream::read() method 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(document.title),
+    fsTestFileName = getFileName("filesystem01.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = "abcde", text;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        text = fs.read(5);
+        fs.close();
+        assert_equals(text, expected, "read fs failed, read '" + text + "', expected '" + expected + "'");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html
new file mode 100755 (executable)
index 0000000..4c6c02b
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBase64</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBase64
+//==== LABEL Check if FileStream::readBase64() method works
+//==== 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(document.title),
+    fsTestFileName = getFileName("readBaseFile.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
+
+t.step(function (){
+
+    openStreamReadSuccess = t.step_func(function (fs) {
+        base64 = fs.readBase64(256);
+        fs.close();
+        assert_equals(base64, expected, "read fs failed, read " + base64 + ", expected " + expected);
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html
new file mode 100755 (executable)
index 0000000..88a146f
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBase64_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBase64_exist
+//==== LABEL Check if FileStream::readBase64() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile07.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("readBase64" in fs, "readBase64 exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html
new file mode 100755 (executable)
index 0000000..d23f46d
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list 
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice, 
+this list of conditions and the following disclaimer in the documentation 
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors 
+may be used to endorse or promote products derived from this work without 
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>FileStream_readBase64_without_r_permission</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_readBase64_without_r_permission
+//==== LABEL Check if FileStream::readBase64() throws exception when reading from a file opened in 'w' mode
+//==== 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(document.title), testFile,
+    fsTestFileName = getFileName("readBase64WithoutR.txt"), resolveSuccess,
+    resolveError, openStreamSuccess, openStreamError, expected = "IOError";
+
+t.step(function () {
+
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.readBase64(256);
+        }, expected + "exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html
new file mode 100755 (executable)
index 0000000..ee150e9
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBase64_writeFile</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBase64_writeFile
+//==== LABEL Check if you can create a new file, write content to it, 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(document.title),
+    fsTestFileName = getFileName("fileSystem-File03.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        base64 = fs.readBase64(256);
+        fs.close();
+        assert_equals(base64, expected, "read fs failed, read " + base64 + ", expected " + expected);
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html
new file mode 100755 (executable)
index 0000000..b748fc8
--- /dev/null
@@ -0,0 +1,93 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes</title>
+<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 FileStream::readBytes() method 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(document.title), i,
+    fsTestFileName = getFileName("readBytesFile.txt"), stringToWrite = "1234567",
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, len,
+    openStreamReadSuccess, file, bytes;
+
+t.step(function () {
+    openStreamReadSuccess = t.step_func(function (fs) {
+        bytes = fs.readBytes(256);
+        fs.close();
+        assert_type(bytes, "array", "incorrect read type");
+        assert_equals(bytes.length, stringToWrite.length, "read fs failed, read " + bytes.length + ", expected " + stringToWrite.length);
+        for (i = 0, len = bytes.length; i < len; i++) {
+            assert_equals(bytes[i], stringToWrite.charCodeAt(i), "incorrect read value");
+        }
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(stringToWrite);
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html
new file mode 100755 (executable)
index 0000000..401915a
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script> 
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBytes_exist
+//==== LABEL Check if FileStream::readBytes() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile06.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("readBytes" in fs, "readBytes exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html
new file mode 100755 (executable)
index 0000000..f541485
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_readBytes_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_readBytes_misarg
+//==== LABEL Check if FileStream::readBytes() with missing mandatory argument throws exception
+//==== 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 MMA
+
+var t = async_test(document.title), fsTestFileName = getFileName("readBytesFile.txt"), stringToWrite = "1234567", resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, openStreamReadSuccess, file;
+
+t.step(function () {
+    openStreamReadSuccess = t.step_func(function (fs) {
+        assert_throws(INVALID_VALUES_EXCEPTION, function () {
+            fs.readBytes();
+        }, INVALID_VALUES_EXCEPTION + " should be thrown.");
+        fs.close();
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(stringToWrite);
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html
new file mode 100755 (executable)
index 0000000..7bb6cc4
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list 
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice, 
+this list of conditions and the following disclaimer in the documentation 
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors 
+may be used to endorse or promote products derived from this work without 
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes_without_r_permission</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_readBytes_without_r_permission
+//==== LABEL Check if FileStream::readBytes() throws exception when reading from a file opened in 'w' mode
+//==== 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(document.title), testFile,
+    fsTestFileName = getFileName("readBytesWithoutR.txt"),
+    resolveSuccess, resolveError, openStreamSuccess,
+    openStreamError, expected = "IOError";
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.readBytes(2);
+        }, expected + "exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html
new file mode 100755 (executable)
index 0000000..aca39fb
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes_writeFile</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBytes_writeFile
+//==== LABEL Check if you can create a new file, write content to it, 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(document.title),
+    fsTestFileName = getFileName("fileSystem-File04.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = 7, bytes;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        bytes = fs.readBytes(256);
+        fs.close();
+        assert_equals(bytes.length, expected, "read fs failed, read " + bytes.length + ", expected " + expected);
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..0769106
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_read_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_read_TypeMismatch
+//==== LABEL Check if FileStream::read() throws an exception when given wrong type of charCount
+//==== 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 MC
+
+var t = async_test(document.title), fsTestFileName = getFileName("write03.txt"), testFile, resolveSuccess, resolveError, openStreamSuccess, openStreamError, charCount, conversionTable, i;
+
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("long", false);
+    openStreamSuccess = t.step_func(function (fs) {
+        for (i = 0; i < conversionTable.length; i++) {
+            charCount = conversionTable[i][0];
+            assert_throws(INVALID_VALUES_EXCEPTION,
+                function () {
+                    fs.read(charCount);
+                }, INVALID_VALUES_EXCEPTION + " should be thrown - charCount type mismatch.");
+        }
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html
new file mode 100755 (executable)
index 0000000..87cabfc
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_read_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_read_exist
+//==== LABEL Check if FileStream::read() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile05.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("read" in fs, "read exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html
new file mode 100755 (executable)
index 0000000..febac77
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_read_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_read_misarg
+//==== LABEL Check if FileStream::read() throws exception with missing mandatory argument
+//==== 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 MMA
+
+var t = async_test(document.title), fsTestFileName = getFileName("filesystem01.txt"), resolveSuccess, resolveError, openStreamError, openStreamSuccess, openStreamReadSuccess, file;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        assert_throws(INVALID_VALUES_EXCEPTION, function () {
+            fs.read();
+        }, INVALID_VALUES_EXCEPTION + " should be thrown - missing type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html
new file mode 100755 (executable)
index 0000000..0fb0d01
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list 
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice, 
+this list of conditions and the following disclaimer in the documentation 
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors 
+may be used to endorse or promote products derived from this work without 
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_read_without_r_permission</title>
+<meta charset="utf-8" />
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_read_without_r_permission
+//==== LABEL Check if FileStream::read() throws exception when reading from a file opened in 'w' mode
+//==== 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(document.title),
+    fsTestFileName = getFileName("write03.txt"), expected = "IOError", testFile,
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.read(fs.bytesAvailable);
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html
new file mode 100755 (executable)
index 0000000..a00c7fc
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_read_writeFile</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_read_writeFile
+//==== LABEL Check if you can create a new file, write content to it, 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(document.title),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamRSuccess, file, expected = "test write method", text,
+    fsTestFileName = getFileName("fileSystem-File05.txt");
+
+t.step(function (){
+    openStreamRSuccess = t.step_func(function (fs) {
+        text = fs.read(expected.length);
+        fs.close();
+        assert_equals(text, expected, "read fs failed, read '" + text + "', expected '" + expected + "'");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(expected);
+        fs.close();
+        file.openStream("r", openStreamRSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html
new file mode 100755 (executable)
index 0000000..5e8b08e
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_write</title>
+<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 FileStream::write() method 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamRSuccess, openStreamWSuccess,
+    openStreamError, file, text, testString = "abcde", retVal = null,
+    fsTestFileName = getFileName("GoodFile.txt");
+
+t.step(function () {
+    openStreamRSuccess = t.step_func(function (fs) {
+        text = fs.read(testString.length);
+        fs.close();
+        assert_equals(text, testString, "Invalid characters read");
+        t.done();
+    });
+    openStreamWSuccess = t.step_func(function (fs) {
+        retVal = fs.write(testString);
+        fs.close();
+        assert_equals(retVal, undefined, "incorrect returned value from write()");
+        file.openStream("r", openStreamRSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html
new file mode 100755 (executable)
index 0000000..e651370
--- /dev/null
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBase64</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBase64
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBase64() method works properly
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamWSuccess, openStreamRSuccess, retVal = null,
+    openStreamError, file, base64String = "YWJjZGVmZw==", expected = "abcdefg",
+    readString, fsTestFileName = getFileName("readBaseFile.txt");
+
+t.step(function () {
+    openStreamRSuccess = t.step_func(function (fs) {
+        readString = fs.read(expected.length);
+        fs.close();
+        assert_equals(readString, expected, "Incorrect bytes.");
+        t.done();
+    });
+    openStreamWSuccess = t.step_func(function (fs) {
+        retVal = fs.writeBase64(base64String);
+        assert_equals(retVal, undefined, "incorrect returned value from writeBase64()");
+        fs.close();
+        file.openStream("r", openStreamRSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html
new file mode 100755 (executable)
index 0000000..608d2dd
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBase64_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBase64_exist
+//==== LABEL Check if FileStream::writeBase64() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    fsTestFileName = getFileName("readBaseFile.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("writeBase64" in fs, "writeBase64 exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html
new file mode 100755 (executable)
index 0000000..5a7bf27
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBase64_without_w_permission</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBase64_without_w_permission
+//==== LABEL Check if FileStream::writeBase64() throws exception when writing to a file opened in 'r' mode
+//==== 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
+//==== TEST_CRITERIA
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    expected = "IOError",  base = "YWJjZGVmZw==",
+    t = async_test(document.title),
+    fsTestFileName = getFileName("write11.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.writeBase64(base);
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html
new file mode 100755 (executable)
index 0000000..e715ab2
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBytes</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBytes
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBytes() method works properly
+//==== 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 MMINA MR
+
+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");
+
+t.step(function () {
+    openStreamWithRSuccess = t.step_func(function (fs) {
+        bytes = fs.readBytes(file.fileSize);
+        fs.close();
+        assert_array_equals(bytes, testString, "Invalid bytes read");
+        t.done();
+    });
+
+    openStreamWithWSuccess = t.step_func(function (fs) {
+        retVal = fs.writeBytes(testString);
+        assert_equals(retVal, undefined, "incorrect returned value from writeBytes()");
+        fs.close();
+        file.openStream("r", openStreamWithRSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWithWSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..62c40c0
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBytes_byteData_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBytes_byteData_TypeMismatch
+//==== LABEL Check if FileStream::writeBytes() throws exception for wrong type of byteData
+//==== 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 MC
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError,
+    file, conversionTable, bytes, i, exceptionName = "TypeMismatchError",
+    fsTestFileName = getFileName("readBytesFiletest3.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        conversionTable = getTypeConversionExceptions("array", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            bytes = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName}, function () {
+                fs.writeBytes(bytes);
+            }, exceptionName + " should be thrown - given incorrect byteData.");
+        }
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html
new file mode 100755 (executable)
index 0000000..beac177
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBytes_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBytes_exist
+//==== LABEL Check if FileStream::writeBytes() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    fsTestFileName = getFileName("existFile09.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("writeBytes" in fs, "writeBytes exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html
new file mode 100755 (executable)
index 0000000..3915f20
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBytes_missarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBytes_missarg
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBytes() method throws exception for missing mandatory argument
+//==== 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 MMA
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    expected = "TypeMismatchError",
+    fsTestFileName = getFileName("readBytesFiletest2.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.writeBytes();
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html
new file mode 100755 (executable)
index 0000000..9d474e0
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>FileStream_writeBytes_with_additional_null_parameter</title>
+<meta charset="utf-8">
+<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_writeBytes_with_additional_null_parameter
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBytes() method properly writes the specified bytes to file
+//==== 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(document.title),
+    file, resolveSuccess, resolveError, openStreamWriteSuccess,
+    openStreamError, openStreamReadSuccess, testString = [1, 2, 3, 4, 5, 6, 7],
+    readString, fsTestFileName = getFileName("readBytesFileTestNull.txt");
+
+t.step(function () {
+    openStreamReadSuccess = t.step_func(function (stream) {
+        readString = stream.readBytes(testString.length, null);
+        stream.close();
+        assert_type(readString, "array", "type read from file");
+        assert_equals(readString.toString(), testString.toString(), "string read from file");
+        t.done();
+    });
+
+    openStreamWriteSuccess = t.step_func(function (stream) {
+        stream.writeBytes(testString, null);
+        stream.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWriteSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError);
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html
new file mode 100755 (executable)
index 0000000..42def46
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBytes_without_w_permission</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBytes_without_w_permission
+//==== LABEL Check if FileStream::writeBytes() throws exception when writing to a file opened in 'r' mode
+//==== 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    bytes = new Array(104, 101, 108), expected = "IOError",
+    fsTestFileName = getFileName("writeBytesWOPerm.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.writeBytes(bytes);
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html
new file mode 100755 (executable)
index 0000000..045d4ad
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_write_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_write_exist
+//==== LABEL Check if FileStream::write() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    fsTestFileName = getFileName("existFile08.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("write" in fs, "write exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html
new file mode 100755 (executable)
index 0000000..1c4751f
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_write_without_w_permission</title>
+<meta charset="utf-8" />
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_write_without_w_permission
+//==== LABEL Check if FileStream::write() throws exception when writing to a file opened in 'r' mode
+//==== 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(document.title),
+    fsTestFileName = getFileName("write09.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    expected = "IOError";
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.write("test");
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..930c970
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStringSuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStringSuccessCallback_notexist
+//==== LABEL Interface FileStringSuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..7285ded
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileStringSuccessCallback_onsuccess</title>
+<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 FileStringSuccessCallback::onsuccess is called with valid argument
+//==== 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(document.title), stringToWrite = "HelloWorld",
+    resolveSuccess, resolveError, readAsTextSuccess, openStreamSuccess, file,
+    fsTestFileName = getFileName("filesystem.txt");
+
+t.step(function () {
+    readAsTextSuccess = t.step_func(function (fileStr) {
+        assert_type(fileStr, "string", "incorrect type of passed argument");
+        assert_equals(fileStr, stringToWrite, "incorrect value of passed argument");
+        t.done();
+    });
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(stringToWrite);
+        fs.close();
+        file.readAsText(readAsTextSuccess);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..e619776
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileSuccessCallback_notexist
+//==== LABEL Interface FileSuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..2988c64
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<meta charset="utf-8"/>
+<title>FileSuccessCallback_onsuccess</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileSuccessCallback_onsuccess
+//==== LABEL Test whether FileSuccessCallback::onsuccess is called with valid argument
+//==== 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_type(dir, "object", "incorrect received argument");
+        checkOwnProperties(dir);
+        assert_equals(dir.path, "images", "incorrect received File object");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html
new file mode 100755 (executable)
index 0000000..80043cc
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method can be called with only mandatory argument
+//==== 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 MMINA MR
+
+var t = async_test(document.title),
+    resolveSuccess, retValue = null;
+t.step(function () {
+    resolveSuccess = t.step_func(function (storage) {
+        assert_not_equals(storage, null, "Null check");
+        assert_equals(retValue, undefined, "resolve returns wrong value");
+
+        t.done();
+    });
+
+    retValue = tizen.filesystem.resolve("documents", resolveSuccess);
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html
new file mode 100755 (executable)
index 0000000..f00027f
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_camera</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_camera
+//==== LABEL Check if FileSystemManager::resolve() method works for camera virtual root
+//==== 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
+//==== PRIORITY P2
+//==== TEST_CRITERIA MOA
+
+var expected = "camera", resolveSuccess, resolveError,
+    t = async_test(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path , expected, "resolve camera to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("camera", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html
new file mode 100755 (executable)
index 0000000..8ba84b0
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_documents</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root
+//==== 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    t = async_test(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve documents to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html
new file mode 100755 (executable)
index 0000000..e4231b9
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_downloads</title>
+<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 FileSystemManager::resolve() method works for Downloads virtual root
+//==== 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html
new file mode 100755 (executable)
index 0000000..667059e
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_errorCallback_invoked</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_errorCallback_invoked
+//==== LABEL Check if errorcallback of FileSystemManager::resolve() method can be invoked when location is wrong type
+//==== 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(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("resolveSuccess was invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        t.done();
+    });
+
+    tizen.filesystem.resolve(undefined, resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html
new file mode 100755 (executable)
index 0000000..d41aa19
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8"/>
+<title>FileSystemManager_resolve_error_invoked</title>
+<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: FileSystemManager_resolve_error_invoked
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument (absolute)
+//==== 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(document.title),
+    resolveSuccess, resolveError;
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "NotFoundError", "incorrect error was thrown");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("/notExistingDirectory", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html
new file mode 100755 (executable)
index 0000000..9a055cb
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_exist</title>
+<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_exist
+//==== PRIORITY P0
+//==== LABEL Check if FileSystemManager::resolve() method exists
+//==== 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 ME
+
+test(function () {
+    assert_true("resolve" in tizen.filesystem, "FileSystemManager has resolve method");
+    check_method_exists(tizen.filesystem, "resolve");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html
new file mode 100755 (executable)
index 0000000..8d4198a
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_images</title>
+<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_images
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Images virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve images to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html
new file mode 100755 (executable)
index 0000000..631310a
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_location_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_location_invalid
+//==== LABEL Check if FileSystemManager::resolve() method work for 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(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("resolveSuccess was invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        t.done();
+    });
+
+    tizen.filesystem.resolve("", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html
new file mode 100755 (executable)
index 0000000..60ce929
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_missarg</title>
+<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_missarg
+//==== LABEL Check if FileSystemManager::resolve() throws exception for missing mandatory argument
+//==== PRIORITY P0
+//==== 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 MMA
+
+test(function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+        tizen.filesystem.resolve();
+    }, "Method should throw an exception");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..7de0648
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_TypeMismatch</title>
+<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_TypeMismatch
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong value of mode argument
+//==== 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 MC
+
+var t = async_test(document.title),
+    conversionTable, resolveSuccess, resolveError, mode, exceptionName, i;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("resolveSuccess was invoked");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    conversionTable = getTypeConversionExceptions("enum", true);
+    for (i = 0; i < conversionTable.length; i++) {
+        mode = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+
+        assert_throws({name: exceptionName},
+            function () {
+                tizen.filesystem.resolve("images", resolveSuccess, resolveError, mode);
+            }, exceptionName + " should be thrown - given incorrect errorCallback.");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html
new file mode 100755 (executable)
index 0000000..119bf39
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_a</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root and 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    t = async_test(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve a location with 'a' mode");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "a");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html
new file mode 100755 (executable)
index 0000000..9428893
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_r</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root and 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
+//==== TEST_CRITERIA MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "r");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html
new file mode 100755 (executable)
index 0000000..a4c808f
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_w</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root and 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "w");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html
new file mode 100755 (executable)
index 0000000..fc2ea31
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_music</title>
+<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 FileSystemManager::resolve() method works for Music virtual root
+//==== 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..27d5f03
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onerror_TypeMismatch</title>
+<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_onerror_TypeMismatch
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong type of onerror
+//==== 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 MC
+
+var t = async_test(document.title), i,
+    resolveSuccess, resolveError, exceptionName, conversionTable;
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("functionObject", true);
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    for(i = 0; i < conversionTable.length; i++) {
+        resolveError = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+
+        assert_throws({name: exceptionName},
+            function () {
+                tizen.filesystem.resolve("images", resolveSuccess, resolveError);
+            }, exceptionName + " should be thrown - given incorrect errorCallback.");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..b934d2b
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onerror_invalid_cb</title>
+<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_onerror_invalid_cb
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong onerror
+//==== 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 MTCB
+
+var t = async_test(document.title),
+    resolveError, resolveSuccess, conversionTable;
+
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("functionObject", true);
+    resolveSuccess = t.step_func(function (storage) {
+    });
+    resolveError = {
+        onerror: t.step_func(function (){
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    assert_throws(TYPE_MISMATCH_EXCEPTION,
+        function () {
+            tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+        }, "given incorrect errorCallback");
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..dad41ab
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong type of onsuccess
+//==== 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 MC
+
+var t = async_test(document.title), i,
+    resolveSuccess, resolveError, exceptionName, conversionTable;
+
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("functionObject", false);
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    for (i = 0; i < conversionTable.length; i++) {
+        resolveSuccess = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+
+        assert_throws({name: exceptionName},
+            function () {
+                tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+            }, exceptionName + " should be thrown - given incorrect onSuccess.");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..e4bc6dd
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onsuccess_invalid_cb</title>
+<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_onsuccess_invalid_cb
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong onsuccess
+//==== 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 MTCB
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = {
+        onsuccess: t.step_func(function (){
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    assert_throws(TYPE_MISMATCH_EXCEPTION,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+        }, "given incorrect error callback");
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html
new file mode 100755 (executable)
index 0000000..1d1004b
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones</title>
+<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_ringtones
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Ringtones virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve ringtones to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "r");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html
new file mode 100755 (executable)
index 0000000..1e4d3f4
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones_invalid_mode_a</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_a
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "a");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html
new file mode 100755 (executable)
index 0000000..1b28b82
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones_invalid_mode_rw</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_rw
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "rw");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html
new file mode 100755 (executable)
index 0000000..e0dd35e
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones_invalid_mode_w</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_w
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "w");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html
new file mode 100755 (executable)
index 0000000..f83f6f1
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_videos</title>
+<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 FileSystemManager::resolve() method works for Videos virtual root
+//==== 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 MOA
+
+
+var expected = "videos", resolveSuccess, resolveError,
+    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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html
new file mode 100755 (executable)
index 0000000..3aa48a8
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt-package_invalid_mode_a</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_a
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "a");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html
new file mode 100755 (executable)
index 0000000..0250e0b
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt-package_invalid_mode_rw</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_rw
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "rw");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html
new file mode 100755 (executable)
index 0000000..be5b218
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt-package_invalid_mode_w</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_w
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "w");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html
new file mode 100755 (executable)
index 0000000..8bbd819
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt_package</title>
+<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_wgt_package
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for 'wgt-package' virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve wgt-package to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "r");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html
new file mode 100755 (executable)
index 0000000..4a87c7f
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt_private</title>
+<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_wgt_private
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for 'wgt-private' virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve wgt-private to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("wgt-private", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html
new file mode 100755 (executable)
index 0000000..02e1736
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt_private_tmp</title>
+<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_wgt_private_tmp
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for 'wgt-private-tmp' virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve wgt-private-tmp to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("wgt-private-tmp", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html
new file mode 100755 (executable)
index 0000000..eb937bc
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_with_mode</title>
+<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_with_mode
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Images virtual root with mode 'rw'
+//==== 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 t = async_test(document.title),
+    resolveSuccess, resolveError, expected;
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        expected="images";
+        assert_equals(dir.path, expected, "resolve a location to a file handle");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html
new file mode 100755 (executable)
index 0000000..aa6d521
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_with_onerror</title>
+<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_with_onerror
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method can be called with onerror argument
+//==== 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 t = async_test(document.title),
+    resolveSuccess, resolveError;
+t.step(function (){
+    resolveSuccess = t.step_func(function (storage) {
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html
new file mode 100755 (executable)
index 0000000..69fcf5c
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>FileSystemManager_resolve_works_correctly</title>
+<meta charset="utf-8">
+<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: FileSystemManager_resolve_works_correctly
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Documents and onsuccess is invoked with proper argument
+//==== 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 t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+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");
+        assert_false(dir.readOnly, "value of readOnly should be equal to false");
+        assert_true("isDirectory" in dir, "isDirectory don't exist in object");
+        assert_true(dir.isDirectory, "value of isDirectory should be equal to true");
+        assert_true("isFile" in dir, "isFile don't exist in object");
+        assert_false(dir.isFile, "value of isFile should be equal to true");
+        assert_true("created" in dir, "created don't exist in object");
+        assert_true("modified" in dir, "modified don't exist in object");
+        assert_true("name" in dir, "name don't exist in object");
+        assert_equals(dir.name, "", "value of name should be equal to empty string");
+        assert_true("path" in dir, "path don't exist in object");
+        assert_equals(dir.path, "documents", "value of path should be equal to string 'documents'");
+        assert_true("fullPath" in dir, "fullPath don't exist in object");
+        assert_equals(dir.fullPath, "documents", "value of fullPath should be equal to string 'documents'");
+        assert_true("fileSize" in dir, "fileSize don't exist in object");
+        assert_type(dir.fileSize, "undefined", "fileSize should be undefined");
+        assert_true("length" in dir, "length don't exist in object");
+        assert_type(dir.length, "long", "type of length should be number");
+        assert_true(dir.length >= 0, "value of length should be >= 0");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html
new file mode 100755 (executable)
index 0000000..45304fe
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>File_copyTo</title>
+<meta charset="utf-8"/>
+<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: File_copyTo
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() method ends successfully (copy file from documents/ to images/)
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "images/" + fsTestFile.name, true);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html
new file mode 100755 (executable)
index 0000000..a244b98
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_copyTo_destinationFilePath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_copyTo_destinationFilePath_invalid
+//==== LABEL Check if copyTo method called with invalid destinationFilePath does what it should
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName, copyToFileSuccess, copyToFileError;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystemtyh.txt");
+    copytoFileSuccess = t.step_func(function () {
+        assert_unreached("copyTo: should invoke error callback");
+    });
+
+    copytoFileError = t.step_func(function (error) {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "", true, copytoFileSuccess, copytoFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html
new file mode 100755 (executable)
index 0000000..755b0c1
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_overwrite_false
+//==== LABEL Check if error callback is invoked when copy a directory to another location where directory of that name already exists (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 resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    fsTestDir2, fsTestDirName2, fsTestSubDir2, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+    fsTestDirName2 = getDirName("filesystem2");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir2 = dir.createDirectory(fsTestDirName2);
+        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html
new file mode 100755 (executable)
index 0000000..1ce89a5
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_overwrite_true
+//==== LABEL Check if you can copy a directory to another location where directory of that name already exists (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 MOA
+
+
+var resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    fsTestDir2, fsTestDirName2, fsTestSubDir2, copyError,
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+    fsTestDirName2 = getDirName("filesystem2");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir2 = dir.createDirectory(fsTestDirName2);
+        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..564379c
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_samedir_samename_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_samedir_samename_overwrite_false
+//==== LABEL Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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 resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..aa5b8c4
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_samedir_samename_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_samedir_samename_overwrite_true
+//==== LABEL Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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 resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    t = async_test(document.title), copyError, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html
new file mode 100755 (executable)
index 0000000..8a6fb59
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_copyTo_exist
+//==== LABEL Check if File::copyTo() method exists
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("copyTo" in dir, "method copyTo exists");
+        check_method_exists(dir, "copyTo");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html
new file mode 100755 (executable)
index 0000000..366d9d6
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_overwrite_false
+//==== LABEL Check if error callback is invoked when copy a file to another directory where a file of that name already exists (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(document.title), expected = "IOError",
+    resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir,
+    fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestSubDirName1 = getFileName("filesystem1sub");
+    fsTestSubDirName2 = getFileName("filesystem2sub");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
+        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
+        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
+        fsTestSubDir2.createFile(fsTestFileName);
+        fsTestSubDir1.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html
new file mode 100755 (executable)
index 0000000..b5ed0fa
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_overwrite_true
+//==== LABEL Check if you can copy a file to another directory where a file of that name already exists (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 MOA
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, copyError,
+    fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestSubDirName1 = getFileName("filesystem1sub");
+    fsTestSubDirName2 = getFileName("filesystem2sub");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
+        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
+        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
+        fsTestSubDir2.createFile(fsTestFileName);
+        fsTestSubDir1.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..ee9fb22
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_samedir_samename_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_samedir_samename_overwrite_false
+//==== LABEL Check if error callback is invoked when copy a file to the same location (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(document.title), expectedError = "IOError",
+    resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestFile.fullPath, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..3ea0fe3
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors
+may be used to endorse or promote products derived from this work without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_samedir_samename_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_samedir_samename_overwrite_true
+//==== LABEL Check if error callback is invoked when copy a file to the same location (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(document.title), resolveSuccess, copyError,
+    resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestFile.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..5d29a59
--- /dev/null
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_copyTo_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_copyTo_onerror_TypeMismatch
+//==== LABEL Check if File::copyTo() throws exception when type of errorCallback is wrong
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, copyError, i, copySuccess, fsTestFileName,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            copyError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..414de51
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<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: File_copyTo_onerror_invalid_cb
+//==== LABEL Check if File::copyTo() throws exception for wrong errorCallback
+//==== 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(document.title), resolveSuccess, resolveError,
+    copySuccess, copyError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copyError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..31f4b86
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_copyTo_onsuccess_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_copyTo_onsuccess_TypeMismatch
+//==== LABEL Check if File::copyTo() throws exception when type of successCallback is wrong
+//==== 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(document.title), copySuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            copySuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..b1059b6
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>File_copyTo_onsuccess_invalid_cb</title>
+<meta charset="utf-8"/>
+<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_copyTo_onsuccess_invalid_cb
+//==== LABEL Check if File::copyTo() throws exception for wrong successCallback
+//==== 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(document.title),
+    resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html
new file mode 100755 (executable)
index 0000000..bc5cf5b
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_copyTo_originFilePath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_copyTo_originFilePath_invalid
+//==== LABEL Check if copyTo method called with invalid originFilePath does what it should
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName, copyToFileSuccess, copyToFileError;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    copytoFileSuccess = t.step_func(function () {
+        assert_unreached("copyTo:should invoke error callback");
+    });
+
+    copytoFileError = t.step_func(function (error) {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo("", "images/" + fsTestFile.name, true, copytoFileSuccess, copytoFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html
new file mode 100755 (executable)
index 0000000..6675bc9
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_file_handle</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_with_file_handle
+//==== LABEL Check if File::copyTo() calls errorCallback when called for object representing file, not a directory
+//==== 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(document.title);
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.copyTo(fsTestFile.fullPath, fsTestDir.fullPath, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html
new file mode 100755 (executable)
index 0000000..cb89b69
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_null_success_and_error_callbacks</title>
+<meta charset="utf-8">
+<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_copyTo_with_null_success_and_error_callbacks
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() can be invoked with null successCallback and errorCallback
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName1, fsTestFileName2,
+    copyPath;
+
+t.step(function () {
+
+    fsTestFileName1 =  getFileName("filesystem1.txt");
+    fsTestFileName2 =  getFileName("filesystem2.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName1);
+        copyPath = dir.fullPath + "/" + fsTestFileName2;
+        dir.copyTo(fsTestFile.fullPath, copyPath, false, null, null);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html
new file mode 100755 (executable)
index 0000000..27b30d7
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_onerror</title>
+<meta charset="utf-8"/>
+<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_copyTo_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() calls errorCallback (nonexisting originFilePath)
+//==== 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(document.title),
+    resolveSuccess, resolveError, copyToSuccess, copyToError, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("notexistingfile.txt");
+
+    copyToError = t.step_func(function () {
+        t.done();
+    });
+
+    copyToSuccess = t.step_func(function () {
+        assert_unreached("copyToError callback should be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.copyTo(fsTestFileName, "images/" + fsTestFileName, true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..fc28b89
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_onsuccess</title>
+<meta charset="utf-8"/>
+<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_copyTo_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() with onSuccess creates a file copy
+//==== 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(document.title), resolveSuccess, resolveError, resolveSuccess2, resolveError2,
+    fsTestFileName, fsTestFile, copyToSuccess, retVal = null;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess2 = t.step_func(function (dir) {
+        fsTestFile = dir.resolve(fsTestFileName);
+        assert_equals(fsTestFile.name, fsTestFileName, "file wasn't copied properly");
+        assert_true(fsTestFile.isFile, "file wasn't copied properly");
+        t.done();
+    });
+
+    resolveError2 = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        tizen.filesystem.resolve("images", resolveSuccess2, resolveError2, "rw");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.copyTo(fsTestFile.fullPath, "images/" + fsTestFile.name, true, copyToSuccess);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html
new file mode 100755 (executable)
index 0000000..004bfe5
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+</head>
+<title>File_copyTo_writeFile_newName</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_newName
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new empty file, write content into it, then request a copy of it (different name, same directory)
+//==== 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, copySuccess, copyError, openStreamSuccess, openStreamError,
+    fsTestFileName, fsTestFileName2, fsTestFile, fsTestDirName, fsTestDir,
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+    fsTestDirName = getDirName("filesystem");
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFileName2, true, copySuccess, copyError);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html
new file mode 100755 (executable)
index 0000000..7344b0c
--- /dev/null
@@ -0,0 +1,102 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_writeFile_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_overwrite_false
+//==== PRIORITY P1
+//==== LABEL Check if when create a new empty file, write content into it, then request a copy of it over existing file invokes errorCallback (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(document.title), resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, copyToSuccess, copyToError, fsTestFileName,
+    fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError", mainDir;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestDirName = getDirName("filesystem");
+
+    copyToSuccess = t.step_func(function () {
+        assert_unreached("copyToSuccess callback shouldn't be invoked");
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        mainDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name, false, copyToSuccess, copyToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        mainDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html
new file mode 100755 (executable)
index 0000000..cdbcb35
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_writeFile_subdir</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_subdir
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new empty file, write content into it, then request a copy of it (different name, different directory)
+//==== 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(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestDirName = getDirName("filesystem");
+    fsTestSubDirName = getDirName("filesystemSub");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestSubDir.fullPath + "/" + fsTestFile.name, true, copySuccess, copyError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir = fsTestDir.createDirectory(fsTestSubDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html
new file mode 100755 (executable)
index 0000000..19c100b
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createDirectory</title>
+<meta charset="utf-8"/>
+<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_createDirectory
+//==== PRIORITY P1
+//==== LABEL Check if File::createDirectory() method
+//==== 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(document.title),
+    resolveSuccess, resolveError, fsTestDir, fsTestDirName;
+
+t.step(function () {
+    fsTestDirName = getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        assert_type(fsTestDir, "object", "directory wasn't created properly");
+        checkOwnProperties(fsTestDir);
+        assert_equals(fsTestDir.name, fsTestDirName, "directory wasn't created properly");
+        assert_true(fsTestDir.isDirectory, "directory wasn't created properly");
+        fsTestDir = dir.resolve(fsTestDirName);
+        assert_equals(fsTestDir.name, fsTestDirName, "directory wasn't created properly");
+        assert_true(fsTestDir.isDirectory, "directory wasn't created properly");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html
new file mode 100755 (executable)
index 0000000..abc5b61
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_createDirectory_dirPath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_createDirectory_dirPath_invalid
+//==== LABEL Check if File::createDirectory() throws exception when dirPath is invalid.
+//==== 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
+//==== PRIORITY: P2
+//==== TEST_CRITERIA MC
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDir;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(INVALID_VALUES_EXCEPTION,
+            function () {
+                fsTestDir = dir.createDirectory("");
+            }, INVALID_VALUES_EXCEPTION + " should be thrown - invalid dirPath ");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html
new file mode 100755 (executable)
index 0000000..1fc1fb1
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createDirectory_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_createDirectory_exist
+//==== LABEL Check if File::createDirectory() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("createDirectory" in dir, "method createDirectory exists");
+        check_method_exists(dir, "createDirectory");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("Error: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html
new file mode 100755 (executable)
index 0000000..d50af04
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createDirectory_level2</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_createDirectory_level2
+//==== LABEL Check if File::createDirectory() works for non-existing intermediate directory (creates 2 levels of directories)
+//==== 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(document.title), resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir,
+    fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName;
+
+t.step(function (){
+
+    fsTestDirName = getDirName("filesystem");
+    fsTestSubDirName = getDirName("filesystemSub");
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length === 1, "Subdirectory not found.");
+        assert_equals(files[0].name, fsTestSubDirName, "Unexpected subdirectory name: " + files[0].name);
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestSubDir = dir.createDirectory(fsTestDirName + "/" + fsTestSubDirName);
+        fsTestDir = dir.resolve(fsTestDirName);
+        fsTestDir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html
new file mode 100755 (executable)
index 0000000..ed3806d
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_createDirectory_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_createDirectory_misarg
+//==== LABEL Check if createDirectory method throws exception with missing non-optional argument
+//==== 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
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(INVALID_VALUES_EXCEPTION,
+            function () {
+                dir.createDirectory();
+            }, INVALID_VALUES_EXCEPTION + " should be thrown");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html
new file mode 100755 (executable)
index 0000000..84ff33c
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createFile</title>
+<meta charset="utf-8"/>
+<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_createFile
+//==== PRIORITY P1
+//==== LABEL Check if File::createFile() method 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(document.title),
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_type(fsTestFile, "object", "file wasn't created properly");
+        checkOwnProperties(fsTestFile);
+        assert_equals(fsTestFile.name, fsTestFileName, "file wasn't created properly");
+        assert_true(fsTestFile.isFile, "file wasn't created properly");
+        fsTestFile = dir.resolve(fsTestFileName);
+        assert_equals(fsTestFile.name, fsTestFileName, "file wasn't created properly");
+        assert_true(fsTestFile.isFile, "file wasn't created properly");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html
new file mode 100755 (executable)
index 0000000..25317f5
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createFile_exist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_createFile_exist
+//==== LABEL Check if File::createFile() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("createFile" in dir, "method createFile exists");
+        check_method_exists(dir, "createFile");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html
new file mode 100755 (executable)
index 0000000..6adafa6
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createFile_existing_file</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_createFile_existing_file
+//==== LABEL Check if File::createFile() throws exception when the file already exists
+//==== 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(document.title), expected = "IOError",
+    resolveSuccess, resolveError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createFile(fsTestFileName);
+        assert_throws({name: expected}, function () {
+                dir.createFile(fsTestFileName);
+            }, expected + " should be thrown");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html
new file mode 100755 (executable)
index 0000000..e8e702f
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_createFile_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_createFile_misarg
+//==== LABEL Check if File::createFile() with missing mandatory argument throws exception
+//==== 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 MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(INVALID_VALUES_EXCEPTION, function () {
+            dir.createFile();
+        }, INVALID_VALUES_EXCEPTION + " should be thrown");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html
new file mode 100755 (executable)
index 0000000..21b03e0
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>File_created_attribute</title>
+<meta charset="utf-8"/>
+<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_created_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::created attribute 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(document.title),
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        date = new Date();
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "created", "File does not own created property.");
+        assert_true("created" in fsTestFile, "attribute created doesn't exist in provided object.");
+        assert_type(fsTestFile.created, "Date", "Type of created is different.");
+        tmp = fsTestFile.created;
+        fsTestFile.created = new Date();
+        assert_equals(tmp.getTime(), fsTestFile.created.getTime(), "created can be modified.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html
new file mode 100755 (executable)
index 0000000..cfb85d4
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method can be called
+//==== 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(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+
+t.step(function (){
+
+    fsTestDirName =  getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html
new file mode 100755 (executable)
index 0000000..fc2e6b1
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteDirectory_createDir_camera</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_deleteDirectory_createDir_camera
+//==== LABEL Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it
+//==== 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
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA
+
+var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, cameraDir,
+    t = async_test(document.title);
+
+t.step(function (){
+    fsTestDirName = getDirName("filesystemtest");
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            cameraDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        cameraDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("camera", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html
new file mode 100755 (executable)
index 0000000..b0c5f1c
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_documents</title>
+<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_deleteDirectory_createDir_documents
+//==== PRIORITY P1
+//==== LABEL Check if File::createDirectory() creates a new directory in Documents and File::deleteDirectory() removes it
+//==== 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(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            documentsDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html
new file mode 100755 (executable)
index 0000000..7284ebc
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_downloads</title>
+<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_deleteDirectory_createDir_downloads
+//==== PRIORITY P1
+//==== LABEL Check if File::createDirectory() creates a new directory in Downloads and File::deleteDirectory() removes it
+//==== 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(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            downloadsDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        downloadsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html
new file mode 100755 (executable)
index 0000000..ddab92a
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_images</title>
+<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_deleteDirectory_createDir_images
+//==== LABEL Check if File::createDirectory() creates a new directory in Images and File::deleteDirectory() removes it
+//==== 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, imagesDir,
+    t = async_test(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            imagesDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        imagesDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html
new file mode 100755 (executable)
index 0000000..559eae7
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory_createDir_music</title>
+<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_deleteDirectory_createDir_music
+//==== LABEL Check if File::createDirectory() creates a new directory in Music and File::deleteDirectory() removes it
+//==== 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, musicDir,
+    t = async_test(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            musicDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        musicDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html
new file mode 100755 (executable)
index 0000000..31ccc2e
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_videos</title>
+<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_deleteDirectory_createDir_videos
+//==== LABEL Check if File::createDirectory() creates a new directory in Videos and File::deleteDirectory() removes it
+//==== 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(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            videosDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        videosDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html
new file mode 100755 (executable)
index 0000000..a47ddea
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_exist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_deleteDirectory_exist
+//==== LABEL Check if File::deleteDirectory() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("deleteDirectory" in dir, "method deleteDirectory exists");
+        check_method_exists(dir, "deleteDirectory");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html
new file mode 100755 (executable)
index 0000000..744e86d
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteDirectory_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_deleteDirectory_misarg
+//==== LABEL Check if File::deleteDirectory() throws exception with missing mandatory argument
+//==== 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
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDirName;
+
+t.step(function () {
+    fsTestDirName = getDirName("filesystem");
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createDirectory(fsTestDirName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+            dir.deleteDirectory();
+        }, TYPE_MISMATCH_EXCEPTION + " should be thrown.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..c454485
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onerror_TypeMismatch
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, deleteError, i, deleteSuccess, fsTestDirName, fsTestDir,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteDirectory(fsTestDir.fullPath, deleteSuccess, deleteError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..65af4fe
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onerror_invalid_cb
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName, fsTestDir;
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteDirectoryError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    deleteDirectorySuccess = t.step_func(function () {
+        assert_unreached("deleteDirectorySuccess should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteDirectory(fsTestDir.fullPath, deleteDirectorySuccess, deleteDirectoryError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..51d14b3
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_onsuccess_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onsuccess_TypeMismatch
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong type of onsuccess
+//==== 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(document.title), deleteSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestDirName, fsTestDir;
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..c206633
--- /dev/null
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_onsuccess_invalid_cb</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onsuccess_invalid_cb
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, deleteSuccess, fsTestDirName, fsTestDir;
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html
new file mode 100755 (executable)
index 0000000..a51e1fd
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_empty_path</title>
+<meta charset="utf-8">
+<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_deleteDirectory_with_empty_path
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty
+//==== 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(document.title), resolveError, resolveSuccess, deleteDirectoryError, deleteDirectorySuccess,
+    expected = "NotFoundError";
+
+t.step(function () {
+
+    deleteDirectorySuccess = t.step_func(function () {
+        assert_unreached("deleteDirectorySuccess: deleteDirectory() should invoke error callback");
+    });
+
+    deleteDirectoryError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (root) {
+        root.deleteDirectory("", false, deleteDirectorySuccess, deleteDirectoryError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve_root_location() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html
new file mode 100755 (executable)
index 0000000..fc20968
--- /dev/null
@@ -0,0 +1,92 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_file_handle</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_deleteDirectory_with_file_handle
+//==== LABEL Check if File::deleteDirectory() calls errorCallback when called on File object representing file, not a directory
+//==== 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 MERRCB
+
+
+var resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestFileName, fsTestFile, documentsDir,
+    expected = "InvalidValuesError", t = async_test(document.title);
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    deleteSuccess = t.step_func(function () {
+        assert_unreached("delete a dir with file handle should throw an exception");
+    });
+
+    deleteError = t.step_func(function (error) {
+        fsTestFile = documentsDir.resolve(fsTestFileName);
+        assert_equals(fsTestFile.name, fsTestFileName, "file was deleted");
+        assert_true(fsTestFile.isFile, "file was deleted");
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteDirectory(fsTestFile.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html
new file mode 100755 (executable)
index 0000000..ebbbd01
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_null_callbacks</title>
+<meta charset="utf-8">
+<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_deleteDirectory_with_null_callbacks
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method can be called with null onsuccess and onerror
+//==== 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(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+t.step(function () {
+
+    fsTestDirName =  getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, null, null);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html
new file mode 100755 (executable)
index 0000000..0b43347
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_onerror</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_deleteDirectory_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method calls onerror properly (when removing non-existing 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 MERRCB
+
+var resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName,
+    expected = "NotFoundError", t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystemNoExist");
+
+    deleteDirectorySuccess = t.step_func(function () {
+        assert_unreached("deleteDirectorySuccess: deleteDirectoryError should be invoked");
+    });
+
+    deleteDirectoryError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.deleteDirectory(fsTestDirName, true, deleteDirectorySuccess, deleteDirectoryError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..b8d69f9
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_onsuccess</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method with 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(document.title), retVal = null,
+    resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestDirName, fsTestDir, documentsDir;
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            documentsDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        retVal = dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html
new file mode 100755 (executable)
index 0000000..c20d7d1
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method 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(document.title), fsTestFileName, fsTestFile, i, retVal = null,
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir, deleteSuccess;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].name === fsTestFileName) {
+                assert_unreached("File deletion failed");
+            }
+        }
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteSuccess = t.step_func(function () {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        documentsDir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.deleteFile(fsTestFile.fullPath, deleteSuccess);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html
new file mode 100755 (executable)
index 0000000..1305c21
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_copyFile_camera</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_deleteFile_copyFile_camera
+//==== LABEL Check if you can create a new file in Camera, copy it into Downloads, then request removing it
+//==== 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
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA
+
+var t = async_test(document.title), fsTestFileName, fsTestFile,
+    cameraDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.mp3");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        cameraDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        cameraDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("camera", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html
new file mode 100755 (executable)
index 0000000..7437c6d
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_downloads</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Document, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html
new file mode 100755 (executable)
index 0000000..f4af07c
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_images</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Images, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.png");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html
new file mode 100755 (executable)
index 0000000..a518f3d
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_music</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Music, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.mp3");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html
new file mode 100755 (executable)
index 0000000..1bbb8e5
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_videos</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Video, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.mp3");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html
new file mode 100755 (executable)
index 0000000..b4fd498
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_createFile</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Documents, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html
new file mode 100755 (executable)
index 0000000..4168d1a
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_exist</title>
+<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_exist
+//==== LABEL Check if File::deleteFile() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("deleteFile" in dir, "method deleteFile exists");
+        check_method_exists(dir, "deleteFile");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html
new file mode 100755 (executable)
index 0000000..e547cec
--- /dev/null
@@ -0,0 +1,105 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listDocumentsFiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Documents, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html
new file mode 100755 (executable)
index 0000000..4ca52d0
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listDownloadsFiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Downloads, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html
new file mode 100755 (executable)
index 0000000..77780ed
--- /dev/null
@@ -0,0 +1,108 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listImagsFiles</title>
+<meta charset="utf-8" />
+<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_listImagsFiles
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Images, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem");
+    fsTestDirName2 = getDirName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html
new file mode 100755 (executable)
index 0000000..0a6a808
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listMusicFiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Music, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html
new file mode 100755 (executable)
index 0000000..45cc009
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listVideosfiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Videos, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..2949b54
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onerror_TypeMismatch</title>
+<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_onerror_TypeMismatch
+//==== LABEL Check if File::deleteFile() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, deleteFileError, i, deleteFileSuccess,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteFileError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteFile("verybadfile.txt", deleteFileSuccess, deleteFileError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..b360486
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onerror_invalid_cb</title>
+<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_onerror_invalid_cb
+//==== LABEL Check if File::deleteFile() throws exception for wrong onerror
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createDirectory(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..e801f60
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== LABEL Check if File::deleteFile() throws exception for wrong type of onsuccess
+//==== 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(document.title), deleteFileSuccess, fsTestFileName,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteFileSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..99b28a1
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onsuccess_invalid_cb</title>
+<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_onsuccess_invalid_cb
+//==== LABEL Check if File::deleteFile() throws exception for wrong onsuccess
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html
new file mode 100755 (executable)
index 0000000..4473670
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_dir_handle</title>
+<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_with_dir_handle
+//==== LABEL Check if File::deleteFile() calls errorCallback when called on File object representing file, not a directory
+//==== 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(document.title), fsTestDirName, fsTestDir,
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, expected = "InvalidValuesError",
+    documentsDir;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("There is no exception thrown when delete a file with file handle");
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir= dir.createDirectory(fsTestDirName);
+        dir.deleteFile(fsTestDir.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html
new file mode 100755 (executable)
index 0000000..6c87db3
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_nonexist</title>
+<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_with_nonexist
+//==== LABEL Check if File::deleteFile() calls errorCallback when given filePath does 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(document.title),
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("This function should not be invoked");
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "should throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.deleteFile("documents/" + fsTestFileName, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html
new file mode 100755 (executable)
index 0000000..f09e44d
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_with_onerror</title>
+<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_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method calls errorCallback properly (when removing non-existing 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 MERRCB
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, deleteFileError, deleteFileSuccess, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    deleteFileError = t.step_func(function () {
+        t.done();
+    });
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("onerroroptional callback should be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.deleteFile("documents/" + fsTestFileName, deleteFileSuccess, deleteFileError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..172f452
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_with_onsuccess</title>
+<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_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method calls given onsuccess callback
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        try {
+            dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
+        } catch (e) {
+            assert_unreached("deleteFile() exeption: name: " + e.name + ", msg: " + e.message);
+        }
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html
new file mode 100755 (executable)
index 0000000..06a6483
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_vaild_callbacks</title>
+<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_with_vaild_callbacks
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() can be called with onsuccess and onerror
+//==== 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(document.title),
+    deleteFileSuccess, deleteFileError, documentsDir,
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("delete() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html
new file mode 100755 (executable)
index 0000000..57e12f4
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_valid_filePath</title>
+<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_with_valid_filePath
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method can be called without onsuccess
+//==== 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 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);
+        dir.deleteFile(fsTestFile.fullPath);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html
new file mode 100755 (executable)
index 0000000..1fe4583
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_extend</title>
+<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_extend
+//==== LABEL Check if instance of File can be extended with new property
+//==== 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        check_extensibility(dir);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html
new file mode 100755 (executable)
index 0000000..aea4377
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_fileSize_attribute</title>
+<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_fileSize_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::fileSize attribute 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "fileSize", "File does not own fileSize property.");
+        check_readonly(fsTestFile, "fileSize", 0, "unsigned long long", fsTestFile.fileSize + 512);
+        assert_equals(dir.fileSize, undefined, "fileSize of directory should be undefined");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html
new file mode 100755 (executable)
index 0000000..d43a3f3
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_fullPath_attribute</title>
+<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_fullPath_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::fullPath attribute 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "fullPath", "File does not own fullPath property.");
+        check_readonly(fsTestFile, "fullPath", fsTestFile.fullPath, "string", "images");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html
new file mode 100755 (executable)
index 0000000..ea239aa
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_isDirectory_attribute</title>
+<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_isDirectory_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::isDirectory attribute 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "isDirectory", "File does not own isDirectory property.");
+        check_readonly(dir, "isDirectory", true, "boolean", false);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html
new file mode 100755 (executable)
index 0000000..58678c1
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_isFile_attribute</title>
+<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_isFile_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::isFile attribute 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "isFile", "File does not own isFile property.");
+        check_readonly(dir, "isFile", false, "boolean", true);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html
new file mode 100755 (executable)
index 0000000..b58cd30
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_length_attribute</title>
+<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_length_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::length attribute 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(document.title), fsTestFileName =  getFileName("filesystem.txt"),
+    resolveSuccess, resolveError, fsTestFile;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "length", "File does not own length property.");
+        check_readonly(dir, "length", dir.length, "long", dir.length + 10);
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_equals(fsTestFile.length, undefined, "length of file should be undefined");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html
new file mode 100755 (executable)
index 0000000..b57f155
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles</title>
+<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: File_listFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::listFiles() method 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, retVal=null;
+t.step(function () {
+    listFilesSuccess = t.step_func(function (files) {
+        assert_type(files, "array", "files should be array");
+        assert_equals(retVal, undefined, "incorrect returned value");
+        t.done();
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        retVal = dir.listFiles(listFilesSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html
new file mode 100755 (executable)
index 0000000..6616618
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_listFiles_createFiles</title>
+<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_listFiles_createFiles
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new directory and then list 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    fsTestDirName, fsTestDir, documentsDir, fsTestFileName1, fsTestFileName2;
+
+t.step(function () {
+    fsTestDirName = getDirName("filesystem");
+    fsTestFileName1 = getFileName("filesystem1.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_equals(files.length, 2, "list files");
+        t.done();
+    });
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestDir.createFile(fsTestFileName1);
+        fsTestDir.createFile(fsTestFileName2);
+        fsTestDir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html
new file mode 100755 (executable)
index 0000000..d7b3cbe
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_listFiles_exist</title>
+<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: File_listFiles_exist
+//==== LABEL Check if File::listFiles() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("listFiles" in dir, "method listFiles exists");
+        check_method_exists(dir, "listFiles");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..022398f
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_filter_TypeMismatch</title>
+<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: File_listFiles_filter_TypeMismatch
+//==== LABEL Check if File::listFiles() method throws exception for wrong type of filter
+//==== 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(document.title), listFilesSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
+    filter;
+
+t.step(function () {
+    listFilesSuccess = t.step_func(function () {});
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("object", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            filter = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({
+                    name: exceptionName
+                }, function () {
+                    dir.listFiles(listFilesSuccess, null, filter);
+                }, exceptionName + " should be thrown - given incorrect filter.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html
new file mode 100755 (executable)
index 0000000..17d98ca
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_filter_empty</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_listFiles_filter_empty
+//==== LABEL Check if File::listFiles() can be called with empty object as filter argument
+//==== 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(document.title), resolveSuccess, resolveError,
+    listFilesSuccess, listFilesError;
+
+t.step(function () {
+
+    listFilesSuccess = t.step_func(function (files) {
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess, listFilesError, {});
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html
new file mode 100755 (executable)
index 0000000..85f2964
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_missarg</title>
+<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: File_listFiles_missarg
+//==== PRIORITY: P2
+//==== LABEL Check if File::listFiles() with missing mandatory argument throws exception
+//==== 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(document.title), resolveSuccess, resolveError;
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+                dir.listFiles();
+            });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..111c73b
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onerror_TypeMismatch</title>
+<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_listFiles_onerror_TypeMismatch
+//==== LABEL Check if File::listFiles() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, listFilesError, i, fsTestFileName,
+    fsTestFile, listFilesSuccess, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        fsTestFile = dir.createFile(fsTestFileName);
+        for (i = 0; i < conversionTable.length; i++) {
+            listFilesError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    fsTestFile.listFiles(listFilesSuccess, listFilesError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..85fbcea
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onerror_invalid_cb</title>
+<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_listFiles_onerror_invalid_cb
+//==== LABEL Check if File::listFiles() throws exception for wrong onerror
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesError = {
+        onerror: t.step_func(function () {
+            assert_unreached("invalid errorCallback should not be called");
+        })
+    };
+    listFilesSuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                fsTestFile.listFiles(listFilesSuccess, listFilesError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..f3c6208
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onsuccess_TypeMismatch</title>
+<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_listFiles_onsuccess_TypeMismatch
+//==== LABEL Check if File::listFiles() throws exception for wrong type of onsuccess
+//==== 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(document.title), listFilesSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            listFilesSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({
+                    name: exceptionName
+                }, function () {
+                    dir.listFiles(listFilesSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..aa25bd6
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onsuccess_invalid_cb</title>
+<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_listFiles_onsuccess_invalid_cb
+//==== LABEL Check if File::listFiles() throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess;
+
+t.step(function () {
+    listFilesSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.listFiles(listFilesSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html
new file mode 100755 (executable)
index 0000000..ceb2f38
--- /dev/null
@@ -0,0 +1,83 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_with_file_handle</title>
+<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_listFiles_with_file_handle
+//==== LABEL Check if File::listFiles() calls errorCallback when called on File object representing file, not a directory
+//==== 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 MERRCB
+
+
+var resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile,
+    documentsDir, t = async_test(document.title), expected = "IOError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesSuccess = t.step_func(function () {
+        assert_unreached("There is no exception thrown when listFiles with a file handle");
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect thrown an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html
new file mode 100755 (executable)
index 0000000..cf1cd69
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_listFiles_with_filter</title>
+<meta charset="utf-8" />
+<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_listFiles_with_filter
+//==== LABEL Check if File::listFiles() works with filter argument
+//==== 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
+//==== TEST_CRITERIA MOA
+
+
+var filesFilter, listFilesError, resolveSuccess, resolveError, listFilesSuccess, documentsDir,
+    fsTestFileName, fsTestFile, filesRegExp = new RegExp("^" + FILE_AND_DIR_NAME_PREFIX),
+    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_regexp_match(files[0].name, filesRegExp, "bad file was found");
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError, filesFilter);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html
new file mode 100755 (executable)
index 0000000..acd6640
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_with_onerror</title>
+<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_listFiles_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::listFiles() calls errorCallback (listing files of a file)
+//==== 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesError = t.step_func(function () {
+        t.done();
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_unreached("listFilesSuccess:  listFilesError should be invoked");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html
new file mode 100755 (executable)
index 0000000..0e53c79
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_listFiles_with_valid_successCallback</title>
+<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_listFiles_with_valid_successCallback
+//==== PRIORITY P1
+//==== LABEL Check if File::listFiles() call onsuccess callback
+//==== 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 t = async_test(document.title), resolveSuccess, resolveError,
+    listFilesSuccess;
+t.step(function () {
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_type(files, "array", "files");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html
new file mode 100755 (executable)
index 0000000..de7830b
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_modified_attribute</title>
+<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_modified_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::modified attribute 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(document.title),
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        date = new Date();
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "modified", "File does not own modified property.");
+        assert_true("modified" in fsTestFile, "attribute modified doesn't exist in provided object.");
+        assert_type(fsTestFile.modified, "Date", "Type of modified is different.");
+        tmp = fsTestFile.modified;
+        fsTestFile.modified = new Date();
+        assert_equals(tmp.getTime(), fsTestFile.modified.getTime(), "created can be modified.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html
new file mode 100755 (executable)
index 0000000..2adbd1b
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() can be called successfully
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, retVal;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.moveTo(fsTestFile.fullPath,
+            "images/"+fsTestFile.name, true);
+        assert_equals(retVal, undefined, "incorrect returned value");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..e4b22b9
--- /dev/null
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_moveTo_dir_samedir_samename_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_moveTo_dir_samedir_samename_overwrite_false
+//==== LABEL Check if File::moveTo() invokes error callback when moving 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
+//==== TEST_CRITERIA MERRCB
+
+
+var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.moveTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, false, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..8e12050
--- /dev/null
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_moveTo_dir_samedir_samename_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_moveTo_dir_samedir_samename_overwrite_true
+//==== LABEL Check if File::moveTo() invokes error callback when moving 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
+//==== TEST_CRITERIA MERRCB
+
+
+var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.moveTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html
new file mode 100755 (executable)
index 0000000..d843a6c
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_moveTo_empty_destination_source_and_destination_paths</title>
+<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_empty_destination_source_and_destination_paths
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() invokes error callback when originFilePath and destinationFilePath are empty
+//==== 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(document.title),
+    moveToSuccess, moveToError, resolveSuccess, resolveError;
+
+t.step(function () {
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess: moveToError should be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.moveTo("", "", false, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html
new file mode 100755 (executable)
index 0000000..e1939ff
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_exist</title>
+<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_exist
+//==== LABEL Check if File::moveTo() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("moveTo" in dir, "method moveTo exists");
+        check_method_exists(dir, "moveTo");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..5ff3f51
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_file_samedir_samename_overwrite_false</title>
+<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 File::moveTo() invokes error callback when moving 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(document.title), resolveSuccess,
+    resolveError, moveToSuccess, moveToError, expectedError = "IOError",
+    fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, fsTestFile;
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem");
+    fsTestDirName2 = getDirName("destination");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback should not be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir2.createFile(fsTestFileName);
+        fsTestDir2.moveTo(fsTestFile.fullPath, "documents/"+fsTestDir1.name+"/"+fsTestDir2.name+"/",
+            false, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..22c26cd
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_file_samedir_samename_overwrite_true</title>
+<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 File::moveTo() error callback when moving 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(document.title), resolveSuccess,
+    resolveError, moveToSuccess, moveToError, expectedError = "IOError",
+    fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1,
+    fsTestDir2, fsTestFile;
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem");
+    fsTestDirName2 = getDirName("destination");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback should not be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir2.createFile(fsTestFileName);
+        fsTestDir2.moveTo(fsTestFile.fullPath, "documents/" + fsTestDir1.name + "/" + fsTestDir2.name + "/",
+            true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..e57d345
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_onerror_TypeMismatch</title>
+<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_onerror_TypeMismatch
+//==== LABEL Check if File::moveTo() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, moveToError, i, moveToSuccess,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            moveToError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({
+                    name: exceptionName
+                }, function () {
+                    dir.moveTo("verybadfile.txt", "images", true, moveToSuccess, moveToError);
+                }, exceptionName + " should be thrown - given incorrect error callback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..d9a29dd
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_onerror_invalid_cb</title>
+<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_onerror_invalid_cb
+//==== LABEL Check if File::moveTo() throws exception for wrong onerror
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, moveToSuccess, moveToError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToError = {
+        onerror: t.step_func(function () {
+            assert_unreached("moveTo() error callback invoked");
+        })
+    };
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveTo() success callback invoked");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess, moveToError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..71d9530
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== LABEL Check if File::moveTo() throws exception for wrong type of onsuccess
+//==== 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(document.title), moveToSuccess, fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            moveToSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
+                }, exceptionName + " should be thrown - given incorrect success callback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..7075a5c
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_onsuccess_invalid_cb</title>
+<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_onsuccess_invalid_cb
+//==== LABEL Check if File::moveTo() throws exception for wrong onsuccess
+//==== 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(document.title), resolveSuccess, resolveError,
+    moveToSuccess, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html
new file mode 100755 (executable)
index 0000000..466f85d
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_moveTo_with_additional_null_parameter</title>
+<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_with_additional_null_parameter
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() method can be invoked with extra null parameter
+//==== 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 t = async_test(document.title), fsTestFileName2,
+    resolveSuccess, resolveError, file, movedPath, fsTestFileName, moveToSuccess;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    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 = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html
new file mode 100755 (executable)
index 0000000..129d636
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_with_file_handle</title>
+<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_with_file_handle
+//==== LABEL Check if File::moveTo() calls errorCallback when called on File object representing file, not a directory
+//==== 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 resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDirName1,
+    fsTestDirName2, fsTestDir1, fsTestDir2, fsTestFileName, fsTestFile,
+    expectedError = "IOError", t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("filesystem2");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("There is no exception thrown when when copyTo with file handle");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, expectedError + " should be thrown");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir2.createFile(fsTestFileName);
+        fsTestFile.moveTo(fsTestFile.fullPath, fsTestDir1.path, true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html
new file mode 100755 (executable)
index 0000000..c210384
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_with_onerror</title>
+<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_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() calls errorCallback (source file does not exist)
+//==== 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(document.title),
+    resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    moveToError = t.step_func(function () {
+        t.done();
+    });
+    moveToSuccess = t.step_func(function (files) {
+        assert_unreached("moveTo() error callback invoked: moveTo() error callback should be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.moveTo("documents/" + fsTestFileName,
+            "images/" + fsTestFileName, true, moveToSuccess, moveToError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..16b8047
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_with_onsuccess</title>
+<meta charset="utf-8"/>
+<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_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() calls successCallback
+//==== 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(document.title), listFilesError, resolveError,
+    resolveSuccess, documentsDir, listFilesSuccess, moveToSuccess, i, fsTestFileName;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].name === fsTestFileName) {
+                try {
+                    documentsDir.moveTo(files[i].fullPath,
+                        "images/" + files[i].name, true, moveToSuccess);
+                } catch (error) {
+                    assert_unreached("listFiles() success callback invoked: name:" + error.name + "msg:" + error.message);
+                }
+            }
+        }
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html
new file mode 100755 (executable)
index 0000000..2726960
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_with_path_invalid</title>
+<meta charset="utf-8" />
+<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_with_path_invalid
+//==== LABEL Check if File::moveTo() calls errorCallback (NotFound) when destinationFilePath is in non-existing directory
+//==== 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(document.title), fsTestDirName, fsTestDir,
+    expected = "NotFoundError", documentsDir, resolveSuccess, resolveError,
+    moveToSuccess, moveToError;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveTo() success callback invoked: No exception be thrown when move file to an invalid path");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "exception is not our expected value");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.moveTo(fsTestDir.fullPath, "hello/" + fsTestDirName, true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html
new file mode 100755 (executable)
index 0000000..2070357
--- /dev/null
@@ -0,0 +1,98 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_writeFile_newName</title>
+<meta charset="utf-8" />
+<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_writeFile_newName
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file, write content to it, and then move the file to the same directory 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(document.title),
+    openStreamSuccess, openStreamError;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_unreached("moveTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFileName2,
+            true, moveToSuccess, moveToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html
new file mode 100755 (executable)
index 0000000..74a9bec
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_writeFile_overwrite_false</title>
+<meta charset="utf-8" />
+<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_writeFile_overwrite_false
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() calls errorCallback when originFilePath and destinationFilePath is the same path (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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess, mainDir,
+    moveToError, fsTestFileName, fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        mainDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name,
+            false, moveToSuccess, moveToError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        mainDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html
new file mode 100755 (executable)
index 0000000..ac90be6
--- /dev/null
@@ -0,0 +1,98 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_writeFile_subdir</title>
+<meta charset="utf-8" />
+<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_writeFile_subdir
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file, write content to it, and then move the file to a subdirectory keeping the name of the 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 resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess,
+    moveToError, fsTestDirName1, fsTestDirName2, fsTestFileName,
+    fsTestFile, fsTestDir1, fsTestDir2, t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("destination");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_unreached("moveTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir1.moveTo(fsTestFile.fullPath, fsTestDir2.fullPath + "/" + fsTestFile.name, true, moveToSuccess, moveToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html
new file mode 100755 (executable)
index 0000000..9aa72f2
--- /dev/null
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_name_attribute</title>
+<meta charset="utf-8"/>
+<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_name_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::name attribute 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(document.title), fsTestFileName,
+    fsTestFile, resolveSuccess, resolveError;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "name", "File does not own name property.");
+        check_readonly(fsTestFile, "name", fsTestFile.name, "string", fsTestFile.name + "dummyValue");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html
new file mode 100755 (executable)
index 0000000..24d42ac
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_notexist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_notexist
+//==== LABEL Interface File should not be accessible
+//==== 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>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html
new file mode 100755 (executable)
index 0000000..6e0930b
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if File::openStream() method 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, retVal = null;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = fsTestFile.openStream("w",
+            t.step_func(function (fs) {
+                assert_equals(retVal, undefined, "incorrect returned value");
+                fs.write("HelloWorld");
+                fs.close();
+                t.done();
+            }));
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html
new file mode 100755 (executable)
index 0000000..2ba13cc
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_encoding_invalid</title>
+<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_encoding_invalid
+//==== LABEL Check if File::openStream() throws an exception for invalid encoding value
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError,
+    fsTestFileName, fsTestFile, documentsDir;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("There in no exception thrown when open the file in invalid encoding");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+            fsTestFile.openStream("r", openStreamSuccess, openStreamError, "coding");
+        });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html
new file mode 100755 (executable)
index 0000000..6d6d5b6
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_openStream_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_openStream_exist
+//==== LABEL Check if File::openStream() method exists
+//==== PRIORITY P0
+//==== 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(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("openStream" in dir, "method openStream exists");
+        check_method_exists(dir, "listFiles");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html
new file mode 100755 (executable)
index 0000000..ad756db
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_missarg</title>
+<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: File_openStream_missarg
+//==== PRIORITY: P2
+//==== LABEL Check if File::openStream() method throws exception for missing mandatory argument
+//==== 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(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(TYPE_MISMATCH_EXCEPTION, function () {
+                fsTestFile.openStream();
+            });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..57ca05a
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_mode_TypeMismatch</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: File_openStream_mode_TypeMismatch
+//==== LABEL Check if File::openStream() throws exception for wrong type of mode argument
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
+    openStreamSuccess, mode;
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("openStream() success callback invoked: should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("enum", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            mode = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.openStream(mode, openStreamSuccess);
+                }, exceptionName + " should be thrown - given incorrect mode.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html
new file mode 100755 (executable)
index 0000000..72a408b
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_a</title>
+<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_mode_a
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("a", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html
new file mode 100755 (executable)
index 0000000..676dfaa
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_mode_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_mode_invalid
+//==== LABEL Check if File::openStream() method throws exception for wrong mode
+//==== 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(document.title), resolveSuccess, resolveError, openStreamSuccess;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.openStream(5);
+            }, TYPE_MISMATCH_EXCEPTION + " should be thrown - given invalid mode");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html
new file mode 100755 (executable)
index 0000000..9b45249
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_r</title>
+<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_mode_r
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MAST MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html
new file mode 100755 (executable)
index 0000000..77a3268
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_rw</title>
+<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_mode_rw
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MAST MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html
new file mode 100755 (executable)
index 0000000..7313077
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_w</title>
+<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_mode_w
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MAST MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..6a67bc0
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_onerror_TypeMismatch
+//==== LABEL Check if File::openStream() method throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, openStreamError, i, openStreamSuccess,
+    exceptionName = "TypeMismatchError";
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("openStream() success callback invoked: should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            openStreamError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.openStream("r", openStreamSuccess, openStreamError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..d1ee5fd
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_onerror_invalid_cb
+//==== LABEL Check if File::openStream() method throws exception for wrong onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError;
+t.step(function () {
+    openStreamError = {
+        onerror: t.step_func(function (error) {
+            assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+        })
+    };
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("successCallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.openStream("r", openStreamSuccess, openStreamError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..0065e61
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== LABEL Check if File::openStream() method throws exception for wrong type of onsuccess
+//==== 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(document.title), openStreamSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
+    fsTestFileName, fsTestFile;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            openStreamSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    fsTestFile.openStream("r", openStreamSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..6d67dd9
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_onsuccess_invalid_cb</title>
+<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: File_openStream_onsuccess_invalid_cb
+//==== LABEL Check if File::openStream() method throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, fsTestFileName, fsTestFile;
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("openStream() success callback invoked: Invalid callback invoked.");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                fsTestFile.openStream("r", openStreamSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html
new file mode 100755 (executable)
index 0000000..f0ccde2
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_with_encoding</title>
+<meta charset="utf-8"/>
+<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_encoding
+//==== PRIORITY P1
+//==== LABEL Check if File::openStream() method can be called with valid encoding argument
+//==== 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(document.title), resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, fsTestFileName, fsTestFile;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "ISO-8859-1");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html
new file mode 100755 (executable)
index 0000000..28abef9
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_with_encoding_not_default</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_with_encoding_not_default
+//==== LABEL Check if File::openStream() method works properly when the encoding is "ISO-8859-1"
+//==== 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(document.title), resolveSuccess, resolveError, openStreamError, openStreamSuccess, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem06.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "ISO-8859-1");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html
new file mode 100755 (executable)
index 0000000..37f9688
--- /dev/null
@@ -0,0 +1,92 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Ma, YueX <yuex.ma@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_openStream_with_nonexist_file</title>
+<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 File::openStream() method calls errorCallback when invoked for file which was already removed
+//==== 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 MERRCB
+
+
+var fsTestFileName, fsTestFile, resolveSuccess, resolveError, deleteFileSuccess,
+    deleteFileError, openStreamSuccess, openStreamError,
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("openStream() success callback invoked: expect throw an exception when open the file which not exist");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_equals(error.name, "IOError", "expect throw an exception");
+        t.done();
+    });
+
+    deleteFileSuccess = t.step_func(function () {
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html
new file mode 100755 (executable)
index 0000000..3b3a03f
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_with_onerror</title>
+<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: File_openStream_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::openStream() method calls errorCallback properly (openStream used on directory)
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError;
+t.step(function (){
+    openStreamError = t.step_func(function () {
+        t.done();
+    });
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("this function should not be executed");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.openStream("r", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html
new file mode 100755 (executable)
index 0000000..d7d2f82
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_parent_attribute</title>
+<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: File_parent_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::parent attribute 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(document.title), resolveSuccess, resolveError, fsTestFileName,
+    fsTestFile, fsTestDir, fsTestDirName;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem");
+    fsTestDirName = getDirName("filesystemDir");
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("parent" in dir, "parent attribute doesn't exist");
+        assert_equals(dir.parent, null, "incorrect parent value for root directory");
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        assert_type(fsTestFile.parent, "object", "parent isn't an object");
+        checkOwnProperties(fsTestFile.parent);
+        assert_equals(fsTestFile.parent.name, fsTestDir.name, "incorrect parent");
+        fsTestFile.parent = dir;
+        assert_equals(fsTestFile.parent.name, fsTestDir.name, "parent can be modified");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html
new file mode 100755 (executable)
index 0000000..6b178a9
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Tomasz KuÅ›mierz <t.kusmierz@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>>
+
+-->
+<html>
+<head>
+<title>File_parent_attribute_notnull_using_resolve</title>
+<meta charset="utf-8"/>
+<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_parent_attribute_notnull_using_resolve
+//==== PRIORITY P1
+//==== LABEL Check if File::parent attribute is set by resolve() for subdirectory of Documents
+//==== 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, resolveFileSuccess, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveFileSuccess = t.step_func(function (file) {
+        assert_not_equals(file.parent, null, "File.parent should not be null.");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        try {
+            dir.createFile(fsTestFileName);
+        } catch (e) {
+            if (e.name !== "IOError") {
+                assert_unreached("createFile() error throw: name: " + e.name + ", msg: " + e.message);
+            }
+        }
+        tizen.filesystem.resolve("documents/" + fsTestFileName, resolveFileSuccess, resolveError, "rw");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html
new file mode 100755 (executable)
index 0000000..fe82f8a
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_path_attribute</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_path_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::path attribute 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(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "path", "file does not have own path property");
+        check_readonly(dir, "path", dir.path, "string", "images");
+        assert_equals(dir.path, "documents", "incorrect path");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html
new file mode 100755 (executable)
index 0000000..64bc328
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_path_attribute_limitation</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_path_attribute_limitation
+//==== LABEL Check if File::path attribute has proper value limitation
+//==== 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
+//==== PRIORITY P1
+//==== TEST_CRITERIA AVL
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_less_than_equal(dir.path.length, tizen.filesystem.maxPathLength, "the length of path should not have value greater than maxPathLength");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html
new file mode 100755 (executable)
index 0000000..a8fcfce
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_readAsText
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works properly without errorCallback
+//==== 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(document.title), resolveSuccess, resolveError, stringInFile = "HelloWorld",
+    readAsTextSuccess, file, fsTestFileName = getFileName("testReadAsTextAgain.txt"), retVal = null;
+
+t.step(function () {
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        assert_equals(str, stringInFile, "incorrect read value");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w",
+            t.step_func(function (fs) {
+                fs.write(stringInFile);
+                fs.close();
+                retVal = file.readAsText(readAsTextSuccess);
+            }));
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html
new file mode 100755 (executable)
index 0000000..48f072f
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_readAsText_encoding_invalid</title>
+<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_readAsText_encoding_invalid
+//==== LABEL Check if File::readAsText() method throws exception for invalid encoding value
+//==== 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(document.title), resolveSuccess, resolveError,
+    readAsTextSuccess, documentsDir, expected = "TypeMismatchError", fsTestFileName,
+    fsTestFile, readAsTextError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_unreached("readAsText() success callback invoked: There is no exception thrown when readAsText() in invalid encoding");
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws({"name": expected}, function () {
+                fsTestFile.readAsText(readAsTextSuccess, readAsTextError, true);
+            });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html
new file mode 100755 (executable)
index 0000000..018d528
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_readAsText_exist
+//==== LABEL Check if File::readAsText() method exists
+//==== PRIORITY P0
+//==== 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(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("readAsText" in dir, "method readAsText exists");
+        check_method_exists(dir, "readAsText");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html
new file mode 100755 (executable)
index 0000000..c319e54
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listDocumentsFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listDocumentsFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Documents
+//==== 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 testFile, resolveSuccess, resolveError, readAsTextSuccess,
+    readAsTextError, openStreamSuccess, openStreamError,
+    listFilesSuccess, listFilesError, text = "test write method",
+    t = async_test(document.title),
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html
new file mode 100755 (executable)
index 0000000..8041be8
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listDownloadsFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listDownloadsFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Downloads
+//==== 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(document.title),
+    text = "test write method", testFile, resolveSuccess, resolveError,
+    listFilesSuccess, listFilesError, openStreamSuccess,
+    openStreamError, readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html
new file mode 100755 (executable)
index 0000000..f5ba79c
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+h<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listImagesFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listImagesFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Images
+//==== 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(document.title),
+    testFile, resolveSuccess, resolveError, listFilesSuccess,
+    listFilesError, openStreamSuccess, openStreamError,
+    readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html
new file mode 100755 (executable)
index 0000000..d70ae59
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listMusicFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listMusicFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Music
+//==== 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 testFile, resolveSuccess, resolveError, listFilesSuccess,
+    listFilesError, openStreamSuccess, openStreamError, readAsTextSuccess,
+    readAsTextError, text = "test write method",
+    t = async_test(document.title),
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html
new file mode 100755 (executable)
index 0000000..9096767
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listVideosFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listVideosFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Videos
+//==== 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(document.title),
+    testFile, resolveSuccess, resolveError, listFilesSuccess,
+    listFilesError, openStreamSuccess, openStreamError,
+    readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html
new file mode 100755 (executable)
index 0000000..a5b0ed0
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_missarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_readAsText_missarg
+//==== PRIORITY: P2
+//==== LABEL Check if File::readAsText() throws exception for missing mandatory parameter
+//==== 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(document.title),
+    resolveSuccess, resolveError, file,
+    fsTestFileName = getFileName("testMissArg.txt");
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w",
+            t.step_func(function (fs) {
+                fs.write("HelloWorld");
+                fs.close();
+                assert_throws(TYPE_MISMATCH_EXCEPTION,
+                    function () {
+                        file.readAsText();
+                    });
+                t.done();
+            }));
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..4ee779d
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onerror_TypeMismatch
+//==== LABEL Check if File::readAsText() method throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, readAsTextError, i,
+    readAsTextSuccess, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    readAsTextSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            readAsTextError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.readAsText(readAsTextSuccess, readAsTextError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..eda909a
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onerror_invalid_cb
+//==== LABEL Check if File::readAsText() method throws exception for wrong onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, readAsTextSuccess, readAsTextError;
+
+t.step(function () {
+    readAsTextError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    readAsTextSuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.readAsText(readAsTextSuccess, readAsTextError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..6fe60a0
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onsuccess_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onsuccess_TypeMismatch
+//==== LABEL Check if File::readAsText() method throws exception for wrong type of onsuccess
+//==== 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(document.title), readAsTextSuccess,
+    resolveSuccess, resolveError, conversionTable, i, file,
+    exceptionName = "TypeMismatchError",
+    fsTestFileName = getFileName("goodFile2.txt");
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", false);
+
+        for (i = 0; i < conversionTable.length; i++) {
+            readAsTextSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    file.readAsText(readAsTextSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..6f8fda4
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onsuccess_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onsuccess_invalid_cb
+//==== LABEL Check if File::readAsText() method throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, readAsTextSuccess,
+    fsTestFileName = getFileName("goodFile.txt"), file;
+
+t.step(function (){
+    readAsTextSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                file.readAsText(readAsTextSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html
new file mode 100755 (executable)
index 0000000..ed9d6cc
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_with_encoding</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_with_encoding
+//==== LABEL Check if File::readAsText() method works with encoding argument
+//==== 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 MOA
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    readAsTextSuccess, readAsTextError, i;
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (text) {
+        t.done();
+    });
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].isDirectory === false){
+                files[i].readAsText(readAsTextSuccess,
+                    readAsTextError, "ISO-8859-1");
+            }
+        }
+    });
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html
new file mode 100755 (executable)
index 0000000..77d7bb7
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_with_encoding_not_default</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_with_encoding_not_default
+//==== LABEL Check if File::readAsText() method works properly when the encoding is "ISO-8859-1"
+//==== 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(document.title), resolveSuccess, resolveError, readAsTextError, readAsTextSuccess, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem07.txt");
+
+    readAsTextSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() errorcallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.readAsText(readAsTextSuccess, readAsTextError, "ISO-8859-1");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html
new file mode 100755 (executable)
index 0000000..e72b246
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_with_onerror</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() properly calls errorCallback (called on a directory instead of file)
+//==== 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(document.title),
+    resolveSuccess, resolveError, readAsTextSuccess, readAsTextError;
+
+t.step(function () {
+    readAsTextError = t.step_func(function (error) {
+        assert_equals(error.name, "IOError", "incorrect error name");
+        assert_type(error.message, "string", "incorrect error message type");
+        assert_not_equals(error.message, "", "incorrect error message");
+        t.done();
+    });
+    readAsTextSuccess = t.step_func(function (text) {
+        assert_unreached("readAsTextSuccess: readAsTextError should be invoked");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.readAsText(readAsTextSuccess, readAsTextError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html
new file mode 100755 (executable)
index 0000000..3c4cd98
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readOnly_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readOnly_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::readOnly attribute 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(document.title),
+    onSuccess, onError;
+t.step(function () {
+    onSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "readOnly", "File does not own readOnly property.");
+        check_readonly(dir, "readOnly", false, "boolean", true);
+        t.done();
+    });
+    onError = t.step_func(function (error) {
+        assert_unreached("Error: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", onSuccess, onError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html
new file mode 100755 (executable)
index 0000000..301cfb4
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_resolve</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_resolve
+//==== PRIORITY P1
+//==== LABEL Check if File::resolve() method 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, i, ds, file,
+    fsTestFileName = getFileName("goodFile2.txt");
+t.step(function () {
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].name === fsTestFileName) {
+                file = ds.resolve(fsTestFileName);
+                assert_equals(file.name, fsTestFileName, "Attribute check");
+                t.done();
+            }
+        }
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        ds = dir;
+        dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html
new file mode 100755 (executable)
index 0000000..c18de82
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_resolve_exist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_resolve_exist
+//==== LABEL Check if File::resolve() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    onSuccess, onError;
+t.step(function (){
+    onSuccess = t.step_func(function (dir) {
+        assert_true("resolve" in dir, "method resolve exists");
+        check_method_exists(dir, "resolve");
+        t.done();
+    });
+    onError = t.step_func(function (error) {
+        assert_unreached("Error: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", onSuccess, onError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html
new file mode 100755 (executable)
index 0000000..7569289
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_resolve_filePath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_resolve_filePath_invalid
+//==== LABEL Check if File::resolve() throws exception when filePath is invalid
+//==== 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 MC
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            dir.resolve(true);
+        }, NOT_FOUND_EXCEPTION + " should be thrown - invalid filePath.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html
new file mode 100755 (executable)
index 0000000..188753b
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_resolve_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_resolve_misarg
+//==== LABEL Check if File::resolve() throws exception when resolving a file which missing argument
+//==== 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 MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+    resolveSuccess = t.step_func(function (dir) {
+        try {
+            dir.resolve();
+        } catch (error) {
+            t.done();
+        }
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html
new file mode 100755 (executable)
index 0000000..578186a
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_resolve_with_nonexist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_resolve_with_nonexist
+//==== LABEL Check if File::resolve() throws exception when resolving 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(document.title), resolveSuccess, resolveError, fsTestFileName, expected = "NotFoundError";
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        try{
+            dir.resolve(fsTestFileName);
+        }catch(error) {
+            assert_equals(error.name, expected, "expect throw an exception");
+            t.done();
+        }
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html
new file mode 100755 (executable)
index 0000000..26f4e4a
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_toURI</title>
+<meta charset="utf-8"/>
+<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_toURI
+//==== PRIORITY P1
+//==== LABEL Check if File::toURI() method 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(document.title), resolveSuccess, resolveError, returnedValue, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        returnedValue = fsTestFile.toURI();
+        assert_type(returnedValue, "string", "incorrect returned type");
+        assert_not_equals(returnedValue, "", "incorrect returned value");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html
new file mode 100755 (executable)
index 0000000..c32fd1b
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_toURI_exist</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_toURI_exist
+//==== LABEL Check if File::toURI() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        check_method_exists(dir, "toURI");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html
new file mode 100755 (executable)
index 0000000..8d791b2
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_toURI_extra_argument</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_toURI_extra_argument
+//==== PRIORITY P1
+//==== LABEL Check if File::toURI() method 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(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        checkExtraArgument(dir, "toURI");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html
new file mode 100755 (executable)
index 0000000..fe26ee6
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Ma, YueX <yuex.ma@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_toURI_with_nonexist_file</title>
+<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_toURI_with_nonexist_file
+//==== LABEL Check if File::toURI() method throws exception when get a URI of non-existing 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(document.title),
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError , fsTestFileName, fsTestFile, returnedValue;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        returnedValue = fsTestFile.toURI();
+        assert_type(returnedValue, "string", "wrong type");
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html
new file mode 100755 (executable)
index 0000000..72fef46
--- /dev/null
@@ -0,0 +1,111 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Lei, ZhanX <zhanx.lei@intel.com>
+        Zhang, GeX <gex.zhang@intel.com>
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_get</title>
+<meta charset="utf-8"/>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: NotificationManager_get
+//==== LABEL Check if the parameter NotificationManager which in get method ok
+//==== PRIORITY P2
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA MR MMINA
+
+var notification, statusType = "PROGRESS", progressTypeToSet = "PERCENTAGE",
+    notificationToPost, postedTime, i;
+test(function () {
+    notificationDict.progressType = progressTypeToSet;
+    notificationToPost = new tizen.StatusNotification(statusType, titleToSet, notificationDict);
+    try {
+        tizen.notification.post(notificationToPost);
+        postedTime = notificationToPost.postedTime;
+
+        notification = tizen.notification.get(notificationToPost.id);
+        assert_true(notification instanceof tizen.StatusNotification, "Incorrect returned value from get method.");
+
+        assert_equals(notification.type, "STATUS", "type is incorrect.");
+        assert_equals(notification.postedTime.toJSON(), postedTime.toJSON(), "postedTime is incorrect.");
+
+        assert_equals(notification.title, titleToSet, "title is incorrect.");
+        assert_equals(notification.content, contentToSet, "content is incorrect.");
+        assert_equals(notification.iconPath, iconPathToSet, "iconPath is incorrect.");
+        assert_equals(notification.soundPath, soundPathToSet, "soundPath is incorrect.");
+        assert_equals(notification.vibration, vibrationToSet, "vibration is incorrect.");
+
+        assert_equals(notification.appId, appIdToSet, "appId is incorrect.");
+        assert_equals(notification.appControl.operation, applicationControl.operation,
+                "appControl.operation is incorrect.");
+        assert_equals(notification.appControl.uri, applicationControl.uri, "appControl.uri is incorrect.");
+        assert_equals(notification.appControl.mime, applicationControl.mime, "appControl.mime is incorrect.");
+        assert_equals(notification.appControl.category, applicationControl.category,
+                "appControl.category is incorrect.");
+        assert_array_equals(notification.appControl.data, applicationControl.data,
+                "appControl.data is incorrect.");
+
+        assert_equals(notification.id, notificationToPost.id, "id is incorrect.");
+        assert_equals(notification.progressValue, progressValueToSet, "progressValue is incorrect.");
+        assert_equals(notification.progressType, progressTypeToSet, "progressType is incorrect.");
+        assert_equals(notification.statusType, statusType, "statusType is incorrect.");
+
+        assert_equals(notification.subIconPath, subIconPathToSet, "subIconPath is incorrect.");
+        assert_equals(notification.number, numberToSet, "number is incorrect.");
+        assert_equals(notification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath is incorrect.");
+
+        assert_array_equals(notification.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+        assert_equals(notification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+        for (i = 0; i < detailInfoToSet.length; i++) {
+            assert_equals(notification.detailInfo[i].mainText, detailInfoToSet[i].mainText,
+                "detailInfo.mainText attribute for index = " + i + ".");
+            assert_equals(notification.detailInfo[i].subText, detailInfoToSet[i].subText,
+                "detailInfo.subText attribute for index = " + i + ".");
+        }
+        assert_own_property(notification, "ledColor", "notification");
+        assert_equals(notification.ledOnPeriod, 0, "notification.ledOnPeriod");
+        assert_equals(notification.ledOffPeriod, 0, "notification.ledOffPeriod");
+    } finally {
+        tizen.notification.removeAll();
+    }
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html
new file mode 100755 (executable)
index 0000000..844a3bc
--- /dev/null
@@ -0,0 +1,118 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>NotificationManager_getAll</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: NotificationManager_getAll
+//==== LABEL Check if NotificationManager.getAll method works
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAll M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNA MR
+
+test(function () {
+
+    var statusTypes = ["SIMPLE", "ONGOING", "PROGRESS", "THUMBNAIL"], i, j,
+        statusNotification, allNotifications, postedNotifications = {},
+        attributesCounter = 0, progressTypeToSet = "BYTE",
+        progressValueToSet = 555, postedNotification;
+    try {
+        notificationDict.progressType = progressTypeToSet;
+        notificationDict.progressValue = progressValueToSet;
+        for (i = 0; i < statusTypes.length; i++) {
+            statusNotification = new tizen.StatusNotification(statusTypes[i], titleToSet, notificationDict);
+            tizen.notification.post(statusNotification);
+            postedNotifications[statusNotification.id] = statusNotification;
+        }
+        allNotifications = tizen.notification.getAll();
+        assert_true(Array.isArray(allNotifications), "Result from getAll is not an Array");
+
+        attributesCounter = Object.getOwnPropertyNames(postedNotifications).length;
+        assert_equals(attributesCounter, statusTypes.length, "IDs are not unique.");
+        assert_equals(allNotifications.length, attributesCounter, "Incorrect number of notifications.");
+
+        for (i = 0; i < allNotifications.length; i++) {
+            statusNotification = allNotifications[i];
+            assert_true(statusNotification.id in postedNotifications, "Unknown id received.");
+            postedNotification = postedNotifications[statusNotification.id];
+            assert_true(statusNotification instanceof tizen.StatusNotification, "Incorrect type.");
+
+            assert_equals(statusNotification.type, "STATUS", "type is incorrect.");
+            assert_equals(statusNotification.postedTime.toJSON(), postedNotification.postedTime.toJSON(), "postedTime is incorrect.");
+
+            assert_equals(statusNotification.title, postedNotification.title, "title is incorrect.");
+            assert_equals(statusNotification.content, contentToSet, "content is incorrect.");
+            assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath is incorrect.");
+            assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath is incorrect.");
+            assert_equals(statusNotification.vibration, vibrationToSet, "vibration is incorrect.");
+
+            assert_equals(statusNotification.appId, appIdToSet, "appId is incorrect.");
+            assert_equals(statusNotification.appControl.operation, applicationControl.operation,
+                    "appControl.operation is incorrect.");
+            assert_equals(statusNotification.appControl.uri, applicationControl.uri, "appControl.uri is incorrect.");
+            assert_equals(statusNotification.appControl.mime, applicationControl.mime, "appControl.mime is incorrect.");
+            assert_equals(statusNotification.appControl.category, applicationControl.category,
+                    "appControl.category is incorrect.");
+            assert_array_equals(statusNotification.appControl.data, applicationControl.data,
+                    "appControl.data is incorrect.");
+
+            assert_equals(statusNotification.id, postedNotification.id, "id is incorrect.");
+
+            assert_equals(statusNotification.progressType, progressTypeToSet, "progressType is incorrect.");
+            assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue is incorrect.");
+            assert_equals(statusNotification.statusType, postedNotification.statusType, "statusType is incorrect.");
+
+            assert_equals(statusNotification.subIconPath, subIconPathToSet, "subIconPath is incorrect.");
+            assert_equals(statusNotification.number, numberToSet, "number is incorrect.");
+            assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath is incorrect.");
+
+            assert_array_equals(statusNotification.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+            assert_equals(statusNotification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+            for (j = 0; j < detailInfoToSet.length; j++) {
+                assert_equals(statusNotification.detailInfo[j].mainText, detailInfoToSet[j].mainText,
+                    "detailInfo.mainText attribute for index = " + j + ".");
+                assert_equals(statusNotification.detailInfo[j].subText, detailInfoToSet[j].subText,
+                    "detailInfo.subText attribute for index = " + j + ".");
+            }
+            assert_own_property(statusNotification, "ledColor", "statusNotification");
+            assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+            assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+        }
+    } finally {
+        tizen.notification.removeAll();
+    }
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html
new file mode 100755 (executable)
index 0000000..e13b120
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Lei, ZhanX <zhanx.lei@intel.com>
+        Zhang, GeX <gex.zhang@intel.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getAll_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: NotificationManager_getAll_exist
+//==== LABEL Check if method getAll which in NotificationManager interface exists.
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAll M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    assert_true("getAll" in tizen.notification, "No getAll method in tizen.notification.");
+    check_method_exists(tizen.notification, "getAll");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html
new file mode 100755 (executable)
index 0000000..79eb967
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getAll_extra_argument</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_getAll_extra_argument
+//==== LABEL Check if method getAll of NotificationManager accepts extra argument
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAll M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+    checkExtraArgument(tizen.notification, "getAll");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html
new file mode 100755 (executable)
index 0000000..30efe1d
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Lei, ZhanX <zhanx.lei@intel.com>
+        Zhang, GeX <gex.zhang@intel.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_get_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: NotificationManager_get_exist
+//==== LABEL Check if method get which in NotificationManager interface exists.
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    assert_true("get" in tizen.notification, "No get method in tizen.notification.");
+    check_method_exists(tizen.notification, "get");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html
new file mode 100755 (executable)
index 0000000..50b5185
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Md. Samsuddin Alam <ss.alam@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_get_id_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body bgcolor="FFFFFF">
+<div id="log"></div>
+<script>
+//==== TEST NotificationManager_get_id_invalid
+//==== LABEL Check if NotificationManager get method works with invalid argument
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+    var DOMStringConversionArray, i, id;
+    DOMStringConversionArray = getTypeConversionExceptions("object");
+    for (i = 0; i < DOMStringConversionArray.length; i++) {
+        id = DOMStringConversionArray[i];
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            tizen.notification.get(id);
+        }, "Should throw exception");
+    }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html
new file mode 100755 (executable)
index 0000000..30df97c
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Md. Samsuddin Alam <ss.alam@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_get_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body bgcolor="FFFFFF">
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_get_misarg
+//==== LABEL Check if NotificationManager get method works properly without argument
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
+        tizen.notification.get();
+    }, "exception should be thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html
deleted file mode 100755 (executable)
index 0bf7b2b..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOff</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOff
-//==== LABEL Check if turnScreenOff method called with non-optional arguments does what it should
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOff M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MR
-test(function () {
-    var retVal = tizen.power.turnScreenOff();
-    assert_equals(retVal, undefined, "method should return nothing");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html
deleted file mode 100755 (executable)
index 288c6d8..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOff_exist</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOff_exist
-//==== LABEL Check if turnScreenOff exists
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOff M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("turnScreenOff" in tizen.power, "turnScreenOff method sould be implemented");
-    check_method_exists(tizen.power, "turnScreenOff");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html
deleted file mode 100755 (executable)
index ef8d7fb..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOff_extra_argument</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOff_extra_argument
-//==== LABEL Check if turnScreenOff method can be invoked with extra argument
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOff M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.power, "turnScreenOff");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html
deleted file mode 100755 (executable)
index e7d9acf..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        leizhan <zhanx.lei@intel.com>
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOff_successful</title>
-<link rel="author" title="Intel" href="http://www.intel.com" />
-<link rel="help" href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html" />
-<meta name="flags" content="" />
-<meta name="assert" content="Check if PowerManager's turnScreenOff method works" />
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOff_successful
-//==== LABEL Check if turnScreenOff method works correctly
-//==== EXECUTION_TYPE manual
-//==== STEP Click 'Run'
-//==== EXPECT The screen should be turned off
-//==== STEP Unlock the screen and display the test application
-//==== EXPECT The result should be 'Pass'
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOff M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MNAST
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), powerMgr = tizen.power, isScreenOn, changeCallback, ch = 0;
-t.step(function () {
-    changeCallback = t.step_func(function (previousState, changedState) {
-           isScreenOn = tizen.power.isScreenOn();
-               if(isScreenOn){
-                 if(ch){                  
-                  assert_unreached("Invalid listener invoked.");       
-                       }
-                       ch++;
-                                       }
-           else{
-                   assert_not_equals(previousState, changedState, "Screen States should be different.");
-            assert_false(isScreenOn, "The screen should be turned off");
-            t.done();
-
-               }
-    });
-     powerMgr.setScreenStateChangeListener(changeCallback);
-    powerMgr.turnScreenOn();   
-    powerMgr.turnScreenOff();
-    
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html
deleted file mode 100755 (executable)
index ba46717..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn
-//==== LABEL Check if turnScreenOn method called with non-optional arguments does what it should
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MR
-test(function () {
-    var retVal = tizen.power.turnScreenOn();
-    assert_equals(retVal, undefined, "method should return nothing");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html
deleted file mode 100755 (executable)
index deaba19..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn_exist</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn_exist
-//==== LABEL Check if turnScreenOn exists
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("turnScreenOn" in tizen.power, "turnScreenOn method sould be implemented");
-    check_method_exists(tizen.power, "turnScreenOn");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html
deleted file mode 100755 (executable)
index 9504fe2..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn_extra_argument</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn_extra_argument
-//==== LABEL Check if turnScreenOn method can be invoked with extra argument
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.power, "turnScreenOn");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html
deleted file mode 100755 (executable)
index 0764391..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        leizhan <zhanx.lei@intel.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn_method_exists</title>
-<link rel="author" title="Intel" href="http://www.intel.com" />
-<link rel="help" href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html" />
-<meta name="flags" content="" />
-<meta name="assert" content="Check if turnScreenOn method exists" />
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn_method_exists
-//==== LABEL Check if turnScreenOn method exists
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-var powerMgr;
-test(function () {
-    powerMgr = tizen.power;
-    assert_true("turnScreenOn" in powerMgr, "turnScreenOn method sould be implemented");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html
deleted file mode 100755 (executable)
index 1ae1b43..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        leizhan <zhanx.lei@intel.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn_successful</title>
-<link rel="author" title="Intel" href="http://www.intel.com" />
-<link rel="help" href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html" />
-<meta name="flags" content="" />
-<meta name="assert" content="Check if PowerManager's turnScreenOn method works" />
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn_successful
-//==== LABEL Check if turnScreenOn method works correctly
-//==== EXECUTION_TYPE manual
-//==== STEP Click 'Run'
-//==== EXPECT The screen should be turned locked
-//==== STEP Unlock the screen and display the test application
-//==== EXPECT The result should be 'Pass'
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MNAST
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), isScreenOn, changeCallback, ch = 0;
-
-t.step(function () {
-    changeCallback = t.step_func(function (previousState, changedState) {
-        isScreenOn = tizen.power.isScreenOn();
-               if(isScreenOn){
-               assert_not_equals(previousState, changedState, "Screen States should be different.");
-            assert_true(isScreenOn, "The screen should be turned on");
-                   t.done();
-               }
-               else{
-                 if(ch){
-                   assert_unreached("Invalid listener invoked.");
-                       }
-                       ch++;
-               }
-
-
-    });
-    tizen.power.setScreenStateChangeListener(changeCallback);
-    tizen.power.turnScreenOff();
-    tizen.power.turnScreenOn();
-    
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService.html
deleted file mode 100755 (executable)
index 505921a..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_connectService
-//==== LABEL Check if connectService method works correctly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMINA MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, pushRegisterErrorCallback, unregisterServiceError,
-    unregisterServiceDone, notificationCallback, returnedValue = null;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    notificationCallback = t.step_func(function (message) {
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            returnedValue = tizen.push.connectService(notificationCallback);
-            assert_equals(returnedValue, undefined, "connectService() should return undefined.");
-        } finally {
-            tizen.push.disconnectService();
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html
deleted file mode 100755 (executable)
index 445d346..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_connectService_exist
-//==== LABEL Check if method connectService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("connectService" in tizen.push, "No connectService method in tizen.push");
-    check_method_exists(tizen.push, "connectService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_missarg.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_missarg.html
deleted file mode 100755 (executable)
index f64b833..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_missarg</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_connectService_missarg
-//==== LABEL Check with missing non-optional argument - PushManager.connectService method
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMA
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), pushRegisterSuccessCallback,
-    pushRegisterErrorCallback, unregisterServiceDone, unregisterServiceError, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            assert_throws({name: exceptionName},
-                function () {
-                    tizen.push.connectService();
-                }, exceptionName + " should be thrown - missing argument");
-
-        } finally {
-            tizen.push.disconnectService();
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 785ea29..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_notificationCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_connectService_notificationCallback_TypeMismatch
-//==== LABEL Check type conversions for notificationCallback argument of PushManager.connectService method
-//==== PRIORITY: P2
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-test(function () {
-    var conversionTable, incorrectCallback, exceptionName, i;
-
-    conversionTable = getTypeConversionExceptions("functionObject", false);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.connectService(incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-    }
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html
deleted file mode 100755 (executable)
index b498c49..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_notificationCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_connectService_notificationCallback_invalid_cb
-//==== LABEL Check if PushManager.connectService method throws exception when notificationCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onsuccess: t.step_func(function (pushMessage) {
-            assert_unreached("Incorrect callback invoked. pushMessage.appData: " + pushMessage.appData);
-        })
-    };
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.connectService(incorrectCallback);
-        }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService.html
deleted file mode 100755 (executable)
index 09357eb..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_disconnectService</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_disconnectService
-//==== LABEL Check if disconnectService method works correctly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:disconnectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MNA MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), pushRegisterSuccessCallback,
-    unregisterServiceDone, unregisterServiceError,
-    notificationCallback, returnedValue = null, pushRegisterErrorCallback;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    notificationCallback = t.step_func(function (message) {
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            tizen.push.connectService(notificationCallback);
-            returnedValue = tizen.push.disconnectService();
-            assert_equals(returnedValue, undefined, "disconnectService() should return undefined.");
-        } finally {
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html
deleted file mode 100755 (executable)
index 586fcd6..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_disconnectService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_disconnectService_exist
-//==== LABEL Check if method disconnectService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:disconnectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("disconnectService" in tizen.push, "No disconnectService method in tizen.push");
-    check_method_exists(tizen.push, "disconnectService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html
deleted file mode 100755 (executable)
index 59180b1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_disconnectService_extra_argument</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_disconnectService_extra_argument
-//==== LABEL Check if method disconnectService of PushManager accepts extra argument
-//==== SPEC Tizen Web API:TBD:Push:PushManager:disconnectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.push, "disconnectService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService.html
deleted file mode 100755 (executable)
index 4b490d3..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_registerService
-//==== LABEL Check if method registerService of PushManager works properly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MOA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, pushRegisterErrorCallback, returnedValue = null,
-    unregisterServiceSuccessCallback, unregisterServiceDone, beforeRegistrationId,
-    unregisterServiceErrorCallback, unregisterServiceError;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            assert_equals(returnedValue, undefined, "Incorrect returned value from registerService method");
-            assert_type(registrationId, "string", "registrationId is not a string");
-            assert_not_equals(registrationId, "", "registrationId is equal to empty string.");
-            assert_equals(registrationId, tizen.push.getRegistrationId(),
-                "current registrationId is different from registered service id");
-            assert_not_equals(registrationId, beforeRegistrationId,
-                "registrationId did not change.");
-        } finally {
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    unregisterServiceSuccessCallback = t.step_func(function () {
-        beforeRegistrationId = tizen.push.getRegistrationId();
-        returnedValue = tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-    });
-
-    unregisterServiceErrorCallback = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.unregisterService(unregisterServiceSuccessCallback, unregisterServiceErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html
deleted file mode 100755 (executable)
index d0edbc3..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_appControl_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_appControl_TypeMismatch
-//==== LABEL Check type conversions for appControl argument of PushManager.registerService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, errorCallback, conversionTable, exceptionName,
-    incorrectService, i;
-
-t.step(function () {
-    pushRegisterSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    conversionTable = getTypeConversionExceptions("object", false);
-
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectService = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService(incorrectService, pushRegisterSuccessCallback, errorCallback);
-            }, exceptionName + " should be thrown - given incorrect ApplicationControl: " + incorrectService);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html
deleted file mode 100755 (executable)
index 82b8102..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_appControl_invalid_obj</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_appControl_invalid_obj
-//==== LABEL Check if PushManager.registerService method throws exception when appControl is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTO
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, errorCallback, exceptionName = "TypeMismatchError", fakeService;
-
-t.step(function () {
-    pushRegisterSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    fakeService = {
-        operation: "http://tizen.org/appcontrol/operation/push_test",
-        uri: "",
-        mime: "",
-        category: "",
-        data: []
-    };
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.registerService(fakeService, pushRegisterSuccessCallback, errorCallback);
-        }, exceptionName + " should be thrown - given incorrect ApplicationControl");
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index a65cd69..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_errorCallback_TypeMismatch
-//==== LABEL Check type conversions for errorCallback argument of PushManager.registerService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    registerSuccessCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    registerSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", true);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService(service, registerSuccessCallback, incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 3c8bbad..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_errorCallback_invalid_cb
-//==== LABEL Check if PushManager.registerService method throws exception when errorCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, registerSuccessCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onerror: t.step_func(function (error) {
-            assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-        })
-    };
-
-    registerSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.registerService(service,  registerSuccessCallback, incorrectCallback);
-        }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html
deleted file mode 100755 (executable)
index 04ae328..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_registerService_exist
-//==== LABEL Check if method registerService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("registerService" in tizen.push, "No registerService method in tizen.push");
-    check_method_exists(tizen.push, "registerService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html
deleted file mode 100755 (executable)
index b7851dd..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_misargs</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_registerService_misargs
-//==== LABEL Check if method registerService throws exception when non-optional argument is missing
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MMA
-test(function () {
-    var exceptionName = "TypeMismatchError";
-    try {
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService();
-            }, exceptionName + " should be thrown - missing ApplicationControl .");
-    } finally {
-        tizen.push.unregisterService();
-    }
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 0290280..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_successCallback_TypeMismatch
-//==== LABEL Check type conversions for successCallback argument of PushManager.registerService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    errorCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", false);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService(service, incorrectCallback, errorCallback);
-            }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html
deleted file mode 100755 (executable)
index a49ea81..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_successCallback_invalid_cb
-//==== LABEL Check if PushManager.registerService method throws exception when successCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, errorCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onsuccess: t.step_func(function (pushRegistrationId) {
-            assert_unreached("Incorrect callback invoked. pushRegistrationId: " + pushRegistrationId);
-        })
-    };
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.registerService(service, incorrectCallback, errorCallback);
-        }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_without_errorCallback.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_without_errorCallback.html
deleted file mode 100755 (executable)
index 43accf7..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_without_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_registerService_without_errorCallback
-//==== LABEL Check if method registerService of PushManager works properly without errorCallback
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMINA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, returnedValue = null, beforeRegistrationId,
-    unregisterServiceSuccessCallback, unregisterServiceDone,
-    unregisterServiceError, unregisterServiceErrorCallback;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            assert_equals(returnedValue, undefined, "Incorrect returned value from registerService method");
-            assert_type(registrationId, "string", "registrationId is not a string");
-            assert_not_equals(registrationId, "", "registrationId is equal to empty string.");
-            assert_equals(registrationId, tizen.push.getRegistrationId(),
-                "current registrationId is different from registered service id");
-            assert_not_equals(registrationId, beforeRegistrationId,
-                "registrationId did not change.");
-        } finally {
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    unregisterServiceSuccessCallback = t.step_func(function () {
-        beforeRegistrationId = tizen.push.getRegistrationId();
-        returnedValue = tizen.push.registerService(service, pushRegisterSuccessCallback);
-    });
-
-    unregisterServiceErrorCallback = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.unregisterService(unregisterServiceSuccessCallback, unregisterServiceErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService.html
deleted file mode 100755 (executable)
index 12dd70c..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_unregisterService
-//==== LABEL Check if unregisterService works correctly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MOA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), pushRegisterSuccessCallback,
-    pushRegisterErrorCallback, unregisterServiceDone, unregisterServiceError,
-    registrationId, afterRegistrationId, returnedValue = null;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        afterRegistrationId = tizen.push.getRegistrationId();
-        assert_not_equals(registrationId, afterRegistrationId, "registrationId did not change.");
-        assert_equals(afterRegistrationId, null, "registtrationId should be null");
-        assert_equals(returnedValue, undefined, "Incorrect returned value.");
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (successRegistrationId) {
-        registrationId = successRegistrationId;
-        returnedValue = tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index f4ba690..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_errorCallback_TypeMismatch
-//==== LABEL Check type conversions for errorCallback argument of PushManager.unregisterService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    unregisterSuccessCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    unregisterSuccessCallback = t.step_func(function () {
-        assert_unreached("Callback invoked");
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", true);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.unregisterService(unregisterSuccessCallback, incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 2c8aa46..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_errorCallback_invalid_cb
-//==== LABEL Check if PushManager.unregisterService method throws exception when errorCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, unregisterSuccessCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onerror: t.step_func(function (error) {
-            assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-        })
-    };
-
-    unregisterSuccessCallback = t.step_func(function () {
-        assert_unreached("Callback invoked.");
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.unregisterService(unregisterSuccessCallback, incorrectCallback);
-        }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html
deleted file mode 100755 (executable)
index 2e313c8..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_unregisterService_exist
-//==== LABEL Check if method unregisterService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("unregisterService" in tizen.push, "No unregisterService method in tizen.push");
-    check_method_exists(tizen.push, "unregisterService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index c0757c6..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_successCallback_TypeMismatch
-//==== LABEL Check type conversions for successCallback argument of PushManager.unregisterService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    errorCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", true);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.unregisterService(incorrectCallback, errorCallback);
-            }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 3e31a30..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_successCallback_invalid_cb
-//==== LABEL Check if PushManager.unregisterService method throws exception when successCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, errorCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onsuccess: t.step_func(function () {
-            assert_unreached("Incorrect callback invoked");
-        })
-    };
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.unregisterService(incorrectCallback, errorCallback);
-        }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_errorCallback.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_errorCallback.html
deleted file mode 100755 (executable)
index c9d5d94..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_without_errorCallback</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_unregisterService_without_errorCallback
-//==== LABEL Check if unregisterService method works without errorCallback
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MOA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, pushRegisterErrorCallback,
-    unregisterServiceDone, unregisterServiceError,
-    registrationId, afterRegistrationId, returnedValue = null;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        afterRegistrationId = tizen.push.getRegistrationId();
-        assert_not_equals(registrationId, afterRegistrationId, "registrationId did not change.");
-        assert_equals(afterRegistrationId, null, "registtrationId should be null");
-        assert_equals(returnedValue, undefined, "Incorrect returned value.");
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (successRegistrationId) {
-        registrationId = successRegistrationId;
-        returnedValue = tizen.push.unregisterService(unregisterServiceDone);
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_successCallback.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_successCallback.html
deleted file mode 100755 (executable)
index d134a26..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_without_successCallback</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_unregisterService_without_successCallback
-//==== LABEL Check if unregisterService method works without successCallback
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMINA MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, errorCallback, returnedValue = null;
-
-t.step(function () {
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        returnedValue = tizen.push.unregisterService();
-        assert_equals(returnedValue, undefined, "Incorrect returned value.");
-        t.done();
-    });
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("Error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html
new file mode 100755 (executable)
index 0000000..8f9d0f4
--- /dev/null
@@ -0,0 +1,93 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_appControl_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_appControl_attribute
+//==== LABEL Check if attribute appControl of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:appControl A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, newOperation = "http://tizen.org/appcontrol/operation/view",
+        initialValue, newValue;
+
+    initialValue = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
+        "file:///home/owner/share/Images/" + iconPathToSet.replace(/^.*\//, ""),
+        "image/jpg",
+        null,
+        [new tizen.ApplicationControlData("k1", ["v1"])]
+    );
+    newValue = new tizen.ApplicationControl(newOperation,
+        "file:///home/owner/share/Images/" + thumbnailToSet.replace(/^.*\//, ""),
+        "image/jpeg",
+        "category",
+        [new tizen.ApplicationControlData("new-k1", ["new-v1"])]
+    );
+
+    delete notificationDict.appId;
+    notificationDict.appControl = initialValue;
+    statusNotification = new tizen.StatusNotification("PROGRESS", titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "appControl", "StatusNotification doesn't own appControl property.");
+
+    assert_equals(statusNotification.appControl.uri, initialValue.uri, "appControl.uri attribute.");
+    assert_equals(statusNotification.appControl.mime, initialValue.mime, "appControl.mime attribute.");
+    assert_equals(statusNotification.appControl.category, initialValue.category,
+            "appControl.category attribute.");
+    assert_equals(statusNotification.appControl.operation, initialValue.operation,
+            "appControl.operation attribute.");
+    assert_equals(statusNotification.appControl.data.length, initialValue.data.length, "appControl.data.length");
+    assert_equals(statusNotification.appControl.data[0].key, initialValue.data[0].key, "appControl.data[0].length");
+    assert_array_equals(statusNotification.appControl.data[0].value, initialValue.data[0].value, "appControl.data[0].value");
+
+    statusNotification.appControl = newValue;
+    assert_equals(statusNotification.appControl.uri, newValue.uri, "appControl.uri attribute cannot be assigned.");
+    assert_equals(statusNotification.appControl.mime, newValue.mime, "appControl.mime attribute cannot be assigned.");
+    assert_equals(statusNotification.appControl.category, newValue.category,
+            "appControl.category attribute cannot be assigned.");
+    assert_equals(statusNotification.appControl.operation, newValue.operation,
+            "appControl.operation attribute cannot be assigned.");
+    assert_equals(statusNotification.appControl.data.length, newValue.data.length, "newValue.data.length");
+    assert_equals(statusNotification.appControl.data[0].key, newValue.data[0].key, "newValue.data[0].length");
+    assert_array_equals(statusNotification.appControl.data[0].value, newValue.data[0].value, "newValue.data[0].value");
+
+    statusNotification.appControl = null;
+    assert_equals(statusNotification.appControl, null, "appControl attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html
new file mode 100755 (executable)
index 0000000..9b7082e
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_appid_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_appid_attribute
+//==== LABEL Check if attribute appid of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:appId A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "SIMPLE", newValue = "newValue";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "appId", "StatusNotification doesn't own appId property.");
+    assert_equals(statusNotification.appId, appIdToSet, "appId attribute not set.");
+    statusNotification.appId = newValue;
+    assert_equals(statusNotification.appId, newValue, "appId attribute cannot be assigned.");
+
+    statusNotification.appId = null;
+    assert_equals(statusNotification.appId, null, "appId attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html
new file mode 100755 (executable)
index 0000000..190f6ac
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_backgroundImagePath_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_backgroundImagePath_attribute
+//==== LABEL Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:backgroundImagePath A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "THUMBNAIL", invalidBackgroundImagePath = "dummyValue";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "backgroundImagePath", "StatusNotification doesn't own backgroundImagePath property.");
+    assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath attribute not set.");
+    statusNotification.backgroundImagePath = backgroundImagePathToSet2;
+    assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet2, "backgroundImagePath attribute cannot be assigned.");
+
+    statusNotification.backgroundImagePath = invalidBackgroundImagePath;
+    assert_equals(statusNotification.backgroundImagePath, invalidBackgroundImagePath,
+        "backgroundImagePath attribute - invalid path.");
+
+    statusNotification.backgroundImagePath = null;
+    assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html
new file mode 100755 (executable)
index 0000000..09664f6
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_ONGOING_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_ONGOING_BYTE
+//==== LABEL Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("ONGOING", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..ae42856
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_ONGOING_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_ONGOING_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("ONGOING", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html
new file mode 100755 (executable)
index 0000000..b153b0f
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_PROGRESS_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_PROGRESS_BYTE
+//==== LABEL Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("PROGRESS", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..b78630f
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_PROGRESS_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_PROGRESS_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("PROGRESS", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html
new file mode 100755 (executable)
index 0000000..b2a6a23
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_SIMPLE_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_SIMPLE_BYTE
+//==== LABEL Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("SIMPLE", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..bdca3f8
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_SIMPLE_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_SIMPLE_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("SIMPLE", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html
new file mode 100755 (executable)
index 0000000..292db96
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_THUMBNAIL_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_THUMBNAIL_BYTE
+//==== LABEL Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("THUMBNAIL", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..ad3b2f2
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_THUMBNAIL_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_THUMBNAIL_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("THUMBNAIL", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html
new file mode 100755 (executable)
index 0000000..4f95d55
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_backgroundImagePath</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_backgroundImagePath
+//==== LABEL Check if constructor accepts incorrect backgroundImagePath
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, invalidBackgroundImagePath = "dummyValue";
+
+    notificationDict = {
+        backgroundImagePath: invalidBackgroundImagePath
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.backgroundImagePath, invalidBackgroundImagePath,
+            "StatusNotification.backgroundImagePath has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html
new file mode 100755 (executable)
index 0000000..970ed85
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_iconPath</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_iconPath
+//==== LABEL Check if constructor accepts incorrect iconPath
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, invalidIconPath = "dummyValue";
+
+    notificationDict = {
+        iconPath: invalidIconPath
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.iconPath, invalidIconPath,
+            "StatusNotification.iconPath has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html
new file mode 100755 (executable)
index 0000000..bd3d0fe
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_soundPath</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_soundPath
+//==== LABEL Check if constructor accepts incorrect soundPath
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, invalidSoundPath = "dummyValue";
+
+    notificationDict = {
+        soundPath: invalidSoundPath
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.soundPath, invalidSoundPath,
+            "StatusNotification.soundPath has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html
new file mode 100755 (executable)
index 0000000..9b8c71d
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_subIconPath</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_subIconPath
+//==== LABEL Check if constructor accepts incorrect subIconPath
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, invalidSubIconPath = "dummyValue";
+
+    notificationDict = {
+        subIconPath: invalidSubIconPath
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.subIconPath, invalidSubIconPath,
+            "StatusNotification.subIconPath has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html
new file mode 100755 (executable)
index 0000000..00ffbaa
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_thumbnails</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_thumbnails
+//==== LABEL Check if constructor accepts incorrect thumbnails
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        invalidThumbnails = [thumbnailToSet, thumbnailToSet2, "dummyValue" ], statusNotification;
+
+    notificationDict = {
+        thumbnails: invalidThumbnails
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.thumbnails, invalidThumbnails,
+            "StatusNotification.thumbnails has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html
new file mode 100755 (executable)
index 0000000..d732c27
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_minargs</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_minargs
+//==== LABEL Check if StatusNotification's constructor works with minimal arguments
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var statusNotificationType = "ONGOING",
+        statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
+    assert_equals(statusNotification.title, titleToSet, "title attribute.");
+    assert_equals(statusNotification.content, null, "content attribute.");
+    assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
+    assert_equals(statusNotification.iconPath, null, "iconPath attribute.");
+    assert_equals(statusNotification.subIconPath, null, "subIconPath attribute.");
+    assert_array_equals(statusNotification.detailInfo, [], "detailInfo attribute.");
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+    assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+    assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+    assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute.");
+    assert_equals(statusNotification.soundPath, null, "soundPath attribute.");
+    assert_equals(statusNotification.vibration, false, "vibration attribute.");
+    assert_equals(statusNotification.progressType, "PERCENTAGE", "progressType attribute.");
+    assert_equals(statusNotification.progressValue, null, "progressValue attribute.");
+    assert_equals(statusNotification.appControl, null, "appControl attribute.");
+    assert_equals(statusNotification.appId, null, "appId attribute.");
+    assert_equals(statusNotification.number, null, "number attribute.");
+    check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
+    check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
+    assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html
new file mode 100755 (executable)
index 0000000..a67cf92
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_notificationInitDict_partial</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_notificationInitDict_partial
+//==== LABEL Check if StatusNotification's constructor works with partial attributes in notificationInitDict
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotification, titleToSet = "Title",
+        contentToSet = "This is a simple notificaiton.", iconPathToSet = "images/webapi-tizen-notification-test_image1.jpg",
+        soundPathToSet = "music/webapi-tizen-notification-test_noise1.mp3", statusNotificationType = "SIMPLE";
+
+    notificationDict = {
+        content: contentToSet,
+        iconPath: iconPathToSet,
+        soundPath: soundPathToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
+    check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
+    assert_equals(statusNotification.title, titleToSet, "title attribute.");
+    assert_equals(statusNotification.content, contentToSet, "content attribute.");
+    assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
+    assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath attribute.");
+    assert_equals(statusNotification.subIconPath, null, "subIconPath attribute.");
+    assert_array_equals(statusNotification.detailInfo, [], "detailInfo attribute.");
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+    assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+    assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+    assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute.");
+    assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath attribute.");
+    assert_equals(statusNotification.vibration, false, "vibration attribute.");
+    assert_equals(statusNotification.number, null, "number attribute.");
+    assert_equals(statusNotification.appControl, null, "appControl attribute.");
+    assert_equals(statusNotification.appId, null, "appId attribute.");
+    assert_equals(statusNotification.progressType, "PERCENTAGE", "progressType attribute.");
+    assert_equals(statusNotification.progressValue, null, "progressValue attribute.");
+    check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
+    assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html
new file mode 100755 (executable)
index 0000000..62fdee7
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_notificationInitDict_partial_extra</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_notificationInitDict_partial_extra
+//==== LABEL Check if StatusNotification's constructor works with additional attributes in notificationInitDict
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "ONGOING", statusNotification,
+        titleToSet = "Title", vibrationToSet = false, appIdToSet = tizen.application.getAppInfo().id,
+        progressValueToSet = 80;
+
+    notificationDict = {
+        vibration: vibrationToSet,
+        appId: appIdToSet,
+        progressValue: progressValueToSet,
+        newDummyString: "dummyString",
+        newDummyFunction: function () {},
+        newDummyObject: {attr: 1}
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
+    check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
+    assert_equals(statusNotification.title, titleToSet, "title attribute.");
+    assert_equals(statusNotification.content, null, "content attribute.");
+    assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
+    assert_equals(statusNotification.iconPath, null, "iconPath attribute.");
+    assert_equals(statusNotification.subIconPath, null, "subIconPath attribute.");
+    assert_array_equals(statusNotification.detailInfo, [], "detailInfo attribute.");
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+    assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+    assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+    assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute.");
+    assert_equals(statusNotification.soundPath, null, "soundPath attribute.");
+    assert_equals(statusNotification.vibration, vibrationToSet, "vibration attribute.");
+    assert_equals(statusNotification.number, null, "number attribute.");
+    assert_equals(statusNotification.appControl, null, "appControl attribute.");
+    assert_equals(statusNotification.appId, appIdToSet, "appId attribute.");
+    assert_equals(statusNotification.progressType, "PERCENTAGE", "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+    check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
+    assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html
new file mode 100755 (executable)
index 0000000..cf735ec
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_number_max</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_number_max
+//==== LABEL Check if constructor accepts max number.
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, notificationDict, numberToSet = 2147483647;
+
+    notificationDict = {
+        number: numberToSet
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.number, numberToSet, "number attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html
new file mode 100755 (executable)
index 0000000..cdc7bac
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_number_min</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_number_min
+//==== LABEL Check if constructor accepts min number.
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, notificationDict, numberToSet = -2147483648;
+
+    notificationDict = {
+        number: numberToSet
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.number, numberToSet, "number attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html
new file mode 100755 (executable)
index 0000000..5218312
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_-1_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_-1_BYTE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = -1, progressTypeToSet = "BYTE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html
new file mode 100755 (executable)
index 0000000..4334d27
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_0_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_0_BYTE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "BYTE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..8dd9e44
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_0_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_0_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "PERCENTAGE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..e629059
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_100_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_100_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = 100, progressTypeToSet = "PERCENTAGE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html
new file mode 100755 (executable)
index 0000000..36f0854
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_max_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_max_BYTE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = 4294967295, progressTypeToSet = "BYTE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html
new file mode 100755 (executable)
index 0000000..0b2207a
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_detailInfo_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_detailInfo_attribute
+//==== LABEL Check if attribute detailInfo of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:detailInfo A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE ASG AT ADV
+
+test(function () {
+    var statusNotification, statusNotificationType = "SIMPLE",
+        newValue, i, statusNotificationDefault;
+
+    newValue = [
+        new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
+        new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
+    ];
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "detailInfo", "StatusNotification doesn't own detailInfo property.");
+
+    assert_equals(statusNotification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+    assert_type(statusNotification.detailInfo, "array", "statusNotification.detailInfo should by array");
+    assert_true(statusNotification.detailInfo[0] instanceof tizen.NotificationDetailInfo, "NotificationDetailInfo instanceOf.");
+    for (i = 0; i < detailInfoToSet.length; i++) {
+        assert_equals(statusNotification.detailInfo[i].mainText, detailInfoToSet[i].mainText,
+            "detailInfo.mainText attribute for index = " + i + ".");
+        assert_equals(statusNotification.detailInfo[i].subText, detailInfoToSet[i].subText,
+            "detailInfo.subText attribute for index = " + i + ".");
+    }
+
+    statusNotification.detailInfo = newValue;
+    assert_equals(statusNotification.detailInfo.length, newValue.length,
+        "detailInfo attribute length after assignment is incorrect.");
+    for (i = 0; i < newValue.length; i++) {
+        assert_equals(statusNotification.detailInfo[i].mainText, newValue[i].mainText,
+            "detailInfo.mainText attribute for index = " + i + " not assigned.");
+        assert_equals(statusNotification.detailInfo[i].subText, newValue[i].subText,
+            "detailInfo.subText attribute for index = " + i + " not assigned.");
+    }
+
+    statusNotification.detailInfo = null;
+    assert_equals(statusNotification.detailInfo, null, "detailInfo attribute cannot be assigned with null.");
+
+    statusNotificationDefault = new tizen.StatusNotification(statusNotificationType, titleToSet);
+    assert_type(statusNotificationDefault.detailInfo, "array", "statusNotificationDefault.detailInfo should by array");
+    assert_equals(statusNotificationDefault.detailInfo.length, 0, "statusNotificationDefault.detailInfo.length should by 0");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html
new file mode 100755 (executable)
index 0000000..75eed17
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>StatusNotification_exist</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: StatusNotification_exist
+//==== LABEL Check if StatusNotification exists
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRF
+
+test(function () {
+    check_constructor("StatusNotification");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html
new file mode 100755 (executable)
index 0000000..4baba98
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_extend</title>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_extend
+//==== LABEL Check if StatusNotification is extendable
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:StatusNotification U
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
+
+test(function () {
+    check_extensibility(new tizen.StatusNotification("SIMPLE", "Title"));
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html
new file mode 100755 (executable)
index 0000000..47939b4
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_iconPath_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_iconPath_attribute
+//==== LABEL Check if attribute iconPath of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:iconPath A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS", invalidPath = "invalidPath";
+
+    notificationDict.progressType = "PERCENTAGE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "iconPath", "StatusNotification doesn't own iconPath property.");
+    assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath attribute not set.");
+    statusNotification.iconPath = iconPathToSet2;
+    assert_equals(statusNotification.iconPath, iconPathToSet2, "iconPath attribute cannot be assigned.");
+
+    statusNotification.iconPath = invalidPath;
+    assert_equals(statusNotification.iconPath, invalidPath, "iconPath attribute - invalid path.");
+
+    statusNotification.iconPath = null;
+    assert_equals(statusNotification.iconPath, null, "iconPath attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html
new file mode 100755 (executable)
index 0000000..27e7e7a
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Piotr Szydelko <p.szydelko@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_ledColor_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_ledColor_attribute
+//==== LABEL Check if attribute ledColor of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledColor A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, newValue = "#00ff00", statusNotificationType = "SIMPLE";
+
+    notificationDict.ledColor = "#ff0000";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "ledColor", "StatusNotification doesn't own ledColor property.");
+    assert_type(statusNotification.ledColor, "string", "statusNotificationType.ledColor type should be string");
+    assert_equals(statusNotification.ledColor, notificationDict.ledColor.toLowerCase(), "statusNotification.ledColor");
+
+    statusNotification.ledColor = null;
+    assert_equals(statusNotification.ledColor, null, "statusNotification.ledColor after set null");
+
+    statusNotification.ledColor = newValue;
+    assert_equals(statusNotification.ledColor.toLowerCase(), newValue.toLowerCase(), "statusNotification.ledColor after set");
+
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html
new file mode 100755 (executable)
index 0000000..25105d7
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Piotr Szydelko <p.szydelko@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_ledOffPeriod_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_ledOffPeriod_attribute
+//==== LABEL Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledOffPeriod A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG ADV AN
+
+test(function () {
+    var statusNotification, newValue = 125, statusNotificationType = "SIMPLE";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "ledOffPeriod",
+        "StatusNotification doesn't own ledOffPeriod property.");
+    assert_type(statusNotification.ledOffPeriod, "unsigned long",
+        "statusNotification.ledOffPeriod should be number");
+    assert_equals(statusNotification.ledOffPeriod, 0,
+        "statusNotification.ledOffPeriod default value");
+
+    statusNotification.ledOffPeriod = newValue;
+    assert_equals(statusNotification.ledOffPeriod, newValue,
+        "statusNotification.ledOffPeriod value after set");
+
+    notificationDict.ledOffPeriod = 100;
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_equals(statusNotification.ledOffPeriod, notificationDict.ledOffPeriod,
+        "statusNotification.ledOffPeriod value from constructor");
+    check_not_nullable(statusNotification, "ledOffPeriod");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html
new file mode 100755 (executable)
index 0000000..8c25cb0
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Piotr Szydelko <p.szydelko@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_ledOnPeriod_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_ledOnPeriod_attribute
+//==== LABEL Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledOnPeriod A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG ADV AN
+
+test(function () {
+    var statusNotification, newValue = 125, statusNotificationType = "SIMPLE";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "ledOnPeriod",
+        "StatusNotification doesn't own statusType property.");
+    assert_type(statusNotification.ledOnPeriod, "unsigned long",
+        "statusNotification.ledOnPeriod should be number");
+    assert_equals(statusNotification.ledOnPeriod, 0,
+        "statusNotification.ledOnPeriod default value");
+
+    statusNotification.ledOnPeriod = newValue;
+    assert_equals(statusNotification.ledOnPeriod, newValue,
+        "statusNotification.ledOnPeriod value after set");
+
+    notificationDict.ledOnPeriod = 100;
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_equals(statusNotification.ledOnPeriod, notificationDict.ledOnPeriod,
+        "statusNotification.ledOnPeriod value from constructor");
+    check_not_nullable(statusNotification, "ledOnPeriod");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html
new file mode 100755 (executable)
index 0000000..4df64de
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_number_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_number_attribute
+//==== LABEL Check if attribute number of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:number A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS";
+
+    notificationDict.progressType = "BYTE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "number", "StatusNotification doesn't own number property.");
+    assert_equals(statusNotification.number, numberToSet, "number attribute not set.");
+    statusNotification.number = 54;
+    assert_equals(statusNotification.number, 54, "number attribute cannot be assigned.");
+    statusNotification.number = 0;
+    assert_equals(statusNotification.number, 0, "number attribute cannot be assigned - zero value");
+    statusNotification.number = -1;
+    assert_equals(statusNotification.number, -1, "number attribute cannot be assigned - minus one value");
+
+    statusNotification.number = -2147483648;
+    assert_equals(statusNotification.number, -2147483648, "number attribute cannot be assigned -> -2147483648 value");
+
+    statusNotification.number = 2147483647;
+    assert_equals(statusNotification.number, 2147483647, "number attribute cannot be assigned -> 2147483647 value");
+
+    statusNotification.number = null;
+    assert_equals(statusNotification.number, null, "number attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html
new file mode 100755 (executable)
index 0000000..b5171b8
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_progressType_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_progressType_attribute
+//==== LABEL Check if attribute progressType of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressType A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG AN ADV
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS",
+        byteValue = "BYTE", percentageValue = "PERCENTAGE", conversionTable,
+        i, invalidProgressType;
+
+    notificationDict.progressType = byteValue;
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "progressValue", "StatusNotification doesn't own progressValue property.");
+
+    assert_equals(statusNotification.progressType, byteValue, "progressValue attribute not set.");
+
+    statusNotification.progressType = percentageValue;
+    assert_equals(statusNotification.progressType, percentageValue, "progressValue attribute - assignment.");
+
+    conversionTable = getTypeConversionExceptions("enum", true);
+    for(i = 0; i < conversionTable.length; i++) {
+        invalidProgressType = conversionTable[i][0];
+
+        statusNotification.progressType = invalidProgressType;
+        assert_equals(statusNotification.progressType, percentageValue, "progressValue attribute - invalid value assignment.");
+    }
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
+    assert_equals(statusNotification.progressType, "PERCENTAGE", "progressValue attribute default not set.");
+    check_not_nullable(statusNotification, "progressType");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html
new file mode 100755 (executable)
index 0000000..8ac8369
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_progressValue_attribute_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_progressValue_attribute_BYTE
+//==== LABEL Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressValue A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS";
+    notificationDict.progressType = "BYTE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "progressValue", "StatusNotification doesn't own progressValue property.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute not set.");
+    statusNotification.progressValue = 0;
+    assert_equals(statusNotification.progressValue, 0, "progressValue attribute - assigned 0 value.");
+    statusNotification.progressValue = 1;
+    assert_equals(statusNotification.progressValue, 1, "progressValue attribute - assigned 1 value.");
+    statusNotification.progressValue = 100;
+    assert_equals(statusNotification.progressValue, 100, "progressValue attribute - assigned 100 value.");
+    statusNotification.progressValue = 101;
+    assert_equals(statusNotification.progressValue, 101, "progressValue attribute - assigned 101 value.");
+    statusNotification.progressValue = 4294967295;
+    assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute - assigned 4294967295 value.");
+
+    statusNotification.progressValue = -1;
+    assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute -> minus one changed value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..1733866
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_progressValue_attribute_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_progressValue_attribute_PERCENTAGE
+//==== LABEL Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressValue A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS";
+    notificationDict.progressType = "PERCENTAGE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "progressValue", "StatusNotification doesn't own progressValue property.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute not set.");
+    statusNotification.progressValue = 0;
+    assert_equals(statusNotification.progressValue, 0, "progressValue attribute - assigned 0 value.");
+    statusNotification.progressValue = 1;
+    assert_equals(statusNotification.progressValue, 1, "progressValue attribute - assigned 1 value.");
+    statusNotification.progressValue = 100;
+    assert_equals(statusNotification.progressValue, 100, "progressValue attribute - assigned 100 value.");
+
+    statusNotification.progressValue = 101;
+    assert_equals(statusNotification.progressValue, 100, "progressValue attribute - 101 value.");
+
+    statusNotification.progressValue = -1;
+    assert_equals(statusNotification.progressValue, 100, "progressValue attribute -> -1 value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html
new file mode 100755 (executable)
index 0000000..65ab1de
--- /dev/null
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_soundPath_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_soundPath_attribute
+//==== LABEL Check if attribute soundPath of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:soundPath A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "ONGOING", invalidPath = "invalidPath";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "soundPath", "StatusNotification doesn't own soundPath property.");
+    assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath attribute not set.");
+    statusNotification.soundPath = soundPathToSet2;
+    assert_equals(statusNotification.soundPath, soundPathToSet2, "soundPath attribute cannot be assigned.");
+
+    statusNotification.soundPath = invalidPath;
+    assert_equals(statusNotification.soundPath, invalidPath, "soundPath attribute - invalid path.");
+
+    statusNotification.soundPath = null;
+    assert_equals(statusNotification.soundPath, null, "soundPath attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html
new file mode 100755 (executable)
index 0000000..28cf965
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_statusType_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_statusType_attribute
+//==== LABEL Check if attribute statusType of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:statusType A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+    var statusNotification, newValue = "ONGOING", statusNotificationType = "PROGRESS";
+
+    notificationDict.progressType = "BYTE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "statusType", "StatusNotification doesn't own statusType property.");
+    check_readonly(statusNotification, "statusType", statusNotificationType, "string", newValue);
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html
new file mode 100755 (executable)
index 0000000..208172a
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_subIconPath_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_subIconPath_attribute
+//==== LABEL Check if attribute subIconPath of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:subIconPath A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS", invalidPath = "invalidPath";
+
+    notificationDict.progressType = "PERCENTAGE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "subIconPath", "StatusNotification doesn't own subIconPath property.");
+    assert_equals(statusNotification.subIconPath, subIconPathToSet, "subIconPath attribute not set.");
+    statusNotification.subIconPath = subIconPathToSet2;
+    assert_equals(statusNotification.subIconPath, subIconPathToSet2, "subIconPath attribute cannot be assigned.");
+
+    statusNotification.subIconPath = invalidPath;
+    assert_equals(statusNotification.subIconPath, invalidPath, "subIconPath attribute - invalid path.");
+
+    statusNotification.subIconPath = null;
+    assert_equals(statusNotification.subIconPath, null, "subIconPath attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html
new file mode 100755 (executable)
index 0000000..0d0fec5
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_thumbnails_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_thumbnails_attribute
+//==== LABEL Check if attribute thumbnails of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:thumbnails A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE ASG AT ADV
+
+test(function () {
+    var statusNotification, statusNotificationType = "THUMBNAIL", statusNotificationDefault,
+        newValue = [thumbnailToSet5, thumbnailToSet6, thumbnailToSet7, thumbnailToSet8],
+        newValueWithIncorrectPath = ["images/webapi-tizen-notification-test_thumbnail9.jpg", "invalidPath"];
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_type(statusNotification.thumbnails, "array", "statusNotification.thumbnails should by array");
+    assert_own_property(statusNotification, "thumbnails", "StatusNotification doesn't own thumbnails property.");
+    assert_array_equals(statusNotification.thumbnails, thumbnailsToSet,
+            "thumbnails attribute.");
+
+    statusNotification.thumbnails = newValue;
+    assert_array_equals(statusNotification.thumbnails, newValue,
+            "thumbnails attribute cannot be assigned.");
+
+    statusNotification.thumbnails = newValueWithIncorrectPath;
+    assert_array_equals(statusNotification.thumbnails, newValueWithIncorrectPath,
+            "thumbnails attribute - invalid path cannot be assigned.");
+
+    statusNotification.thumbnails = null;
+    assert_equals(statusNotification.thumbnails, null, "thumbnails attribute cannot be assigned with null.");
+
+    statusNotificationDefault = new tizen.StatusNotification(statusNotificationType, titleToSet);
+    assert_type(statusNotificationDefault.thumbnails, "array", "statusNotificationDefault.detailInfo should by array");
+    assert_equals(statusNotificationDefault.thumbnails.length, 0, "statusNotificationDefault.detailInfo.length should by 0");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html
new file mode 100755 (executable)
index 0000000..d8dd271
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_vibration_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_vibration_attribute
+//==== LABEL Check if attribute vibration of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:vibration A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG AN ADV
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS", newValue = !vibrationToSet;
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "vibration", "StatusNotification doesn't own vibration property.");
+    assert_equals(statusNotification.vibration, vibrationToSet, "vibration attribute not set.");
+    statusNotification.vibration = newValue;
+    assert_equals(statusNotification.vibration, newValue, "vibration attribute cannot be assigned.");
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
+    assert_equals(statusNotification.vibration, false, "vibration attribute default check.");
+    check_not_nullable(statusNotification, "vibration");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html
deleted file mode 100755 (executable)
index 057295d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Roman Frolow <r.frolow@samsung.com>
-
--->
-<html>
-<head>
-<title>SystemInfoStorageUnit_isRemoveable_attribute</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SystemInfoStorageUnit_isRemoveable_attribute
-//==== LABEL Check if attribute isRemoveable of SystemInfoStorageUnit exists, has type Boolean and is readonly
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoStorageUnit:isRemoveable A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    getPropertyValueSuccess, getPropertyValueError;
-t.step(function () {
-    getPropertyValueSuccess = t.step_func(function (property) {
-        assert_own_property(property, "units", "No units property.");
-        assert_true(Array.isArray(property.units),
-            "SystemInfoStorage_units is not an array");
-        assert_true(property.units.length > 0, "No available units.");
-        assert_own_property(property.units[0], "isRemoveable", "SystemInfoStorageUnit does not own isRemoveable property.");
-        check_readonly(property.units[0], "isRemoveable", property.units[0].isRemoveable, "boolean", null);
-        t.done();
-    });
-    getPropertyValueError = t.step_func(function (error) {
-        assert_unreached("getPropertyValue() error callback invoked: name: " +
-            error.name + ", msg: " + error.message);
-    });
-
-    tizen.systeminfo.getPropertyValue("STORAGE", getPropertyValueSuccess,
-        getPropertyValueError);
-});
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities.html
deleted file mode 100755 (executable)
index c01ace5..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Roman Frolow <r.frolow@samsung.com>
-
--->
-<html>
-<head>
-<title>SystemInfo_getCapabilities</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/systeminfo_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SystemInfo_getCapabilities
-//==== LABEL Check method getCapabilities of SystemInfo
-//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getCapabilities M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
-//==== TEST_CRITERIA MNA MR
-
-test(function () {
-    var deviceCapabilities = tizen.systeminfo.getCapabilities(), i;
-    for(i = 0; i < SystemInfoDeviceCapability.length; i++) {
-        assert_true(SystemInfoDeviceCapability[i] in deviceCapabilities,
-            "There is no "+SystemInfoDeviceCapability[i]+
-            " attribute in tizen.systeminfo.getCapabilities().");
-    }
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_exist.html
deleted file mode 100755 (executable)
index af4cb33..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Roman Frolow <r.frolow@samsung.com>
-
--->
-<html>
-<head>
-<title>SystemInfo_getCapabilities_exist</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: SystemInfo_getCapabilities_exist
-//==== LABEL Check if method getCapabilities of SystemInfo exists
-//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getCapabilities M
-//==== TEST_CRITERIA ME
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
-test(function () {
-    assert_true("getCapabilities" in tizen.systeminfo, "No getCapabilities method in tizen.systeminfo.");
-    check_method_exists(tizen.systeminfo, "getCapabilities");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_extra_argument.html
deleted file mode 100755 (executable)
index cf744a5..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Roman Frolow <r.frolow@samsung.com>
-
--->
-<html>
-<head>
-<title>SystemInfo_getCapabilities_extra_argument</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SystemInfo_getCapabilities_extra_argument
-//==== LABEL Check if method getCapabilities of SystemInfo accepts extra argument
-//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getCapabilities M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
-//==== TEST_CRITERIA MNAEX
-
-test(function () {
-    checkExtraArgument(tizen.systeminfo, "getCapabilities");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html
deleted file mode 100755 (executable)
index cbc5804..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
-
--->
-<html>
-<head>
-<title>TZDate_getTimezoneAbbreviation</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: TZDate_getTimezoneAbbreviation
-//==== LABEL Check if TZDate::getTimezoneAbbreviation() returns a string
-//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA
-
-test(function () {
-    var currentTZDate = tizen.time.getCurrentDateTime(), returnedValue;
-    returnedValue = currentTZDate.getTimezoneAbbreviation();
-    assert_type(returnedValue, "string", "type check");
-    assert_not_equals(returnedValue, null, "null check");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html
deleted file mode 100755 (executable)
index 61c2800..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
--->
-
-<html>
-
-<head>
-<title>TZDate_getTimezoneAbbreviation_exist</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/time_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: TZDate_getTimezoneAbbreviation_exist
-//==== LABEL Check if getTimezoneAbbreviation() method exists in TZDate
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== TEST_CRITERIA ME
-test(function () {
-    var currentTZDate = tizen.time.getCurrentDateTime();
-    assert_true("getTimezoneAbbreviation" in currentTZDate, "getTimezoneAbbreviation method exists");
-    check_method_exists(currentTZDate, "getTimezoneAbbreviation");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html
deleted file mode 100755 (executable)
index ebda1d0..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
-
--->
-<html>
-<head>
-<title>TZDate_getTimezoneAbbreviation_extra_argument</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: TZDate_getTimezoneAbbreviation_extra_argument
-//==== LABEL Check if TZDate::getTimezoneAbbreviation() method accepts extra argument
-//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    var currentTZDate = tizen.time.getCurrentDateTime();
-    checkExtraArgument(currentTZDate, "getTimezoneAbbreviation");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html
deleted file mode 100755 (executable)
index af48533..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Cici Li <cici.x.li@intel.com>
-        Jenny Cao <jenny.q.cao@intel.com>
-        Han, JingX <jingx.han@intel.com>
-
--->
-
-<html>
-<head>
-<title>Time_TZDate_getTimezoneAbbreviation_summerMonth</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: Time_TZDate_getTimezoneAbbreviation_summerMonth
-//==== LABEL Check if TZDate.getTimezoneAbbreviation() works properly
-//==== SPEC Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MR
-test(function () {
-    var td = new tizen.TZDate(2013, 8, 1, 1, 1, 1, 1, "America/New_York");
-    assert_equals(td.getTimezoneAbbreviation(), "EDT", "timezoneAbbreviation check");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..f31e93d
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_FileStreamSuccessCallback_onsuccess</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_FileStreamSuccessCallback_onsuccess
+//==== PRIORITY P1
+//==== LABEL Test whether FileStreamSuccessCallback::onsuccess is called with valid argument
+//==== 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    fsTestFileName = getFileName("successFile.txt");
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_not_equals(fs, null, "fs should not be null");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html
new file mode 100755 (executable)
index 0000000..40a6f55
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_File_copyTo</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_File_copyTo
+//==== LABEL Check if File::copyTo() can be called
+//==== 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
+
+var t = async_test(document.title),
+    createFile, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    fsTestFileName = getFileName("copyFile.txt");
+
+t.step(function (){
+    copyToSuccess = t.step_func(function () {
+        t.done();
+    });
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        createFile = dir.createFile(fsTestFileName);
+        dir.copyTo(createFile.fullPath, "downloads/" + createFile.name, true, copyToSuccess, copyToError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html
new file mode 100755 (executable)
index 0000000..619efe8
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_File_readAsText</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_File_readAsText
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method 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
+
+var t = async_test(document.title), text = "test write method",
+    testFile, resolveSuccess, resolveError, openStreamSuccess, openStreamError,
+    readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html
new file mode 100755 (executable)
index 0000000..910a51a
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_File_resolve</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_File_resolve
+//==== PRIORITY P1
+//==== LABEL Check if File::resolve() method called for a file returns 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, expected = "object", handle,
+    fsTestFileName = getFileName("resolve.doc");
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createFile(fsTestFileName);
+        handle = dir.resolve(fsTestFileName);
+        assert_equals(typeof(handle), expected, "resolve a file and return a file handle");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_exit.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_exit.html
deleted file mode 100755 (executable)
index 9e980f5..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-<meta name="description" content="tct-application-tizen-tests"/>
-
-<title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-<header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_exit.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-</header>
-
-<script type="text/javascript">
-var application, request, timeout = 1000;
-
-application = tizen.application.getCurrentApplication();
-request = application.getRequestedAppControl();
-
-if (request) {
-    if (request.appControl.data[0].key === "timeout") {
-        timeout = parseInt(request.appControl.data[0].value[0]);
-    }
-
-    request.replyResult();
-
-    setTimeout(function () {
-        application.exit();
-    }, timeout);
-
-} else  {
-    document.getElementById("info").innerHTML="RequestedAppControl not found";
-}
-
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch.html
deleted file mode 100755 (executable)
index b1f6e93..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-<script>
-var init = function () {
-    // add eventListener for tizenhwkey
-    document.addEventListener('tizenhwkey', function(e) {
-        if(e.keyName == "back") {
-            try {
-                tizen.application.getCurrentApplication().exit();
-            } catch (error) {
-                console.error("getCurrentApplication(): " + error.message);
-            }
-        }
-    });
-};
-window.onload = init;
-</script>
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_launch.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch_explicit.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch_explicit.html
deleted file mode 100755 (executable)
index 8013411..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_launch.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_failure.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_failure.html
deleted file mode 100755 (executable)
index bd4d597..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_reply_failure.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-  </header>
-
-<script type="text/javascript">
-    var application, request, dataArray, tests = {};
-
-    tests["RequestedApplicationControl_replyFailure"] = function (request) {
-        request.replyFailure();
-    };
-
-    // check only null because not able to invoke replyFailure() multiple times
-    tests["RequestedApplicationControl_replyFailure_extra_argument"] = function (request) {
-        request.replyFailure(null);
-    };
-
-    application = tizen.application.getCurrentApplication();
-    request = application.getRequestedAppControl();
-
-    if (request) {
-        dataArray = request.appControl.data;
-
-        if (dataArray.length > 0 && dataArray[0].key === "testName") {
-            tests[dataArray[0].value[0]](request);
-        } else {
-            request.replyFailure();
-        }
-    } else  {
-        document.getElementById("info").innerHTML="RequestedAppControl not found";
-    }
-
-</script>  
-
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result.html
deleted file mode 100755 (executable)
index c1374c8..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_reply_result.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-  </header>
-
-<script type="text/javascript">
-    var application, request;
-    application = tizen.application.getCurrentApplication();
-    request = application.getRequestedAppControl();
-
-    if (request) {
-        request.replyResult();
-    } else  {
-        document.getElementById("info").innerHTML="RequestedAppControl not found";
-    }
-</script>  
-
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result_with_data.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result_with_data.html
deleted file mode 100755 (executable)
index 839e943..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_reply_result_with_data.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-  </header>
-
-<script type="text/javascript">
-    var application, request;
-    application = tizen.application.getCurrentApplication();
-    request = application.getRequestedAppControl();
-
-    if (request) {
-        request.replyResult(request.appControl.data);
-    } else  {
-        document.getElementById("info").innerHTML="RequestedAppControl not found";
-    }
-</script>  
-
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_run_test.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_run_test.html
deleted file mode 100755 (executable)
index eecbabc..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>appcontrol_run_test</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-    <script src="resources/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-var application, requestedAppControl, testName, resultData;
-
-add_result_callback(function (result) {
-    resultData = [
-        new tizen.ApplicationControlData("status", [result.status]),
-        new tizen.ApplicationControlData("message", [result.message])
-    ];
-
-    requestedAppControl.replyResult(resultData);
-});
-
-application = tizen.application.getCurrentApplication();
-requestedAppControl = application.getRequestedAppControl();
-testName = requestedAppControl.appControl.uri.substring("tct://".length);
-
-document.write("<script language=\"javascript\" src=\"tests/" + testName + ".js\"><\/script>");
-</script>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/config.xml b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/config.xml
deleted file mode 100755 (executable)
index d1d9575..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppControl" version="1.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-        <tizen:uri name="tct"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch_explicit.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch/explicit"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_reply_result.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/reply_result"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_reply_result_with_data.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/reply_result/data"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_reply_failure.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/reply_failure"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_run_test.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/run_test"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="application/javascript"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_exit.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/exit"/>
-    </tizen:app-control>
-    <tizen:application id="api1appli1.TCTAppControl" package="api1appli1" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppControl</name>
-    <tizen:metadata key="testKey1" value="testValue1"/>
-    <tizen:metadata key="testKey2" value="testValue2"/>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/css/style.css b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/index.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/index.html
deleted file mode 100755 (executable)
index 26f0928..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body bgcolor="FFFFFF" >
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/manifest.json b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/manifest.json
deleted file mode 100755 (executable)
index 7eb40b2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppControl", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppControl", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "2.2.1", 
-    "webapimanager": true
-}
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/COPYING b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/COPYING
deleted file mode 100755 (executable)
index bd84625..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-All test files under this folder except COPYING, Makefile.am and blacklist.* come from
-https://github.com/w3c/testharness.js (commit 81649066b179216eed02dfb58f631eb8bb6c7629)
-without any modification besides the necessary adjustment on reference path to test harness
-
-These tests are copyright by W3C and/or the author listed in the test
-file. The tests are dual-licensed under the W3C Test Suite License:
-http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
-and the BSD 3-clause License:
-http://www.w3.org/Consortium/Legal/2008/03-bsd-license
-under W3C's test suite licensing policy:
-http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright
-
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.css b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-html {
-    font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;
-}
-
-#log .warning,
-#log .warning a {
-  color: black;
-  background: yellow;
-}
-
-#log .error,
-#log .error a {
-  color: white;
-  background: red;
-}
-
-#log pre {
-  border: 1px solid black;
-  padding: 1em;
-}
-
-section#summary {
-    margin-bottom:1em;
-}
-
-table#results {
-    border-collapse:collapse;
-    table-layout:fixed;
-    width:100%;
-}
-
-table#results th:first-child,
-table#results td:first-child {
-    width:4em;
-}
-
-table#results th:last-child,
-table#results td:last-child {
-    width:50%;
-}
-
-table#results.assertions th:last-child,
-table#results.assertions td:last-child {
-    width:35%;
-}
-
-table#results th {
-    padding:0;
-    padding-bottom:0.5em;
-    border-bottom:medium solid black;
-}
-
-table#results td {
-    padding:1em;
-    padding-bottom:0.5em;
-    border-bottom:thin solid black;
-}
-
-tr.pass > td:first-child {
-    color:green;
-}
-
-tr.fail > td:first-child {
-    color:red;
-}
-
-tr.timeout > td:first-child {
-    color:red;
-}
-
-tr.notrun > td:first-child {
-    color:blue;
-}
-
-.pass > td:first-child, .fail > td:first-child, .timeout > td:first-child, .notrun > td:first-child {
-    font-variant:small-caps;
-}
-
-table#results span {
-    display:block;
-}
-
-table#results span.expected {
-    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
-    white-space:pre;
-}
-
-table#results span.actual {
-    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
-    white-space:pre;
-}
-
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.js
deleted file mode 100755 (executable)
index 4c77573..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-Distributed under both the W3C Test Suite License [1] and the W3C
-3-clause BSD License [2]. To contribute to a W3C Test Suite, see the
-policies and contribution forms [3].
-
-[1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
-[2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license
-[3] http://www.w3.org/2004/10/27-testcases
-*/
-
-/*
- * == Introduction ==
- *
- * This file provides a framework for writing testcases. It is intended to
- * provide a convenient API for making common assertions, and to work both
- * for testing synchronous and asynchronous DOM features in a way that
- * promotes clear, robust, tests.
- *
- * == Basic Usage ==
- *
- * To use this file, import the script and the testharnessreport script into
- * the test document:
- * <script src="/resources/testharness.js"></script>
- * <script src="/resources/testharnessreport.js"></script>
- *
- * Within each file one may define one or more tests. Each test is atomic
- * in the sense that a single test has a single result (pass/fail/timeout).
- * Within each test one may have a number of asserts. The test fails at the
- * first failing assert, and the remainder of the test is (typically) not run.
- *
- * If the file containing the tests is a HTML file with an element of id "log"
- * this will be populated with a table containing the test results after all
- * the tests have run.
- *
- * NOTE: By default tests must be created before the load event fires. For ways
- *       to create tests after the load event, see "Determining when all tests
- *       are complete", below
- *
- * == Synchronous Tests ==
- *
- * To create a synchronous test use the test() function:
- *
- * test(test_function, name, properties)
- *
- * test_function is a function that contains the code to test. For example a
- * trivial passing test would be:
- *
- * test(function() {assert_true(true)}, "assert_true with true")
- *
- * The function passed in is run in the test() call.
- *
- * properties is an object that overrides default test properties. The
- * recognised properties are:
- *    timeout - the test timeout in ms
- *
- * e.g.
- * test(test_function, "Sample test", {timeout:1000})
- *
- * would run test_function with a timeout of 1s.
- *
- * Additionally, test-specific metadata can be passed in the properties. These
- * are used when the individual test has different metadata from that stored 
- * in the <head>.
- * The recognized metadata properties are:
- *
- *    help - The url of the part of the specification being tested
- *
- *    assert - A human readable description of what the test is attempting 
- *             to prove
- *
- *    author - Name and contact information for the author of the test in the
- *             format: "Name <email_addr>" or "Name http://contact/url"
- *
- * == Asynchronous Tests ==
- *
- * Testing asynchronous features is somewhat more complex since the result of
- * a test may depend on one or more events or other callbacks. The API provided
- * for testing these features is indended to be rather low-level but hopefully
- * applicable to many situations.
- *
- * To create a test, one starts by getting a Test object using async_test:
- *
- * async_test(name, properties)
- *
- * e.g.
- * var t = async_test("Simple async test")
- *
- * Assertions can be added to the test by calling the step method of the test
- * object with a function containing the test assertions:
- *
- * t.step(function() {assert_true(true)});
- *
- * When all the steps are complete, the done() method must be called:
- *
- * t.done();
- *
- * As a convenience, async_test can also takes a function as first argument.
- * This function is called with the test object as both its `this` object and
- * first argument. The above example can be rewritten as:
- *
- * async_test(function(t) {
- *     object.some_event = function() {
- *         t.step(function (){assert_true(true); t.done();});
- *     };
- * }, "Simple async test");
- *
- * which avoids cluttering the global scope with references to async
- * tests instances.
- *
- * The properties argument is identical to that for test().
- *
- * In many cases it is convenient to run a step in response to an event or a
- * callback. A convenient method of doing this is through the step_func method
- * which returns a function that, when called runs a test step. For example
- *
- * object.some_event = t.step_func(function(e) {assert_true(e.a)});
- *
- * == Making assertions ==
- *
- * Functions for making assertions start assert_
- * The best way to get a list is to look in this file for functions names
- * matching that pattern. The general signature is
- *
- * assert_something(actual, expected, description)
- *
- * although not all assertions precisely match this pattern e.g. assert_true
- * only takes actual and description as arguments.
- *
- * The description parameter is used to present more useful error messages when
- * a test fails
- *
- * NOTE: All asserts must be located in a test() or a step of an async_test().
- *       asserts outside these places won't be detected correctly by the harness
- *       and may cause a file to stop testing.
- *
- * == Setup ==
- *
- * Sometimes tests require non-trivial setup that may fail. For this purpose
- * there is a setup() function, that may be called with one or two arguments.
- * The two argument version is:
- *
- * setup(func, properties)
- *
- * The one argument versions may omit either argument.
- * func is a function to be run synchronously. setup() becomes a no-op once
- * any tests have returned results. Properties are global properties of the test
- * harness. Currently recognised properties are:
- *
- * timeout - The time in ms after which the harness should stop waiting for
- *           tests to complete (this is different to the per-test timeout
- *           because async tests do not start their timer until .step is called)
- *
- * explicit_done - Wait for an explicit call to done() before declaring all
- *                 tests complete (see below)
- *
- * output_document - The document to which results should be logged. By default
- *                   this is the current document but could be an ancestor
- *                   document in some cases e.g. a SVG test loaded in an HTML
- *                   wrapper
- *
- * explicit_timeout - disable file timeout; only stop waiting for results
- *                    when the timeout() function is called (typically for
- *                    use when integrating with some existing test framework
- *                    that has its own timeout mechanism).
- *
- * == Determining when all tests are complete ==
- *
- * By default the test harness will assume there are no more results to come
- * when:
- * 1) There are no Test objects that have been created but not completed
- * 2) The load event on the document has fired
- *
- * This behaviour can be overridden by setting the explicit_done property to
- * true in a call to setup(). If explicit_done is true, the test harness will
- * not assume it is done until the global done() function is called. Once done()
- * is called, the two conditions above apply like normal.
- *
- * == Generating tests ==
- *
- * NOTE: this functionality may be removed
- *
- * There are scenarios in which is is desirable to create a large number of
- * (synchronous) tests that are internally similar but vary in the parameters
- * used. To make this easier, the generate_tests function allows a single
- * function to be called with each set of parameters in a list:
- *
- * generate_tests(test_function, parameter_lists, properties)
- *
- * For example:
- *
- * generate_tests(assert_equals, [
- *     ["Sum one and one", 1+1, 2],
- *     ["Sum one and zero", 1+0, 1]
- *     ])
- *
- * Is equivalent to:
- *
- * test(function() {assert_equals(1+1, 2)}, "Sum one and one")
- * test(function() {assert_equals(1+0, 1)}, "Sum one and zero")
- *
- * Note that the first item in each parameter list corresponds to the name of
- * the test.
- *
- * The properties argument is identical to that for test(). This may be a 
- * single object (used for all generated tests) or an array.
- *
- * == Callback API ==
- *
- * The framework provides callbacks corresponding to 3 events:
- *
- * start - happens when the first Test is created
- * result - happens when a test result is recieved
- * complete - happens when all results are recieved
- *
- * The page defining the tests may add callbacks for these events by calling
- * the following methods:
- *
- *   add_start_callback(callback) - callback called with no arguments
- *   add_result_callback(callback) - callback called with a test argument
- *   add_completion_callback(callback) - callback called with an array of tests
- *                                       and an status object
- *
- * tests have the following properties:
- *   status: A status code. This can be compared to the PASS, FAIL, TIMEOUT and
- *           NOTRUN properties on the test object
- *   message: A message indicating the reason for failure. In the future this
- *            will always be a string
- *
- *  The status object gives the overall status of the harness. It has the
- *  following properties:
- *    status: Can be compared to the OK, ERROR and TIMEOUT properties
- *    message: An error message set when the status is ERROR
- *
- * == External API ==
- *
- * In order to collect the results of multiple pages containing tests, the test
- * harness will, when loaded in a nested browsing context, attempt to call
- * certain functions in each ancestor and opener browsing context:
- *
- * start - start_callback
- * result - result_callback
- * complete - completion_callback
- *
- * These are given the same arguments as the corresponding internal callbacks
- * described above.
- *
- * == External API through cross-document messaging ==
- *
- * Where supported, the test harness will also send messages using
- * cross-document messaging to each ancestor and opener browsing context. Since
- * it uses the wildcard keyword (*), cross-origin communication is enabled and
- * script on different origins can collect the results.
- *
- * This API follows similar conventions as those described above only slightly
- * modified to accommodate message event API. Each message is sent by the harness
- * is passed a single vanilla object, available as the `data` property of the
- * event object. These objects are structures as follows:
- *
- * start - { type: "start" }
- * result - { type: "result", test: Test }
- * complete - { type: "complete", tests: [Test, ...], status: TestsStatus }
- *
- * == List of assertions ==
- *
- * assert_true(actual, description)
- *   asserts that /actual/ is strictly true
- *
- * assert_false(actual, description)
- *   asserts that /actual/ is strictly false
- *
- * assert_equals(actual, expected, description)
- *   asserts that /actual/ is the same value as /expected/
- *
- * assert_not_equals(actual, expected, description)
- *   asserts that /actual/ is a different value to /expected/. Yes, this means
- *   that "expected" is a misnomer
- *
- * assert_in_array(actual, expected, description)
- *   asserts that /expected/ is an Array, and /actual/ is equal to one of the
- *   members -- expected.indexOf(actual) != -1
- *
- * assert_array_equals(actual, expected, description)
- *   asserts that /actual/ and /expected/ have the same length and the value of
- *   each indexed property in /actual/ is the strictly equal to the corresponding
- *   property value in /expected/
- *
- * assert_approx_equals(actual, expected, epsilon, description)
- *   asserts that /actual/ is a number within +/- /epsilon/ of /expected/
- *
- * assert_less_than(actual, expected, description)
- *   asserts that /actual/ is a number less than /expected/
- *
- * assert_greater_than(actual, expected, description)
- *   asserts that /actual/ is a number greater than /expected/
- *
- * assert_less_than_equal(actual, expected, description)
- *   asserts that /actual/ is a number less than or equal to /expected/
- *
- * assert_greater_than_equal(actual, expected, description)
- *   asserts that /actual/ is a number greater than or equal to /expected/
- *
- * assert_regexp_match(actual, expected, description)
- *   asserts that /actual/ matches the regexp /expected/
- *
- * assert_class_string(object, class_name, description)
- *   asserts that the class string of /object/ as returned in
- *   Object.prototype.toString is equal to /class_name/.
- *
- * assert_own_property(object, property_name, description)
- *   assert that object has own property property_name
- *
- * assert_inherits(object, property_name, description)
- *   assert that object does not have an own property named property_name
- *   but that property_name is present in the prototype chain for object
- *
- * assert_idl_attribute(object, attribute_name, description)
- *   assert that an object that is an instance of some interface has the
- *   attribute attribute_name following the conditions specified by WebIDL
- *
- * assert_readonly(object, property_name, description)
- *   assert that property property_name on object is readonly
- *
- * assert_throws(code, func, description)
- *   code - the expected exception:
- *     o string: the thrown exception must be a DOMException with the given
- *               name, e.g., "TimeoutError" (for compatibility with existing
- *               tests, a constant is also supported, e.g., "TIMEOUT_ERR")
- *     o object: the thrown exception must have a property called "name" that
- *               matches code.name
- *     o null:   allow any exception (in general, one of the options above
- *               should be used)
- *   func - a function that should throw
- *
- * assert_unreached(description)
- *   asserts if called. Used to ensure that some codepath is *not* taken e.g.
- *   an event does not fire.
- *
- * assert_any(assert_func, actual, expected_array, extra_arg_1, ... extra_arg_N)
- *   asserts that one assert_func(actual, expected_array_N, extra_arg1, ..., extra_arg_N)
- *   is true for some expected_array_N in expected_array. This only works for assert_func
- *   with signature assert_func(actual, expected, args_1, ..., args_N). Note that tests
- *   with multiple allowed pass conditions are bad practice unless the spec specifically
- *   allows multiple behaviours. Test authors should not use this method simply to hide 
- *   UA bugs.
- *
- * assert_exists(object, property_name, description)
- *   *** deprecated ***
- *   asserts that object has an own property property_name
- *
- * assert_not_exists(object, property_name, description)
- *   *** deprecated ***
- *   assert that object does not have own property property_name
- */
-
-(function ()
-{
-    var debug = false;
-    // default timeout is 5 seconds, test can override if needed
-    var settings = {
-      output:true,
-      timeout:5000,
-      test_timeout:2000
-    };
-
-    var xhtml_ns = "http://www.w3.org/1999/xhtml";
-
-    // script_prefix is used by Output.prototype.show_results() to figure out
-    // where to get testharness.css from.  It's enclosed in an extra closure to
-    // not pollute the library's namespace with variables like "src".
-    var script_prefix = null;
-    (function ()
-    {
-        var scripts = document.getElementsByTagName("script");
-        for (var i = 0; i < scripts.length; i++)
-        {
-            if (scripts[i].src)
-            {
-                var src = scripts[i].src;
-            }
-            else if (scripts[i].href)
-            {
-                //SVG case
-                var src = scripts[i].href.baseVal;
-            }
-            if (src && src.slice(src.length - "testharness.js".length) === "testharness.js")
-            {
-                script_prefix = src.slice(0, src.length - "testharness.js".length);
-                break;
-            }
-        }
-    })();
-
-    /*
-     * API functions
-     */
-
-    var name_counter = 0;
-    function next_default_name()
-    {
-        //Don't use document.title to work around an Opera bug in XHTML documents
-        var prefix = document.getElementsByTagName("title").length > 0 ?
-                         document.getElementsByTagName("title")[0].firstChild.data :
-                         "Untitled";
-        var suffix = name_counter > 0 ? " " + name_counter : "";
-        name_counter++;
-        return prefix + suffix;
-    }
-
-    function test(func, name, properties)
-    {
-        var test_name = name ? name : next_default_name();
-        properties = properties ? properties : {};
-        var test_obj = new Test(test_name, properties);
-        test_obj.step(func);
-        if (test_obj.status === test_obj.NOTRUN) {
-            test_obj.done();
-        }
-    }
-
-    function async_test(func, name, properties)
-    {
-        if (typeof func !== "function") {
-            properties = name;
-            name = func;
-            func = null;
-        }
-        var test_name = name ? name : next_default_name();
-        properties = properties ? properties : {};
-        var test_obj = new Test(test_name, properties);
-        if (func) {
-            test_obj.step(func, test_obj, test_obj);
-        }
-        return test_obj;
-    }
-
-    function setup(func_or_properties, maybe_properties)
-    {
-        var func = null;
-        var properties = {};
-        if (arguments.length === 2) {
-            func = func_or_properties;
-            properties = maybe_properties;
-        } else if (func_or_properties instanceof Function){
-            func = func_or_properties;
-        } else {
-            properties = func_or_properties;
-        }
-        tests.setup(func, properties);
-        output.setup(properties);
-    }
-
-    function done() {
-        tests.end_wait();
-    }
-
-    function generate_tests(func, args, properties) {
-        forEach(args, function(x, i)
-                {
-                    var name = x[0];
-                    test(function()
-                         {
-                             func.apply(this, x.slice(1));
-                         }, 
-                         name, 
-                         Array.isArray(properties) ? properties[i] : properties);
-                });
-    }
-
-    function on_event(object, event, callback)
-    {
-      object.addEventListener(event, callback, false);
-    }
-
-    expose(test, 'test');
-    expose(async_test, 'async_test');
-    expose(generate_tests, 'generate_tests');
-    expose(setup, 'setup');
-    expose(done, 'done');
-    expose(on_event, 'on_event');
-
-    /*
-     * Return a string truncated to the given length, with ... added at the end
-     * if it was longer.
-     */
-    function truncate(s, len)
-    {
-        if (s.length > len) {
-            return s.substring(0, len - 3) + "...";
-        }
-        return s;
-    }
-
-    /*
-     * Convert a value to a nice, human-readable string
-     */
-    function format_value(val)
-    {
-        if (Array.isArray(val))
-        {
-            return "[" + val.map(format_value).join(", ") + "]";
-        }
-
-        switch (typeof val)
-        {
-        case "string":
-            val = val.replace("\\", "\\\\");
-            for (var i = 0; i < 32; i++)
-            {
-                var replace = "\\";
-                switch (i) {
-                case 0: replace += "0"; break;
-                case 1: replace += "x01"; break;
-                case 2: replace += "x02"; break;
-                case 3: replace += "x03"; break;
-                case 4: replace += "x04"; break;
-                case 5: replace += "x05"; break;
-                case 6: replace += "x06"; break;
-                case 7: replace += "x07"; break;
-                case 8: replace += "b"; break;
-                case 9: replace += "t"; break;
-                case 10: replace += "n"; break;
-                case 11: replace += "v"; break;
-                case 12: replace += "f"; break;
-                case 13: replace += "r"; break;
-                case 14: replace += "x0e"; break;
-                case 15: replace += "x0f"; break;
-                case 16: replace += "x10"; break;
-                case 17: replace += "x11"; break;
-                case 18: replace += "x12"; break;
-                case 19: replace += "x13"; break;
-                case 20: replace += "x14"; break;
-                case 21: replace += "x15"; break;
-                case 22: replace += "x16"; break;
-                case 23: replace += "x17"; break;
-                case 24: replace += "x18"; break;
-                case 25: replace += "x19"; break;
-                case 26: replace += "x1a"; break;
-                case 27: replace += "x1b"; break;
-                case 28: replace += "x1c"; break;
-                case 29: replace += "x1d"; break;
-                case 30: replace += "x1e"; break;
-                case 31: replace += "x1f"; break;
-                }
-                val = val.replace(RegExp(String.fromCharCode(i), "g"), replace);
-            }
-            return '"' + val.replace(/"/g, '\\"') + '"';
-        case "boolean":
-        case "undefined":
-            return String(val);
-        case "number":
-            // In JavaScript, -0 === 0 and String(-0) == "0", so we have to
-            // special-case.
-            if (val === -0 && 1/val === -Infinity)
-            {
-                return "-0";
-            }
-            return String(val);
-        case "object":
-            if (val === null)
-            {
-                return "null";
-            }
-
-            // Special-case Node objects, since those come up a lot in my tests.  I
-            // ignore namespaces.  I use duck-typing instead of instanceof, because
-            // instanceof doesn't work if the node is from another window (like an
-            // iframe's contentWindow):
-            // http://www.w3.org/Bugs/Public/show_bug.cgi?id=12295
-            if ("nodeType" in val
-            && "nodeName" in val
-            && "nodeValue" in val
-            && "childNodes" in val)
-            {
-                switch (val.nodeType)
-                {
-                case Node.ELEMENT_NODE:
-                    var ret = "<" + val.tagName.toLowerCase();
-                    for (var i = 0; i < val.attributes.length; i++)
-                    {
-                        ret += " " + val.attributes[i].name + '="' + val.attributes[i].value + '"';
-                    }
-                    ret += ">" + val.innerHTML + "</" + val.tagName.toLowerCase() + ">";
-                    return "Element node " + truncate(ret, 60);
-                case Node.TEXT_NODE:
-                    return 'Text node "' + truncate(val.data, 60) + '"';
-                case Node.PROCESSING_INSTRUCTION_NODE:
-                    return "ProcessingInstruction node with target " + format_value(truncate(val.target, 60)) + " and data " + format_value(truncate(val.data, 60));
-                case Node.COMMENT_NODE:
-                    return "Comment node <!--" + truncate(val.data, 60) + "-->";
-                case Node.DOCUMENT_NODE:
-                    return "Document node with " + val.childNodes.length + (val.childNodes.length == 1 ? " child" : " children");
-                case Node.DOCUMENT_TYPE_NODE:
-                    return "DocumentType node";
-                case Node.DOCUMENT_FRAGMENT_NODE:
-                    return "DocumentFragment node with " + val.childNodes.length + (val.childNodes.length == 1 ? " child" : " children");
-                default:
-                    return "Node object of unknown type";
-                }
-            }
-
-            // Fall through to default
-        default:
-            return typeof val + ' "' + truncate(String(val), 60) + '"';
-        }
-    }
-    expose(format_value, "format_value");
-
-    /*
-     * Assertions
-     */
-
-    function assert_true(actual, description)
-    {
-        assert(actual === true, "assert_true", description,
-                                "expected true got ${actual}", {actual:actual});
-    };
-    expose(assert_true, "assert_true");
-
-    function assert_false(actual, description)
-    {
-        assert(actual === false, "assert_false", description,
-                                 "expected false got ${actual}", {actual:actual});
-    };
-    expose(assert_false, "assert_false");
-
-    function same_value(x, y) {
-        if (y !== y)
-        {
-            //NaN case
-            return x !== x;
-        }
-        else if (x === 0 && y === 0) {
-            //Distinguish +0 and -0
-            return 1/x === 1/y;
-        }
-        else
-        {
-            //typical case
-            return x === y;
-        }
-    }
-
-    function assert_equals(actual, expected, description)
-    {
-         /*
-          * Test if two primitives are equal or two objects
-          * are the same object
-          */
-        if (typeof actual != typeof expected)
-        {
-            assert(false, "assert_equals", description,
-                          "expected (" + typeof expected + ") ${expected} but got (" + typeof actual + ") ${actual}",
-                          {expected:expected, actual:actual});
-            return;
-        }
-        assert(same_value(actual, expected), "assert_equals", description,
-                                             "expected ${expected} but got ${actual}",
-                                             {expected:expected, actual:actual});
-    };
-    expose(assert_equals, "assert_equals");
-
-    function assert_not_equals(actual, expected, description)
-    {
-         /*
-          * Test if two primitives are unequal or two objects
-          * are different objects
-          */
-        assert(!same_value(actual, expected), "assert_not_equals", description,
-                                              "got disallowed value ${actual}",
-                                              {actual:actual});
-    };
-    expose(assert_not_equals, "assert_not_equals");
-
-    function assert_in_array(actual, expected, description)
-    {
-        assert(expected.indexOf(actual) != -1, "assert_in_array", description,
-                                               "value ${actual} not in array ${expected}",
-                                               {actual:actual, expected:expected});
-    }
-    expose(assert_in_array, "assert_in_array");
-
-    function assert_object_equals(actual, expected, description)
-    {
-         //This needs to be improved a great deal
-         function check_equal(actual, expected, stack)
-         {
-             stack.push(actual);
-
-             var p;
-             for (p in actual)
-             {
-                 assert(expected.hasOwnProperty(p), "assert_object_equals", description,
-                                                    "unexpected property ${p}", {p:p});
-
-                 if (typeof actual[p] === "object" && actual[p] !== null)
-                 {
-                     if (stack.indexOf(actual[p]) === -1)
-                     {
-                         check_equal(actual[p], expected[p], stack);
-                     }
-                 }
-                 else
-                 {
-                     assert(same_value(actual[p], expected[p]), "assert_object_equals", description,
-                                                       "property ${p} expected ${expected} got ${actual}",
-                                                       {p:p, expected:expected, actual:actual});
-                 }
-             }
-             for (p in expected)
-             {
-                 assert(actual.hasOwnProperty(p),
-                        "assert_object_equals", description,
-                        "expected property ${p} missing", {p:p});
-             }
-             stack.pop();
-         }
-         check_equal(actual, expected, []);
-    };
-    expose(assert_object_equals, "assert_object_equals");
-
-    function assert_array_equals(actual, expected, description)
-    {
-        assert(actual.length === expected.length,
-               "assert_array_equals", description,
-               "lengths differ, expected ${expected} got ${actual}",
-               {expected:expected.length, actual:actual.length});
-
-        for (var i=0; i < actual.length; i++)
-        {
-            assert(actual.hasOwnProperty(i) === expected.hasOwnProperty(i),
-                   "assert_array_equals", description,
-                   "property ${i}, property expected to be $expected but was $actual",
-                   {i:i, expected:expected.hasOwnProperty(i) ? "present" : "missing",
-                   actual:actual.hasOwnProperty(i) ? "present" : "missing"});
-            assert(same_value(expected[i], actual[i]),
-                   "assert_array_equals", description,
-                   "property ${i}, expected ${expected} but got ${actual}",
-                   {i:i, expected:expected[i], actual:actual[i]});
-        }
-    }
-    expose(assert_array_equals, "assert_array_equals");
-
-    function assert_approx_equals(actual, expected, epsilon, description)
-    {
-        /*
-         * Test if two primitive numbers are equal withing +/- epsilon
-         */
-        assert(typeof actual === "number",
-               "assert_approx_equals", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(Math.abs(actual - expected) <= epsilon,
-               "assert_approx_equals", description,
-               "expected ${expected} +/- ${epsilon} but got ${actual}",
-               {expected:expected, actual:actual, epsilon:epsilon});
-    };
-    expose(assert_approx_equals, "assert_approx_equals");
-
-    function assert_less_than(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is less than another
-         */
-        assert(typeof actual === "number",
-               "assert_less_than", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual < expected,
-               "assert_less_than", description,
-               "expected a number less than ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_less_than, "assert_less_than");
-
-    function assert_greater_than(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is greater than another
-         */
-        assert(typeof actual === "number",
-               "assert_greater_than", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual > expected,
-               "assert_greater_than", description,
-               "expected a number greater than ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_greater_than, "assert_greater_than");
-
-    function assert_less_than_equal(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is less than or equal to another
-         */
-        assert(typeof actual === "number",
-               "assert_less_than_equal", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual <= expected,
-               "assert_less_than", description,
-               "expected a number less than or equal to ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_less_than_equal, "assert_less_than_equal");
-
-    function assert_greater_than_equal(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is greater than or equal to another
-         */
-        assert(typeof actual === "number",
-               "assert_greater_than_equal", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual >= expected,
-               "assert_greater_than_equal", description,
-               "expected a number greater than or equal to ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_greater_than_equal, "assert_greater_than_equal");
-
-    function assert_regexp_match(actual, expected, description) {
-        /*
-         * Test if a string (actual) matches a regexp (expected)
-         */
-        assert(expected.test(actual),
-               "assert_regexp_match", description,
-               "expected ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    }
-    expose(assert_regexp_match, "assert_regexp_match");
-
-    function assert_class_string(object, class_string, description) {
-        assert_equals({}.toString.call(object), "[object " + class_string + "]",
-                      description);
-    }
-    expose(assert_class_string, "assert_class_string");
-
-
-    function _assert_own_property(name) {
-        return function(object, property_name, description)
-        {
-            assert(property_name in object,
-                   name, description,
-                   "expected property ${p} missing", {p:property_name});
-        };
-    }
-    expose(_assert_own_property("assert_exists"), "assert_exists");
-    expose(_assert_own_property("assert_own_property"), "assert_own_property");
-
-    function assert_not_exists(object, property_name, description)
-    {
-        assert(!object.hasOwnProperty(property_name),
-               "assert_not_exists", description,
-               "unexpected property ${p} found", {p:property_name});
-    };
-    expose(assert_not_exists, "assert_not_exists");
-
-    function _assert_inherits(name) {
-        return function (object, property_name, description)
-        {
-            assert(typeof object === "object",
-                   name, description,
-                   "provided value is not an object");
-
-            assert("hasOwnProperty" in object,
-                   name, description,
-                   "provided value is an object but has no hasOwnProperty method");
-
-            assert(!object.hasOwnProperty(property_name),
-                   name, description,
-                   "property ${p} found on object expected in prototype chain",
-                   {p:property_name});
-
-            assert(property_name in object,
-                   name, description,
-                   "property ${p} not found in prototype chain",
-                   {p:property_name});
-        };
-    }
-    expose(_assert_inherits("assert_inherits"), "assert_inherits");
-    expose(_assert_inherits("assert_idl_attribute"), "assert_idl_attribute");
-
-    function assert_readonly(object, property_name, description)
-    {
-         var initial_value = object[property_name];
-         try {
-             //Note that this can have side effects in the case where
-             //the property has PutForwards
-             object[property_name] = initial_value + "a"; //XXX use some other value here?
-             assert(same_value(object[property_name], initial_value),
-                    "assert_readonly", description,
-                    "changing property ${p} succeeded",
-                    {p:property_name});
-         }
-         finally
-         {
-             object[property_name] = initial_value;
-         }
-    };
-    expose(assert_readonly, "assert_readonly");
-
-    function assert_throws(code, func, description)
-    {
-        try
-        {
-            func.call(this);
-            assert(false, "assert_throws", description,
-                   "${func} did not throw", {func:func});
-        }
-        catch(e)
-        {
-            if (e instanceof AssertionError) {
-                throw(e);
-            }
-            if (code === null)
-            {
-                return;
-            }
-            if (typeof code === "object")
-            {
-                assert(typeof e == "object" && "name" in e && e.name == code.name,
-                       "assert_throws", description,
-                       "${func} threw ${actual} (${actual_name}) expected ${expected} (${expected_name})",
-                                    {func:func, actual:e, actual_name:e.name,
-                                     expected:code,
-                                     expected_name:code.name});
-                return;
-            }
-
-            var code_name_map = {
-                INDEX_SIZE_ERR: 'IndexSizeError',
-                HIERARCHY_REQUEST_ERR: 'HierarchyRequestError',
-                WRONG_DOCUMENT_ERR: 'WrongDocumentError',
-                INVALID_CHARACTER_ERR: 'InvalidCharacterError',
-                NO_MODIFICATION_ALLOWED_ERR: 'NoModificationAllowedError',
-                NOT_FOUND_ERR: 'NotFoundError',
-                NOT_SUPPORTED_ERR: 'NotSupportedError',
-                INVALID_STATE_ERR: 'InvalidStateError',
-                SYNTAX_ERR: 'SyntaxError',
-                INVALID_MODIFICATION_ERR: 'InvalidModificationError',
-                NAMESPACE_ERR: 'NamespaceError',
-                INVALID_ACCESS_ERR: 'InvalidAccessError',
-                TYPE_MISMATCH_ERR: 'TypeMismatchError',
-                SECURITY_ERR: 'SecurityError',
-                NETWORK_ERR: 'NetworkError',
-                ABORT_ERR: 'AbortError',
-                URL_MISMATCH_ERR: 'URLMismatchError',
-                QUOTA_EXCEEDED_ERR: 'QuotaExceededError',
-                TIMEOUT_ERR: 'TimeoutError',
-                INVALID_NODE_TYPE_ERR: 'InvalidNodeTypeError',
-                DATA_CLONE_ERR: 'DataCloneError'
-            };
-
-            var name = code in code_name_map ? code_name_map[code] : code;
-
-            var name_code_map = {
-                IndexSizeError: 1,
-                HierarchyRequestError: 3,
-                WrongDocumentError: 4,
-                InvalidCharacterError: 5,
-                NoModificationAllowedError: 7,
-                NotFoundError: 8,
-                NotSupportedError: 9,
-                InvalidStateError: 11,
-                SyntaxError: 12,
-                InvalidModificationError: 13,
-                NamespaceError: 14,
-                InvalidAccessError: 15,
-                TypeMismatchError: 17,
-                SecurityError: 18,
-                NetworkError: 19,
-                AbortError: 20,
-                URLMismatchError: 21,
-                QuotaExceededError: 22,
-                TimeoutError: 23,
-                InvalidNodeTypeError: 24,
-                DataCloneError: 25,
-
-                UnknownError: 0,
-                ConstraintError: 0,
-                DataError: 0,
-                TransactionInactiveError: 0,
-                ReadOnlyError: 0,
-                VersionError: 0
-            };
-
-            if (!(name in name_code_map))
-            {
-                throw new AssertionError('Test bug: unrecognized DOMException code "' + code + '" passed to assert_throws()');
-            }
-
-            var required_props = { code: name_code_map[name] };
-
-            if (required_props.code === 0
-            || ("name" in e && e.name !== e.name.toUpperCase() && e.name !== "DOMException"))
-            {
-                // New style exception: also test the name property.
-                required_props.name = name;
-            }
-
-            //We'd like to test that e instanceof the appropriate interface,
-            //but we can't, because we don't know what window it was created
-            //in.  It might be an instanceof the appropriate interface on some
-            //unknown other window.  TODO: Work around this somehow?
-
-            assert(typeof e == "object",
-                   "assert_throws", description,
-                   "${func} threw ${e} with type ${type}, not an object",
-                   {func:func, e:e, type:typeof e});
-
-            for (var prop in required_props)
-            {
-                assert(typeof e == "object" && prop in e && e[prop] == required_props[prop],
-                       "assert_throws", description,
-                       "${func} threw ${e} that is not a DOMException " + code + ": property ${prop} is equal to ${actual}, expected ${expected}",
-                       {func:func, e:e, prop:prop, actual:e[prop], expected:required_props[prop]});
-            }
-        }
-    }
-    expose(assert_throws, "assert_throws");
-
-    function assert_unreached(description) {
-         assert(false, "assert_unreached", description,
-                "Reached unreachable code");
-    }
-    expose(assert_unreached, "assert_unreached");
-
-    function assert_any(assert_func, actual, expected_array) 
-    {
-        var args = [].slice.call(arguments, 3)
-        var errors = []
-        var passed = false;
-        forEach(expected_array, 
-                function(expected)
-                {
-                    try {
-                        assert_func.apply(this, [actual, expected].concat(args))
-                        passed = true;
-                    } catch(e) {
-                        errors.push(e.message);
-                    }
-                });
-        if (!passed) {
-            throw new AssertionError(errors.join("\n\n"));
-        }
-    }
-    expose(assert_any, "assert_any");
-
-    function Test(name, properties)
-    {
-        this.name = name;
-        this.status = this.NOTRUN;
-        this.timeout_id = null;
-        this.is_done = false;
-
-        this.properties = properties;
-        this.timeout_length = properties.timeout ? properties.timeout : settings.test_timeout;
-
-        this.message = null;
-
-        var this_obj = this;
-        this.steps = [];
-
-        tests.push(this);
-    }
-
-    Test.statuses = {
-        PASS:0,
-        FAIL:1,
-        TIMEOUT:2,
-        NOTRUN:3
-    };
-
-    Test.prototype = merge({}, Test.statuses);
-
-    Test.prototype.structured_clone = function()
-    {
-        if(!this._structured_clone)
-        {
-            var msg = this.message;
-            msg = msg ? String(msg) : msg;
-            this._structured_clone = merge({
-                name:String(this.name),
-                status:this.status,
-                message:msg
-            }, Test.statuses);
-        }
-        return this._structured_clone;
-    };
-
-    Test.prototype.step = function(func, this_obj)
-    {
-        //In case the test has already failed
-        if (this.status !== this.NOTRUN)
-        {
-          return;
-        }
-
-        tests.started = true;
-
-        if (this.timeout_id === null) {
-            this.set_timeout();
-        }
-
-        this.steps.push(func);
-
-        if (arguments.length === 1)
-        {
-            this_obj = this;
-        }
-
-        try
-        {
-            return func.apply(this_obj, Array.prototype.slice.call(arguments, 2));
-        }
-        catch(e)
-        {
-            //This can happen if something called synchronously invoked another
-            //step
-            if (this.status !== this.NOTRUN)
-            {
-                return;
-            }
-            this.status = this.FAIL;
-            this.message = (typeof e === "object" && e !== null) ? e.message : e;
-            if (typeof e.stack != "undefined" && typeof e.message == "string") {
-                //Try to make it more informative for some exceptions, at least
-                //in Gecko and WebKit.  This results in a stack dump instead of
-                //just errors like "Cannot read property 'parentNode' of null"
-                //or "root is null".  Makes it a lot longer, of course.
-                this.message += "(stack: " + e.stack + ")";
-            }
-            this.done();
-            if (debug && e.constructor !== AssertionError) {
-                throw e;
-            }
-        }
-    };
-
-    Test.prototype.step_func = function(func, this_obj)
-    {
-        var test_this = this;
-
-        if (arguments.length === 1)
-        {
-            this_obj = test_this;
-        }
-
-        return function()
-        {
-            test_this.step.apply(test_this, [func, this_obj].concat(
-                Array.prototype.slice.call(arguments)));
-        };
-    };
-
-    Test.prototype.step_func_done = function(func, this_obj)
-    {
-        var test_this = this;
-
-        if (arguments.length === 1)
-        {
-            this_obj = test_this;
-        }
-
-        return function()
-        {
-            test_this.step.apply(test_this, [func, this_obj].concat(
-                Array.prototype.slice.call(arguments)));
-            test_this.done();
-        };
-    };
-
-    Test.prototype.set_timeout = function()
-    {
-        var this_obj = this;
-        this.timeout_id = setTimeout(function()
-                                     {
-                                         this_obj.timeout();
-                                     }, this.timeout_length);
-    };
-
-    Test.prototype.timeout = function()
-    {
-        this.status = this.TIMEOUT;
-        this.timeout_id = null;
-        this.message = "Test timed out";
-        this.done();
-    };
-
-    Test.prototype.done = function()
-    {
-        if (this.is_done) {
-            return;
-        }
-        clearTimeout(this.timeout_id);
-        if (this.status === this.NOTRUN)
-        {
-            this.status = this.PASS;
-        }
-        this.is_done = true;
-        tests.result(this);
-    };
-
-
-    /*
-     * Harness
-     */
-
-    function TestsStatus()
-    {
-        this.status = null;
-        this.message = null;
-    }
-
-    TestsStatus.statuses = {
-        OK:0,
-        ERROR:1,
-        TIMEOUT:2
-    };
-
-    TestsStatus.prototype = merge({}, TestsStatus.statuses);
-
-    TestsStatus.prototype.structured_clone = function()
-    {
-        if(!this._structured_clone)
-        {
-            var msg = this.message;
-            msg = msg ? String(msg) : msg;
-            this._structured_clone = merge({
-                status:this.status,
-                message:msg
-            }, TestsStatus.statuses);
-        }
-        return this._structured_clone;
-    };
-
-    function Tests()
-    {
-        this.tests = [];
-        this.num_pending = 0;
-
-        this.phases = {
-            INITIAL:0,
-            SETUP:1,
-            HAVE_TESTS:2,
-            HAVE_RESULTS:3,
-            COMPLETE:4
-        };
-        this.phase = this.phases.INITIAL;
-
-        this.properties = {};
-
-        //All tests can't be done until the load event fires
-        this.all_loaded = false;
-        this.wait_for_finish = false;
-        this.processing_callbacks = false;
-
-        this.timeout_length = settings.timeout;
-        this.timeout_id = null;
-
-        this.start_callbacks = [];
-        this.test_done_callbacks = [];
-        this.all_done_callbacks = [];
-
-        this.status = new TestsStatus();
-
-        var this_obj = this;
-
-        on_event(window, "load",
-                 function()
-                 {
-                     this_obj.all_loaded = true;
-                     if (this_obj.all_done())
-                     {
-                         this_obj.complete();
-                     }
-                 });
-
-        this.set_timeout();
-    }
-
-    Tests.prototype.setup = function(func, properties)
-    {
-        if (this.phase >= this.phases.HAVE_RESULTS)
-        {
-            return;
-        }
-        if (this.phase < this.phases.SETUP)
-        {
-            this.phase = this.phases.SETUP;
-        }
-
-        for (var p in properties)
-        {
-            if (properties.hasOwnProperty(p))
-            {
-                this.properties[p] = properties[p];
-            }
-        }
-
-        if (properties.timeout)
-        {
-            this.timeout_length = properties.timeout;
-        }
-        if (properties.explicit_done)
-        {
-            this.wait_for_finish = true;
-        }
-        if (properties.explicit_timeout) {
-            this.timeout_length = null;
-        }
-
-        if (func)
-        {
-            try
-            {
-                func();
-            } catch(e)
-            {
-                this.status.status = this.status.ERROR;
-                this.status.message = e;
-            };
-        }
-        this.set_timeout();
-    };
-
-    Tests.prototype.set_timeout = function()
-    {
-        var this_obj = this;
-        clearTimeout(this.timeout_id);
-        if (this.timeout_length !== null)
-        {
-            this.timeout_id = setTimeout(function() {
-                                             this_obj.timeout();
-                                         }, this.timeout_length);
-        }
-    };
-
-    Tests.prototype.timeout = function() {
-        this.status.status = this.status.TIMEOUT;
-        this.complete();
-    };
-
-    Tests.prototype.end_wait = function()
-    {
-        this.wait_for_finish = false;
-        if (this.all_done()) {
-            this.complete();
-        }
-    };
-
-    Tests.prototype.push = function(test)
-    {
-        if (this.phase < this.phases.HAVE_TESTS) {
-            this.start();
-        }
-        this.num_pending++;
-        this.tests.push(test);
-    };
-
-    Tests.prototype.all_done = function() {
-        return (this.all_loaded && this.num_pending === 0 &&
-                !this.wait_for_finish && !this.processing_callbacks);
-    };
-
-    Tests.prototype.start = function() {
-        this.phase = this.phases.HAVE_TESTS;
-        this.notify_start();
-    };
-
-    Tests.prototype.notify_start = function() {
-        var this_obj = this;
-        forEach (this.start_callbacks,
-                 function(callback)
-                 {
-                     callback(this_obj.properties);
-                 });
-        forEach_windows(
-                function(w, is_same_origin)
-                {
-                    if(is_same_origin && w.start_callback)
-                    {
-                        try
-                        {
-                            w.start_callback(this_obj.properties);
-                        }
-                        catch(e)
-                        {
-                            if (debug)
-                            {
-                                throw(e);
-                            }
-                        }
-                    }
-                    if (supports_post_message(w) && w !== self)
-                    {
-                        w.postMessage({
-                            type: "start",
-                            properties: this_obj.properties
-                        }, "*");
-                    }
-                });
-    };
-
-    Tests.prototype.result = function(test)
-    {
-        if (this.phase > this.phases.HAVE_RESULTS)
-        {
-            return;
-        }
-        this.phase = this.phases.HAVE_RESULTS;
-        this.num_pending--;
-        this.notify_result(test);
-    };
-
-    Tests.prototype.notify_result = function(test) {
-        var this_obj = this;
-        this.processing_callbacks = true;
-        forEach(this.test_done_callbacks,
-                function(callback)
-                {
-                    callback(test, this_obj);
-                });
-
-        forEach_windows(
-                function(w, is_same_origin)
-                {
-                    if(is_same_origin && w.result_callback)
-                    {
-                        try
-                        {
-                            w.result_callback(test);
-                        }
-                        catch(e)
-                        {
-                            if(debug) {
-                                throw e;
-                            }
-                        }
-                    }
-                    if (supports_post_message(w) && w !== self)
-                    {
-                        w.postMessage({
-                            type: "result",
-                            test: test.structured_clone()
-                        }, "*");
-                    }
-                });
-        this.processing_callbacks = false;
-        if (this_obj.all_done())
-        {
-            this_obj.complete();
-        }
-    };
-
-    Tests.prototype.complete = function() {
-        if (this.phase === this.phases.COMPLETE) {
-            return;
-        }
-        this.phase = this.phases.COMPLETE;
-        var this_obj = this;
-        this.tests.forEach(
-            function(x)
-            {
-                if(x.status === x.NOTRUN)
-                {
-                    this_obj.notify_result(x);
-                }
-            }
-        );
-        this.notify_complete();
-    };
-
-    Tests.prototype.notify_complete = function()
-    {
-        clearTimeout(this.timeout_id);
-        var this_obj = this;
-        var tests = map(this_obj.tests,
-                        function(test)
-                        {
-                            return test.structured_clone();
-                        });
-        if (this.status.status === null)
-        {
-            this.status.status = this.status.OK;
-        }
-
-        forEach (this.all_done_callbacks,
-                 function(callback)
-                 {
-                     callback(this_obj.tests, this_obj.status);
-                 });
-
-        forEach_windows(
-                function(w, is_same_origin)
-                {
-                    if(is_same_origin && w.completion_callback)
-                    {
-                        try
-                        {
-                            w.completion_callback(this_obj.tests, this_obj.status);
-                        }
-                        catch(e)
-                        {
-                            if (debug)
-                            {
-                                throw e;
-                            }
-                        }
-                    }
-                    if (supports_post_message(w) && w !== self)
-                    {
-                        w.postMessage({
-                            type: "complete",
-                            tests: tests,
-                            status: this_obj.status.structured_clone()
-                        }, "*");
-                    }
-                });
-    };
-
-    var tests = new Tests();
-
-    function timeout() {
-        if (tests.timeout_length === null)
-        {
-            tests.timeout();
-        }
-    }
-    expose(timeout, 'timeout');
-
-    function add_start_callback(callback) {
-        tests.start_callbacks.push(callback);
-    }
-
-    function add_result_callback(callback)
-    {
-        tests.test_done_callbacks.push(callback);
-    }
-
-    function add_completion_callback(callback)
-    {
-       tests.all_done_callbacks.push(callback);
-    }
-
-    expose(add_start_callback, 'add_start_callback');
-    expose(add_result_callback, 'add_result_callback');
-    expose(add_completion_callback, 'add_completion_callback');
-
-    /*
-     * Output listener
-    */
-
-    function Output() {
-      this.output_document = document;
-      this.output_node = null;
-      this.done_count = 0;
-      this.enabled = settings.output;
-      this.phase = this.INITIAL;
-    }
-
-    Output.prototype.INITIAL = 0;
-    Output.prototype.STARTED = 1;
-    Output.prototype.HAVE_RESULTS = 2;
-    Output.prototype.COMPLETE = 3;
-
-    Output.prototype.setup = function(properties) {
-        if (this.phase > this.INITIAL) {
-            return;
-        }
-
-        //If output is disabled in testharnessreport.js the test shouldn't be
-        //able to override that
-        this.enabled = this.enabled && (properties.hasOwnProperty("output") ?
-                                        properties.output : settings.output);
-    };
-
-    Output.prototype.init = function(properties)
-    {
-        if (this.phase >= this.STARTED) {
-            return;
-        }
-        if (properties.output_document) {
-            this.output_document = properties.output_document;
-        } else {
-            this.output_document = document;
-        }
-        this.phase = this.STARTED;
-    };
-
-    Output.prototype.resolve_log = function()
-    {
-        var output_document;
-        if (typeof this.output_document === "function")
-        {
-            output_document = this.output_document.apply(undefined);
-        } else
-        {
-            output_document = this.output_document;
-        }
-        if (!output_document)
-        {
-            return;
-        }
-        var node = output_document.getElementById("log");
-        if (node)
-        {
-            this.output_document = output_document;
-            this.output_node = node;
-        }
-    };
-
-    Output.prototype.show_status = function(test)
-    {
-        if (this.phase < this.STARTED)
-        {
-            this.init();
-        }
-        if (!this.enabled)
-        {
-            return;
-        }
-        if (this.phase < this.HAVE_RESULTS)
-        {
-            this.resolve_log();
-            this.phase = this.HAVE_RESULTS;
-        }
-        this.done_count++;
-        if (this.output_node)
-        {
-            if (this.done_count < 100
-            || (this.done_count < 1000 && this.done_count % 100 == 0)
-            || this.done_count % 1000 == 0) {
-                this.output_node.textContent = "Running, "
-                    + this.done_count + " complete, "
-                    + tests.num_pending + " remain";
-            }
-        }
-    };
-
-    Output.prototype.show_results = function (tests, harness_status)
-    {
-        if (this.phase >= this.COMPLETE) {
-            return;
-        }
-        if (!this.enabled)
-        {
-            return;
-        }
-        if (!this.output_node) {
-            this.resolve_log();
-        }
-        this.phase = this.COMPLETE;
-
-        var log = this.output_node;
-        if (!log)
-        {
-            return;
-        }
-        var output_document = this.output_document;
-
-        while (log.lastChild)
-        {
-            log.removeChild(log.lastChild);
-        }
-
-        if (script_prefix != null) {
-            var stylesheet = output_document.createElementNS(xhtml_ns, "link");
-            stylesheet.setAttribute("rel", "stylesheet");
-            stylesheet.setAttribute("href", script_prefix + "testharness.css");
-            var heads = output_document.getElementsByTagName("head");
-            if (heads.length) {
-                heads[0].appendChild(stylesheet);
-            }
-        }
-
-        var status_text = {};
-        status_text[Test.prototype.PASS] = "Pass";
-        status_text[Test.prototype.FAIL] = "Fail";
-        status_text[Test.prototype.TIMEOUT] = "Timeout";
-        status_text[Test.prototype.NOTRUN] = "Not Run";
-
-        var status_number = {};
-        forEach(tests, function(test) {
-                    var status = status_text[test.status];
-                    if (status_number.hasOwnProperty(status))
-                    {
-                        status_number[status] += 1;
-                    } else {
-                        status_number[status] = 1;
-                    }
-                });
-
-        function status_class(status)
-        {
-            return status.replace(/\s/g, '').toLowerCase();
-        }
-
-        var summary_template = ["section", {"id":"summary"},
-                                ["h2", {}, "Summary"],
-                                ["p", {}, "Found ${num_tests} tests"],
-                                function(vars) {
-                                    var rv = [["div", {}]];
-                                    var i=0;
-                                    while (status_text.hasOwnProperty(i)) {
-                                        if (status_number.hasOwnProperty(status_text[i])) {
-                                            var status = status_text[i];
-                                            rv[0].push(["div", {"class":status_class(status)},
-                                                        ["label", {},
-                                                         ["input", {type:"checkbox", checked:"checked"}],
-                                                         status_number[status] + " " + status]]);
-                                        }
-                                        i++;
-                                    }
-                                    return rv;
-                                }];
-
-        log.appendChild(render(summary_template, {num_tests:tests.length}, output_document));
-
-        forEach(output_document.querySelectorAll("section#summary label"),
-                function(element)
-                {
-                    on_event(element, "click",
-                             function(e)
-                             {
-                                 if (output_document.getElementById("results") === null)
-                                 {
-                                     e.preventDefault();
-                                     return;
-                                 }
-                                 var result_class = element.parentNode.getAttribute("class");
-                                 var style_element = output_document.querySelector("style#hide-" + result_class);
-                                 var input_element = element.querySelector("input");
-                                 if (!style_element && !input_element.checked) {
-                                     style_element = output_document.createElementNS(xhtml_ns, "style");
-                                     style_element.id = "hide-" + result_class;
-                                     style_element.textContent = "table#results > tbody > tr."+result_class+"{display:none}";
-                                     output_document.body.appendChild(style_element);
-                                 } else if (style_element && input_element.checked) {
-                                     style_element.parentNode.removeChild(style_element);
-                                 }
-                             });
-                });
-
-        // This use of innerHTML plus manual escaping is not recommended in
-        // general, but is necessary here for performance.  Using textContent
-        // on each individual <td> adds tens of seconds of execution time for
-        // large test suites (tens of thousands of tests).
-        function escape_html(s)
-        {
-            return s.replace(/\&/g, "&amp;")
-                .replace(/</g, "&lt;")
-                .replace(/"/g, "&quot;")
-                .replace(/'/g, "&#39;");
-        }
-
-        function has_assertions()
-        {
-            for (var i = 0; i < tests.length; i++) {
-                if (tests[i].properties.hasOwnProperty("assert")) {
-                    return true;
-                }
-            }
-            return false;
-        }
-        
-        function get_assertion(test)
-        {
-            if (test.properties.hasOwnProperty("assert")) {
-                if (Array.isArray(test.properties.assert)) {
-                    return test.properties.assert.join(' ');
-                }
-                return test.properties.assert;
-            }
-            return '';
-        }
-        
-        log.appendChild(document.createElementNS(xhtml_ns, "section"));
-        var assertions = has_assertions();
-        var html = "<h2>Details</h2><table id='results' " + (assertions ? "class='assertions'" : "" ) + ">"
-            + "<thead><tr><th>Result</th><th>Test Name</th>"
-            + (assertions ? "<th>Assertion</th>" : "")
-            + "<th>Message</th></tr></thead>"
-            + "<tbody>";
-        for (var i = 0; i < tests.length; i++) {
-            html += '<tr class="'
-                + escape_html(status_class(status_text[tests[i].status]))
-                + '"><td>'
-                + escape_html(status_text[tests[i].status])
-                + "</td><td>"
-                + escape_html(tests[i].name)
-                + "</td><td>"
-                + (assertions ? escape_html(get_assertion(tests[i])) + "</td><td>" : "")
-                + escape_html(tests[i].message ? tests[i].message : " ")
-                + "</td></tr>";
-        }
-        html += "</tbody></table>";
-        try {
-            log.lastChild.innerHTML = html;
-        } catch (e) {
-            log.appendChild(document.createElementNS(xhtml_ns, "p"))
-               .textContent = "Setting innerHTML for the log threw an exception.";
-            log.appendChild(document.createElementNS(xhtml_ns, "pre"))
-               .textContent = html;
-        }
-    };
-
-    var output = new Output();
-    add_start_callback(function (properties) {output.init(properties);});
-    add_result_callback(function (test) {output.show_status(tests);});
-    add_completion_callback(function (tests, harness_status) {output.show_results(tests, harness_status);});
-
-    /*
-     * Template code
-     *
-     * A template is just a javascript structure. An element is represented as:
-     *
-     * [tag_name, {attr_name:attr_value}, child1, child2]
-     *
-     * the children can either be strings (which act like text nodes), other templates or
-     * functions (see below)
-     *
-     * A text node is represented as
-     *
-     * ["{text}", value]
-     *
-     * String values have a simple substitution syntax; ${foo} represents a variable foo.
-     *
-     * It is possible to embed logic in templates by using a function in a place where a
-     * node would usually go. The function must either return part of a template or null.
-     *
-     * In cases where a set of nodes are required as output rather than a single node
-     * with children it is possible to just use a list
-     * [node1, node2, node3]
-     *
-     * Usage:
-     *
-     * render(template, substitutions) - take a template and an object mapping
-     * variable names to parameters and return either a DOM node or a list of DOM nodes
-     *
-     * substitute(template, substitutions) - take a template and variable mapping object,
-     * make the variable substitutions and return the substituted template
-     *
-     */
-
-    function is_single_node(template)
-    {
-        return typeof template[0] === "string";
-    }
-
-    function substitute(template, substitutions)
-    {
-        if (typeof template === "function") {
-            var replacement = template(substitutions);
-            if (replacement)
-            {
-                var rv = substitute(replacement, substitutions);
-                return rv;
-            }
-            else
-            {
-                return null;
-            }
-        }
-        else if (is_single_node(template))
-        {
-            return substitute_single(template, substitutions);
-        }
-        else
-        {
-            return filter(map(template, function(x) {
-                                  return substitute(x, substitutions);
-                              }), function(x) {return x !== null;});
-        }
-    }
-
-    function substitute_single(template, substitutions)
-    {
-        var substitution_re = /\${([^ }]*)}/g;
-
-        function do_substitution(input) {
-            var components = input.split(substitution_re);
-            var rv = [];
-            for (var i=0; i<components.length; i+=2)
-            {
-                rv.push(components[i]);
-                if (components[i+1])
-                {
-                    rv.push(String(substitutions[components[i+1]]));
-                }
-            }
-            return rv;
-        }
-
-        var rv = [];
-        rv.push(do_substitution(String(template[0])).join(""));
-
-        if (template[0] === "{text}") {
-            substitute_children(template.slice(1), rv);
-        } else {
-            substitute_attrs(template[1], rv);
-            substitute_children(template.slice(2), rv);
-        }
-
-        function substitute_attrs(attrs, rv)
-        {
-            rv[1] = {};
-            for (var name in template[1])
-            {
-                if (attrs.hasOwnProperty(name))
-                {
-                    var new_name = do_substitution(name).join("");
-                    var new_value = do_substitution(attrs[name]).join("");
-                    rv[1][new_name] = new_value;
-                };
-            }
-        }
-
-        function substitute_children(children, rv)
-        {
-            for (var i=0; i<children.length; i++)
-            {
-                if (children[i] instanceof Object) {
-                    var replacement = substitute(children[i], substitutions);
-                    if (replacement !== null)
-                    {
-                        if (is_single_node(replacement))
-                        {
-                            rv.push(replacement);
-                        }
-                        else
-                        {
-                            extend(rv, replacement);
-                        }
-                    }
-                }
-                else
-                {
-                    extend(rv, do_substitution(String(children[i])));
-                }
-            }
-            return rv;
-        }
-
-        return rv;
-    }
-
- function make_dom_single(template, doc)
- {
-     var output_document = doc || document;
-     if (template[0] === "{text}")
-     {
-         var element = output_document.createTextNode("");
-         for (var i=1; i<template.length; i++)
-         {
-             element.data += template[i];
-         }
-     }
-     else
-     {
-         var element = output_document.createElementNS(xhtml_ns, template[0]);
-         for (var name in template[1]) {
-             if (template[1].hasOwnProperty(name))
-             {
-                 element.setAttribute(name, template[1][name]);
-             }
-         }
-         for (var i=2; i<template.length; i++)
-         {
-             if (template[i] instanceof Object)
-             {
-                 var sub_element = make_dom(template[i]);
-                 element.appendChild(sub_element);
-             }
-             else
-             {
-                 var text_node = output_document.createTextNode(template[i]);
-                 element.appendChild(text_node);
-             }
-         }
-     }
-
-     return element;
- }
-
-
-
- function make_dom(template, substitutions, output_document)
-    {
-        if (is_single_node(template))
-        {
-            return make_dom_single(template, output_document);
-        }
-        else
-        {
-            return map(template, function(x) {
-                           return make_dom_single(x, output_document);
-                       });
-        }
-    }
-
- function render(template, substitutions, output_document)
-    {
-        return make_dom(substitute(template, substitutions), output_document);
-    }
-
-    /*
-     * Utility funcions
-     */
-    function assert(expected_true, function_name, description, error, substitutions)
-    {
-        if (expected_true !== true)
-        {
-            throw new AssertionError(make_message(function_name, description,
-                                                  error, substitutions));
-        }
-    }
-
-    function AssertionError(message)
-    {
-        this.message = message;
-    }
-
-    function make_message(function_name, description, error, substitutions)
-    {
-        for (var p in substitutions) {
-            if (substitutions.hasOwnProperty(p)) {
-                substitutions[p] = format_value(substitutions[p]);
-            }
-        }
-        var node_form = substitute(["{text}", "${function_name}: ${description}" + error],
-                                   merge({function_name:function_name,
-                                          description:(description?description + " ":"")},
-                                          substitutions));
-        return node_form.slice(1).join("");
-    }
-
-    function filter(array, callable, thisObj) {
-        var rv = [];
-        for (var i=0; i<array.length; i++)
-        {
-            if (array.hasOwnProperty(i))
-            {
-                var pass = callable.call(thisObj, array[i], i, array);
-                if (pass) {
-                    rv.push(array[i]);
-                }
-            }
-        }
-        return rv;
-    }
-
-    function map(array, callable, thisObj)
-    {
-        var rv = [];
-        rv.length = array.length;
-        for (var i=0; i<array.length; i++)
-        {
-            if (array.hasOwnProperty(i))
-            {
-                rv[i] = callable.call(thisObj, array[i], i, array);
-            }
-        }
-        return rv;
-    }
-
-    function extend(array, items)
-    {
-        Array.prototype.push.apply(array, items);
-    }
-
-    function forEach (array, callback, thisObj)
-    {
-        for (var i=0; i<array.length; i++)
-        {
-            if (array.hasOwnProperty(i))
-            {
-                callback.call(thisObj, array[i], i, array);
-            }
-        }
-    }
-
-    function merge(a,b)
-    {
-        var rv = {};
-        var p;
-        for (p in a)
-        {
-            rv[p] = a[p];
-        }
-        for (p in b) {
-            rv[p] = b[p];
-        }
-        return rv;
-    }
-
-    function expose(object, name)
-    {
-        var components = name.split(".");
-        var target = window;
-        for (var i=0; i<components.length - 1; i++)
-        {
-            if (!(components[i] in target))
-            {
-                target[components[i]] = {};
-            }
-            target = target[components[i]];
-        }
-        target[components[components.length - 1]] = object;
-    }
-
-    function forEach_windows(callback) {
-        // Iterate of the the windows [self ... top, opener]. The callback is passed
-        // two objects, the first one is the windows object itself, the second one
-        // is a boolean indicating whether or not its on the same origin as the
-        // current window.
-        var cache = forEach_windows.result_cache;
-        if (!cache) {
-            cache = [[self, true]];
-            var w = self;
-            var i = 0;
-            var so;
-            var origins = location.ancestorOrigins;
-            while (w != w.parent)
-            {
-                w = w.parent;
-                // In WebKit, calls to parent windows' properties that aren't on the same
-                // origin cause an error message to be displayed in the error console but
-                // don't throw an exception. This is a deviation from the current HTML5
-                // spec. See: https://bugs.webkit.org/show_bug.cgi?id=43504
-                // The problem with WebKit's behavior is that it pollutes the error console
-                // with error messages that can't be caught.
-                //
-                // This issue can be mitigated by relying on the (for now) proprietary
-                // `location.ancestorOrigins` property which returns an ordered list of
-                // the origins of enclosing windows. See:
-                // http://trac.webkit.org/changeset/113945.
-                if(origins) {
-                    so = (location.origin == origins[i]);
-                }
-                else
-                {
-                    so = is_same_origin(w);
-                }
-                cache.push([w, so]);
-                i++;
-            }
-            w = window.opener;
-            if(w)
-            {
-                // window.opener isn't included in the `location.ancestorOrigins` prop.
-                // We'll just have to deal with a simple check and an error msg on WebKit
-                // browsers in this case.
-                cache.push([w, is_same_origin(w)]);
-            }
-            forEach_windows.result_cache = cache;
-        }
-
-        forEach(cache,
-                function(a)
-                {
-                    callback.apply(null, a);
-                });
-    }
-
-    function is_same_origin(w) {
-        try {
-            'random_prop' in w;
-            return true;
-        } catch(e) {
-            return false;
-        }
-    }
-
-    function supports_post_message(w)
-    {
-        var supports;
-        var type;
-        // Given IE  implements postMessage across nested iframes but not across
-        // windows or tabs, you can't infer cross-origin communication from the presence
-        // of postMessage on the current window object only.
-        //
-        // Touching the postMessage prop on a window can throw if the window is
-        // not from the same origin AND post message is not supported in that
-        // browser. So just doing an existence test here won't do, you also need
-        // to wrap it in a try..cacth block.
-        try
-        {
-            type = typeof w.postMessage;
-            if (type === "function")
-            {
-                supports = true;
-            }
-            // IE8 supports postMessage, but implements it as a host object which
-            // returns "object" as its `typeof`.
-            else if (type === "object")
-            {
-                supports = true;
-            }
-            // This is the case where postMessage isn't supported AND accessing a
-            // window property across origins does NOT throw (e.g. old Safari browser).
-            else
-            {
-                supports = false;
-            }
-        }
-        catch(e) {
-            // This is the case where postMessage isn't supported AND accessing a
-            // window property across origins throws (e.g. old Firefox browser).
-            supports = false;
-        }
-        return supports;
-    }
-})();
-
-/*
- *For blacklist
- */
-
-function is_platform_supported(name)
-{
-    var ret = true;
-
-    if (not_support_list.indexOf(name) >= 0)
-        ret = false;
-
-    return ret;
-}
-
-// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharnessreport.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * This file is intended for vendors to implement
- * code needed to integrate testharness.js tests with their own test systems.
- *
- * The default implementation extracts metadata from the tests and validates 
- * it against the cached version that should be present in the test source 
- * file. If the cache is not found or is out of sync, source code suitable for
- * caching the metadata is optionally generated.
- *
- * The cached metadata is present for extraction by test processing tools that
- * are unable to execute javascript.
- *
- * Metadata is attached to tests via the properties parameter in the test
- * constructor. See testharness.js for details.
- *
- * Typically test system integration will attach callbacks when each test has
- * run, using add_result_callback(callback(test)), or when the whole test file
- * has completed, using 
- * add_completion_callback(callback(tests, harness_status)).
- *
- * For more documentation about the callback functions and the
- * parameters they are called with see testharness.js
- */
-
-
-
-var metadata_generator = {
-
-    currentMetadata: {},
-    cachedMetadata: false,
-    metadataProperties: ['help', 'assert', 'author'],
-    
-    error: function(message) {
-        var messageElement = document.createElement('p');
-        messageElement.setAttribute('class', 'error');
-        this.appendText(messageElement, message);
-        
-        var summary = document.getElementById('summary');
-        if (summary) {
-            summary.parentNode.insertBefore(messageElement, summary);
-        }
-        else {
-            document.body.appendChild(messageElement);
-        }
-    },
-
-    /**
-     * Ensure property value has contact information
-     */
-    validateContact: function(test, propertyName) {
-        var result = true;
-        var value = test.properties[propertyName];
-        var values = Array.isArray(value) ? value : [value];
-        for (var index = 0; index < values.length; index++) {
-            value = values[index];
-            var re = /(\S+)(\s*)<(.*)>(.*)/;
-            if (! re.test(value)) {
-                re = /(\S+)(\s+)(http[s]?:\/\/)(.*)/
-                if (! re.test(value)) {
-                    this.error('Metadata property "' + propertyName + 
-                        '" for test: "' + test.name +
-                        '" must have name and contact information ' +
-                        '("name <email>" or "name http(s)://")');
-                    result = false;
-                }
-            }
-        }
-        return result;
-    },
-    
-    /**
-     * Extract metadata from test object
-     */
-    extractFromTest: function(test) {
-        var testMetadata = {};
-        // filter out metadata from other properties in test
-        for (var metaIndex = 0; metaIndex < this.metadataProperties.length;
-             metaIndex++) {
-            var meta = this.metadataProperties[metaIndex];
-            if (test.properties.hasOwnProperty(meta)) {
-                if ('author' == meta) {
-                    this.validateContact(test, meta);
-                }
-                testMetadata[meta] = test.properties[meta];
-            }
-        }
-        return testMetadata;
-    },
-    
-    /**
-     * Compare cached metadata to extracted metadata
-     */
-    validateCache: function() {
-        for (var testName in this.currentMetadata) {
-            if (! this.cachedMetadata.hasOwnProperty(testName)) {
-                return false;
-            }
-            var testMetadata = this.currentMetadata[testName];
-            var cachedTestMetadata = this.cachedMetadata[testName];
-            delete this.cachedMetadata[testName];
-            
-            for (var metaIndex = 0; metaIndex < this.metadataProperties.length;
-                 metaIndex++) {
-                var meta = this.metadataProperties[metaIndex];
-                if (cachedTestMetadata.hasOwnProperty(meta) && 
-                    testMetadata.hasOwnProperty(meta)) {
-                    if (Array.isArray(cachedTestMetadata[meta])) {
-                      if (! Array.isArray(testMetadata[meta])) {
-                          return false;
-                      }
-                      if (cachedTestMetadata[meta].length == 
-                          testMetadata[meta].length) {
-                          for (var index = 0; 
-                               index < cachedTestMetadata[meta].length; 
-                               index++) {
-                              if (cachedTestMetadata[meta][index] != 
-                                  testMetadata[meta][index]) {
-                                  return false;
-                              }
-                          }
-                      }
-                      else {
-                          return false;
-                      }
-                    }
-                    else {
-                      if (Array.isArray(testMetadata[meta])) {
-                        return false;
-                      }
-                      if (cachedTestMetadata[meta] != testMetadata[meta]) {
-                        return false;
-                      }
-                    }
-                }
-                else if (cachedTestMetadata.hasOwnProperty(meta) || 
-                         testMetadata.hasOwnProperty(meta)) {
-                    return false;
-                }
-            }
-        }
-        for (var testName in this.cachedMetadata) {
-            return false;
-        }
-        return true;
-    },
-  
-    appendText: function(elemement, text) {
-        elemement.appendChild(document.createTextNode(text));
-    },
-  
-    jsonifyArray: function(arrayValue, indent) {
-        var output = '[';
-
-        if (1 == arrayValue.length) {
-            output += JSON.stringify(arrayValue[0]);
-        }
-        else {
-            for (var index = 0; index < arrayValue.length; index++) {
-                if (0 < index) {
-                    output += ',\n  ' + indent;
-                }
-                output += JSON.stringify(arrayValue[index]);
-            }
-        }
-        output += ']';
-        return output;
-    },
-    
-    jsonifyObject: function(objectValue, indent) {
-        var output = '{';
-        
-        var count = 0;
-        for (var property in objectValue) {
-            ++count;
-            if (Array.isArray(objectValue[property]) || 
-                ('object' == typeof(value))) {
-                ++count;
-            }
-        }
-        if (1 == count) {
-            for (var property in objectValue) {
-                output += ' "' + property + '": '
-                          + JSON.stringify(objectValue[property])
-                          + ' ';
-            }
-        }
-        else {
-            var first = true;
-            for (var property in objectValue) {
-                if (! first) {
-                    output += ',';
-                }
-                first = false;
-                output += '\n  ' + indent + '"' + property + '": ';
-                var value = objectValue[property];
-                if (Array.isArray(value)) {
-                    output += this.jsonifyArray(value, indent + 
-                        '                '.substr(0, 5 + property.length));
-                }
-                else if ('object' == typeof(value)) {
-                    output += this.jsonifyObject(value, indent + '  ');
-                }
-                else {
-                    output += JSON.stringify(value);
-                }
-            }
-            if (1 < output.length) {
-                output += '\n' + indent;
-            }
-        }
-        output += '}';
-        return output;
-    },
-  
-    /**
-     * Generate javascript source code for captured metadata
-     * Metadata is in pretty-printed JSON format
-     */
-    generateSource: function() {
-        var source = 
-            '<script id="metadata_cache">/*\n' + 
-            this.jsonifyObject(this.currentMetadata, '') + '\n' + 
-            '*/</script>\n';
-        return source;
-    },
-    
-    /**
-     * Add element containing metadata source code
-     */
-    addSourceElement: function(event) {
-        var sourceWrapper = document.createElement('div');
-        sourceWrapper.setAttribute('id', 'metadata_source');
-
-        var instructions = document.createElement('p');
-        if (this.cachedMetadata) {
-            this.appendText(instructions, 
-                'Replace the existing <script id="metadata_cache"> element ' + 
-                'in the test\'s <head> with the following:');
-        }
-        else {
-            this.appendText(instructions, 
-                'Copy the following into the <head> element of the test ' +
-                'or the test\'s metadata sidecar file:');
-        }
-        sourceWrapper.appendChild(instructions);
-        
-        var sourceElement = document.createElement('pre');
-        this.appendText(sourceElement, this.generateSource());
-
-        sourceWrapper.appendChild(sourceElement);
-        
-        var messageElement = document.getElementById('metadata_issue');
-        messageElement.parentNode.insertBefore(sourceWrapper, 
-                                               messageElement.nextSibling);
-        messageElement.parentNode.removeChild(messageElement);
-
-        (event.preventDefault) ? event.preventDefault() : 
-                                 event.returnValue = false;
-    },
-    
-    /**
-     * Extract the metadata cache from the cache element if present
-     */
-    getCachedMetadata: function() {
-        var cacheElement = document.getElementById('metadata_cache');
-        
-        if (cacheElement) {
-            var cacheText = cacheElement.firstChild.nodeValue;
-            var openBrace = cacheText.indexOf('{');
-            var closeBrace = cacheText.lastIndexOf('}');
-            if ((-1 < openBrace) && (-1 < closeBrace)) {
-                cacheText = cacheText.slice(openBrace, closeBrace + 1);
-                try {
-                    this.cachedMetadata = JSON.parse(cacheText);
-                }
-                catch (exc) {
-                    this.cachedMetadata = 'Invalid JSON in Cached metadata. ';
-                }
-            }
-            else {
-                this.cachedMetadata = 'Metadata not found in cache element. ';
-            }
-        }
-    },
-    
-    /**
-     * Main entry point, extract metadata from tests, compare to cached version
-     * if present.
-     * If cache not present or differs from extrated metadata, generate an error
-     */
-    process: function(tests, harness_status) {
-        for (var index = 0; index < tests.length; index++) {
-            var test = tests[index];
-            if (this.currentMetadata.hasOwnProperty(test.name)) {
-                this.error('Duplicate test name: ' + test.name);
-            }
-            else {
-                this.currentMetadata[test.name] = this.extractFromTest(test);
-            }
-        }
-
-        this.getCachedMetadata();
-        
-        var message = null;
-        var messageClass = 'warning';
-        var showSource = false;
-        
-        if (0 == tests.length) {
-            if (this.cachedMetadata) {
-                message = 'Cached metadata present but no tests. ';
-            }
-        }
-        else if (1 == tests.length) {
-            if (this.cachedMetadata) {
-                message = 'Single test files should not have cached metadata. ';
-            }
-            else {
-                var testMetadata = this.currentMetadata[tests[0].name];
-                var hasMetadata = false;
-                for (var meta in testMetadata) {
-                    hasMetadata |= testMetadata.hasOwnProperty(meta);
-                }
-                if (hasMetadata) {
-                    message = 'Single tests should not have metadata. ' +
-                              'Move metadata to <head>. ';
-                }
-            }
-        }
-        else {
-            if (this.cachedMetadata) {
-                messageClass = 'error';
-                if ('string' == typeof(this.cachedMetadata)) {
-                    message = this.cachedMetadata;
-                    showSource = true;
-                }
-                else if (! this.validateCache()) {
-                    message = 'Cached metadata out of sync. ';
-                    showSource = true;
-                }
-            }
-        }
-        
-        if (message) {
-            var messageElement = document.createElement('p');
-            messageElement.setAttribute('id', 'metadata_issue');
-            messageElement.setAttribute('class', messageClass);
-            this.appendText(messageElement, message);
-            
-            if (showSource) {
-                var link = document.createElement('a');
-                this.appendText(link, 'Click for source code.');
-                link.setAttribute('href', '#');
-                link.setAttribute('onclick', 
-                                  'metadata_generator.addSourceElement(event)');
-                messageElement.appendChild(link);
-            }
-            
-            var summary = document.getElementById('summary');
-            if (summary) {
-                summary.parentNode.insertBefore(messageElement, summary);
-            }
-            else {
-                var log = document.getElementById('log');
-                if (log) {
-                    log.appendChild(messageElement);
-                }
-            }
-        }
-    },
-
-    setup: function() {
-        add_completion_callback(
-            function (tests, harness_status) { 
-                metadata_generator.process(tests, harness_status)
-            });
-    }
-}
-
-metadata_generator.setup();
-// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/unitcommon.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/unitcommon.js
deleted file mode 100755 (executable)
index 31c63ae..0000000
+++ /dev/null
@@ -1,562 +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;
-            case 'double':
-                assert_equals(typeof (obj), 'number', description);
-                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/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl.js
deleted file mode 100755 (executable)
index 93744f6..0000000
+++ /dev/null
@@ -1,54 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(),
-        appControl;
-
-    assert_true("appControl" in reqAppControl, "RequestedApplicationControl should have appControl attribute");
-
-    appControl = reqAppControl.appControl;
-    assert_type(appControl, "object", "incorrect type of appControl");
-    assert_true("operation" in appControl, "ApplicationControl should have operation attribute");
-    assert_true("uri" in appControl, "ApplicationControl should have uri attribute");
-    assert_true("mime" in appControl, "ApplicationControl should have mime attribute");
-    assert_true("category" in appControl, "ApplicationControl should have category attribute");
-    assert_true("data" in appControl, "ApplicationControl should have data attribute");
-
-    reqAppControl.appControl = {
-        operation: "dummy",
-        uri: "dummy",
-        mime: "dummy",
-        category: "dummy",
-        data: []
-    };
-
-    assert_equals(reqAppControl.appControl.operation, appControl.operation, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.uri, appControl.uri, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.mime, appControl.mime, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.category, appControl.category, "appControl is not readonly");
-    if(appControl.data) {
-        assert_equals(reqAppControl.appControl.data.length, appControl.data.length, "appControl is not readonly");
-    } else {
-        assert_equals(reqAppControl.appControl.data, appControl.data, "appControl is not readonly");
-    }
-
-}, "Application_getRequestedAppControl");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl_extra_argument.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl_extra_argument.js
deleted file mode 100755 (executable)
index 2e660dc..0000000
+++ /dev/null
@@ -1,57 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-*/
-
-test(function () {
-    var i, argumentsList = [null, undefined, "string", 1, false, ["one", "two"], {arg: 1}, function () {}],
-        reqAppControl, appControl;
-
-    for (i = 0; i < argumentsList.length; i++) {
-        reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(argumentsList[i]),
-        assert_true("appControl" in reqAppControl, "RequestedApplicationControl should have appControl attribute");
-
-        appControl = reqAppControl.appControl;
-        assert_type(appControl, "object", "incorrect type of appControl");
-        assert_true("operation" in appControl, "ApplicationControl should have operation attribute");
-        assert_true("uri" in appControl, "ApplicationControl should have uri attribute");
-        assert_true("mime" in appControl, "ApplicationControl should have mime attribute");
-        assert_true("category" in appControl, "ApplicationControl should have category attribute");
-        assert_true("data" in appControl, "ApplicationControl should have data attribute");
-
-        reqAppControl.appControl = new tizen.ApplicationControl(
-            "operation",
-            "uri",
-            "mime",
-            "category",
-            [ new tizen.ApplicationControlData("key", [ "value" ]) ]
-        );
-
-        assert_equals(reqAppControl.appControl.operation, appControl.operation, "appControl is not readonly");
-        assert_equals(reqAppControl.appControl.uri, appControl.uri, "appControl is not readonly");
-        assert_equals(reqAppControl.appControl.mime, appControl.mime, "appControl is not readonly");
-        assert_equals(reqAppControl.appControl.category, appControl.category, "appControl is not readonly");
-        if(appControl.data) {
-            assert_equals(reqAppControl.appControl.data.length, appControl.data.length, "appControl is not readonly");
-        } else {
-            assert_equals(reqAppControl.appControl.data, appControl.data, "appControl is not readonly");
-        }
-    }
-
-}, "Application_getRequestedAppControl_extra_argument");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide.js
deleted file mode 100755 (executable)
index f3fccf3..0000000
+++ /dev/null
@@ -1,28 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-*/
-
-test(function () {
-    var retVal, currentApplication = tizen.application.getCurrentApplication();
-
-    retVal = currentApplication.hide();
-    assert_equals(retVal, undefined, "wrong returned value");
-
-}, "Application_hide");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide_extra_argument.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide_extra_argument.js
deleted file mode 100755 (executable)
index d7f164a..0000000
+++ /dev/null
@@ -1,26 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var currentApplication = tizen.application.getCurrentApplication();
-
-    checkExtraArgument(currentApplication, "hide");
-
-}, "Application_hide_extra_argument");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_appControl_attribute.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_appControl_attribute.js
deleted file mode 100755 (executable)
index 517ced9..0000000
+++ /dev/null
@@ -1,53 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(),
-        appControl;
-
-    assert_true("appControl" in reqAppControl, "RequestedApplicationControl should have appControl attribute");
-
-    appControl = reqAppControl.appControl;
-    assert_type(appControl, "object", "incorrect type of appControl");
-    assert_true("operation" in appControl, "ApplicationControl should have operation attribute");
-    assert_true("uri" in appControl, "ApplicationControl should have uri attribute");
-    assert_true("mime" in appControl, "ApplicationControl should have mime attribute");
-    assert_true("category" in appControl, "ApplicationControl should have category attribute");
-    assert_true("data" in appControl, "ApplicationControl should have data attribute");
-
-    reqAppControl.appControl = {
-        operation: "dummy",
-        uri: "dummy",
-        mime: "dummy",
-        category: "dummy",
-        data: []
-    };
-
-    assert_equals(reqAppControl.appControl.operation, appControl.operation, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.uri, appControl.uri, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.mime, appControl.mime, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.category, appControl.category, "appControl is not readonly");
-    if(appControl.data) {
-        assert_equals(reqAppControl.appControl.data.length, appControl.data.length, "appControl is not readonly");
-    } else {
-        assert_equals(reqAppControl.appControl.data, appControl.data, "appControl is not readonly");
-    }
-
-}, "RequestedApplicationControl_appControl_attribute");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_callerAppId_attribute.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_callerAppId_attribute.js
deleted file mode 100755 (executable)
index 03fce65..0000000
+++ /dev/null
@@ -1,27 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-
-    assert_true("callerAppId" in reqAppControl, "RequestedApplicationControl should have callerAppId attribute");
-    check_readonly(reqAppControl, "callerAppId", reqAppControl.callerAppId, "string", "dummy");
-
-}, "RequestedApplicationControl_callerAppId_attribute");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_extend.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_extend.js
deleted file mode 100755 (executable)
index 5538511..0000000
+++ /dev/null
@@ -1,24 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-    check_extensibility(reqAppControl);
-}, "RequestedApplicationControl_extend");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyFailure_exist.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyFailure_exist.js
deleted file mode 100755 (executable)
index 7b948fc..0000000
+++ /dev/null
@@ -1,24 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-    check_method_exists(reqAppControl, "replyFailure");
-}, "RequestedApplicationControl_replyFailure_exist");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_data_TypeMismatch.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_data_TypeMismatch.js
deleted file mode 100755 (executable)
index 3890d8e..0000000
+++ /dev/null
@@ -1,36 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(),
-        conversionTable, exceptionName, i, data;
-
-    conversionTable = getTypeConversionExceptions("array", true);
-
-    for(i = 0; i < conversionTable.length; i++) {
-        data = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                reqAppControl.replyResult(data);
-            }, exceptionName + " should be thrown.");
-    }
-}, "RequestedApplicationControl_replyResult_data_TypeMismatch");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_exist.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_exist.js
deleted file mode 100755 (executable)
index 3185926..0000000
+++ /dev/null
@@ -1,28 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-
-    assert_true("replyResult" in reqAppControl, "reqAppControl should have replyResult method");
-    assert_type(reqAppControl.replyResult, "function", "incorrect type of replyResult");
-
-    check_method_exists(reqAppControl, "replyResult");
-}, "RequestedApplicationControl_replyResult_exist");
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/appcontrol_launch_explicit.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/appcontrol_launch_explicit.html
deleted file mode 100755 (executable)
index 3f4c042..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-<meta name="description" content="tct-application-tizen-tests"/>
-
-<title>TCTAppControlMock</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-<header>
-    <hgroup>
-      <h1>TCTAppControlMock</h1>
-      <h2>appcontrol_launch_explicit.html</h2>
-    </hgroup>
-</header>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/config.xml b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/config.xml
deleted file mode 100755 (executable)
index 8471334..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppControlMock" version="1.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch_explicit.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch/explicit"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:application id="api1appli2.TCTAppControlMock" package="api1appli2" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppControlMock</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/css/style.css b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/index.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/index.html
deleted file mode 100755 (executable)
index 754cbcc..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControlMock</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-    <script src="js/main.js"></script>
-</head>
-
-<body bgcolor="FFFFFF"  onload="init()">
-  <header>
-    <hgroup>
-      <h1>TCTAppControlMock</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/js/main.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/js/main.js
deleted file mode 100755 (executable)
index 5126963..0000000
+++ /dev/null
@@ -1,28 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-var init = function () {
-    console.log("init() called");
-};
-
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/manifest.json b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/manifest.json
deleted file mode 100755 (executable)
index ca18cb2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppControlMock", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppControlMock", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/config.xml b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/config.xml
deleted file mode 100755 (executable)
index b955098..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppInfoEventTest" version="1.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:application id="api1appli3.TCTAppInfoEventTest" package="api1appli3" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppInfoEventTest1</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/css/style.css b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/index.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/index.html
deleted file mode 100755 (executable)
index 308edf6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppInfoEventTest</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body bgcolor="FFFFFF" >
-  <header>
-    <hgroup>
-      <h1>TCTAppInfoEventTest</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/manifest.json b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/manifest.json
deleted file mode 100755 (executable)
index 09f2aa7..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppInfoEventTest1", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppInfoEventTest1", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/config.xml b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/config.xml
deleted file mode 100755 (executable)
index aba5347..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppInfoEventTest" version="2.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:application id="api1appli3.TCTAppInfoEventTest" package="api1appli3" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppInfoEventTest2</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/css/style.css b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/index.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/index.html
deleted file mode 100755 (executable)
index 308edf6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppInfoEventTest</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body bgcolor="FFFFFF" >
-  <header>
-    <hgroup>
-      <h1>TCTAppInfoEventTest</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/manifest.json b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/manifest.json
deleted file mode 100755 (executable)
index bab21b0..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppInfoEventTest2", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppInfoEventTest2", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/config.xml b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/config.xml
deleted file mode 100755 (executable)
index 2a69e8b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/TCTbroadcastApp" version="1.0.0" viewmodes="maximized">
-    <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*" subdomains="true"/>
-    <tizen:application id="api1appli4.TCTbroadcastApp" package="api1appli4" required_version="2.3"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTbroadcastApp</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
-
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/css/style.css b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/index.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/index.html
deleted file mode 100755 (executable)
index 678400c..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
-
-    <title>Tizen Web IDE - Tizen - Tizen basic Application</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-    <script src="js/main.js"></script>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>Tizen app</h1>
-      <h2>An broadcast sender tizen app</h2>
-    </hgroup>
-  </header>
-
-  <nav>
-    <ul>
-       <li><a href="#">Home</a></li>
-       <li><a href="#">About Us</a></li>
-       <li><a href="#">Contact Us</a></li>
-    </ul>
-  </nav>
-
-  <article>
-    <header>
-      <h1>
-        <img src="images/tizen_32.png" width="32"/> Application Name
-      </h1>
-    </header>
-    <p>This is an Tizen Web Application</p>
-    <ul>
-      <li>smartphones, tablets and smart TVs
-      <li>netbooks, in-vehicle infotainment devices
-    </ul>
-    <section>
-      <p>This is a broadcast app for TCT suit.</p>
-      <p>The following button to send a broadcast to test case</p>
-      <div id="divbutton1">
-        <button onclick="sendBroadcast();">Send</button>
-      </div>
-    </section>
-  </article>
-
-  <footer>
-    <p>&copy; 2015 Samsung Company. All rights reserved.</p>
-  </footer>    
-</body>
-</html>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/js/main.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/js/main.js
deleted file mode 100755 (executable)
index ee8520f..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-var startTime;
-var checkTime;
-var myCustomData = {type: 'bar', value: 'val'};
-//Initialize function
-var init = function () {
-       // TODO:: Do your initialization job
-       console.log("init() called");
-
-       // add eventListener for tizenhwkey
-       document.addEventListener('tizenhwkey', function(e) {
-               if(e.keyName == "back") {
-                       try {
-                               tizen.application.getCurrentApplication().exit();
-                       } catch (error) {
-                               console.error("getCurrentApplication(): " + error.message);
-                       }
-               }
-       });
-       sendBroadcaset();
-};
-// window.onload can work without <body onload="">
-window.onload = init;
-
-function sendBroadcaset() {
-        var app = tizen.application.getCurrentApplication();
-        app.broadcastEvent({"appId": app.appInfo.id, "name": "broadcast_event"}, myCustomData);
-        tizen.application.getCurrentApplication().exit();
-}
-
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/manifest.json b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/manifest.json
deleted file mode 100755 (executable)
index 5d5d296..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTbroadcastApp", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTbroadcastApp", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/app_common.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/app_common.js
deleted file mode 100755 (executable)
index 0329f7e..0000000
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
-Copyright (c) 2014 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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Mariusz Polasinski <m.polasinski@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-*/
-
-
-var METADATA_KEY = "testKey";
-var METADATA_VALUE = "testValue";
-var TCT_APPCONTROL_APPID_METADATA = {
-    testKey1: "testValue1",
-    testKey2: "testValue2"
-}
-
-var THIS_APP_ID = "api1appli0.WebAPITizenApplicationTests";
-var INVALID_APP_ID = "api1appli0.WebAPITizenApplicationTestsInvalid";
-var APP_INFO_TEST_APP_ID = "api1appli3.TCTAppInfoEventTest";
-var APP_BROAD_TEST_APP_ID = "api1appli4.TCTbroadcastApp";
-
-var APP_BROAD_TEST_EVENT_NAME = "broadcast_event";
-var APP_BROAD_TEST_APP_NAME = "TCTbroadcastApp";
-
-var TCT_APPCONTROL_APPID = "api1appli1.TCTAppControl";
-var TCT_APPCONTROL_MOCK_APPID = "api1appli2.TCTAppControlMock";
-
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION = "http://tizen.org/appcontrol/operation/tct/launch";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_URI = "tct://launch_appcontrol.html";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME = "text/html";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME_INVALID = "invalid/invalid";
-
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_OPERATION = "http://tizen.org/appcontrol/operation/tct/launch/explicit";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_URI = "tct://launch_appcontrol.html";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_MIME = "text/html";
-
-var TCT_APPCONTROL_REPLY_RESULT_OPERATION = "http://tizen.org/appcontrol/operation/tct/reply_result";
-var TCT_APPCONTROL_REPLY_RESULT_WITH_DATA_OPERATION = "http://tizen.org/appcontrol/operation/tct/reply_result/data";
-var TCT_APPCONTROL_REPLY_FAILURE_OPERATION = "http://tizen.org/appcontrol/operation/tct/reply_failure";
-
-var TCT_APPCONTROL_RUN_TEST_OPERATION = "http://tizen.org/appcontrol/operation/tct/run_test";
-var TCT_APPCONTROL_RUN_TEST_URI_PREFIX = "tct://";
-var TCT_APPCONTROL_RUN_TEST_MIME = "application/javascript";
-
-var TCT_APPCONTROL_EXIT_OPERATION = "http://tizen.org/appcontrol/operation/tct/exit";
-
-var TYPE_MISMATCH_ERR = {name: 'TypeMismatchError'};
-
-var TIMEOUT_AUTO_TEST = 30000;
-
-var TCT_WGT_LOCATION = "/opt/usr/home/owner/share/tct/opt/tct-deprecatedapi-tizen-tests/mediasrc/";
-var TCT_APPINFOEVENT1_PKG_NAME = "api1appli3";
-var TCT_TCTAPPINFOEVENTTEST1_NAME = "TCTAppInfoEventTest1.wgt";
-var TCT_TCTAPPINFOEVENTTEST2_NAME = "TCTAppInfoEventTest2.wgt";
-
-setup({timeout: TIMEOUT_AUTO_TEST});
-
-
-/**
- * Function runs test in other application (TCTAppControl) and receives
- * the results.
- *
- * @param testName name of the test
- */
-function runTestAtTCTAppControl(testName) {
-    var t = async_test(testName, { timeout: TIMEOUT_AUTO_TEST }),
-    appControl, onreply, onerror, data;
-
-    setup_launch(t, TCT_APPCONTROL_APPID, function () {
-        appControl = new tizen.ApplicationControl(
-                        TCT_APPCONTROL_RUN_TEST_OPERATION,
-                        TCT_APPCONTROL_RUN_TEST_URI_PREFIX+testName,
-                        TCT_APPCONTROL_RUN_TEST_MIME);
-
-        onreply = {
-            onsuccess: t.step_func(function (dataArray) {
-                assert_true(dataArray.length == 2, "Unexpected dataArray");
-
-                for (data in dataArray) {
-                    if (dataArray[data].key === "status") {
-                        t.status = parseInt(dataArray[data].value[0]);
-                    } else if (dataArray[data].key === "message") {
-                        t.message = dataArray[data].value[0];
-                    } else {
-                        assert_unreached("Unexpected key in data");
-                        return;
-                    }
-                }
-
-                t.done();
-            }),
-            onfailure: t.step_func(function () {
-                assert_unreached("Unexpected onfailure");
-            })
-        };
-
-        onerror = t.step_func(function (error) {
-            assert_unreached("launchAppControl failure: " + error.message);
-        });
-
-        tizen.application.launchAppControl(appControl, null, null, onerror, onreply);
-    });
-}
-
-function setup_launch(t, appId, onready) {
-    t.step(function() {
-        onready = t.step_func(onready);
-      
-        tizen.application.getAppsContext(
-            t.step_func(function (contexts) {
-                for (var i in contexts) {
-                    if (contexts[i].appId === appId) {
-                        tizen.application.kill(contexts[i].id, onready, onready);
-                        return;
-                    }
-                }
-                onready();
-            }),
-            t.step_func(function (error) {
-                assert_unreached("setup_launch fails: " + error.name + " with message: " + error.message);
-            })
-        );  
-    });
-}
-
-function assert_launch(t, appId, onsuccess) {
-    var intervalId = setInterval(t.step_func(function() {
-        tizen.application.getAppsContext(
-            t.step_func(function (contexts) {
-                for (var i in contexts) {
-                    if (contexts[i].appId === appId) {
-                        clearInterval(intervalId);
-                        t.step_func(onsuccess)(contexts[i]);
-                        return;
-                    }
-                }
-            }),
-            t.step_func(function (error) {
-                assert_unreached("assert_launch fails: " + error.name + " with message: " + error.message);
-            })
-        );
-    }), 5000);
-}
-
-function assert_not_launch(t, appId, onsuccess) {
-    tizen.application.getAppsContext(
-        t.step_func(function (contexts) {
-            for (var i in contexts) {
-                if (contexts[i].appId === appId) {
-                    assert_unreached("assert_not_launch fails: "+appId+" has launched");
-                    return;
-                }
-            }
-            t.step_func(onsuccess)();
-        }),
-        t.step_func(function (error) {
-            assert_unreached("assert_not_launch fails: " + error.name + " with message: " + error.message);
-        })
-    );
-}
-
-function assert_kill(t, appId, onsuccess) {
-    var intervalId = setInterval(t.step_func(function() {
-        tizen.application.getAppsContext(
-            t.step_func(function (contexts) {
-                for (var i in contexts) {
-                    if (contexts[i].appId === appId) {
-                        return;
-                    }
-                }
-                clearInterval(intervalId);
-                t.step_func(onsuccess)();
-            }),
-            t.step_func(function (error) {
-                assert_unreached("assert_kill fails: " + error.name + " with message: " + error.message);
-            })
-        );
-    }), 1000);
-}
-
-function assert_not_kill(t, appId, onsuccess) {
-    tizen.application.getAppsContext(
-        t.step_func(function (contexts) {
-            for (var i in contexts) {
-                if (contexts[i].appId === appId) {
-                    t.step_func(onsuccess)();
-                    return;
-                }
-            }
-            assert_unreached("assert_not_kill fails: " + appId + " is not found");
-        }),
-        t.step_func(function (error) {
-            assert_unreached("assert_not_kill fails: " + error.name + " with message: " + error.message);
-        })
-    );
-}
-
-function assert_exit(t, appId, onsuccess) {
-    assert_kill(t, appId, onsuccess);
-}
-
-function installApplicationCommand(appName, path) {
-    path = path.slice(-1) == "/" ? path : path + "/";
-    return "pkgcmd -i -t wgt -q -p" + path + appName;
-}
-
-function uninstallApplicationCommand(appName) {
-    return "pkgcmd -u -n" + appName;
-}
-
-document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/content_common.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/content_common.js
deleted file mode 100755 (executable)
index c29930d..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-/*
-
-Copyright (c) 2014 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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-        Xiaoyan Qian <xy.qian@samsung.com>
-*/
-
-var TIMEOUT_ASYNC_TEST = 30000;
-setup({timeout: TIMEOUT_ASYNC_TEST});
-
-var TEST_CONTENT_PATH = "";
-var CONTENT_PATH = "";
-document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
-document.write('<script src="support/getJsonConf.js"></script>');
-var TEST_CONTENT_IMAGES = [
-    "tct-content-tizen-tests_image_default.jpg",
-    "tct-content-tizen-tests_image_geolocation.jpg",
-    "tct-content-tizen-tests_image_orientation_1.jpg",
-    "tct-content-tizen-tests_image_orientation_2.jpg",
-    "tct-content-tizen-tests_image_orientation_3.jpg",
-    "tct-content-tizen-tests_image_orientation_4.jpg",
-    "tct-content-tizen-tests_image_orientation_5.jpg",
-    "tct-content-tizen-tests_image_orientation_6.jpg",
-    "tct-content-tizen-tests_image_orientation_7.jpg",
-    "tct-content-tizen-tests_image_orientation_8.jpg"
-]
-
-var TEST_CONTENT_AUDIOS = [
-    "tct-content-tizen-tests_audio_default.mp3",
-    "tct-content-tizen-tests_audio_lyrics.mp3",
-    "tct-content-tizen-tests_audio_no_tag.mp3"
-]
-
-var TEST_CONTENT_VIDEOS = [
-    "tct-content-tizen-tests_video.mp4",
-    "tct-content-tizen-tests_video_tagged.mp4"
-]
-
-function setup_contents(async_test, onscaned) {
-    var contents = [];
-    contents = contents.concat(TEST_CONTENT_IMAGES);
-    contents = contents.concat(TEST_CONTENT_AUDIOS);
-    contents = contents.concat(TEST_CONTENT_VIDEOS);
-
-    function scanFiles(files, oncompleted) {
-        var file = files.shift();
-
-        tizen.content.scanFile(
-            "file://"+CONTENT_PATH+file,
-            async_test.step_func(function (content) {
-                if (files.length) {
-                    scanFiles(files, oncompleted);
-                } else {
-                    oncompleted();
-                }
-            }),
-            async_test.step_func(function (error) {
-                assert_unreached("setup_contents fails: " + error.name + " with message: " + error.message);
-            })
-        );
-    }
-
-    scanFiles(contents, onscaned);
-}
-
-function check_content_object(content) {
-    assert_type(content.editableAttributes, "array", "editableAttributes should be an array");
-    assert_type(content.id, "string", "id should be a string");
-    assert_type(content.name, "string", "name shoud be a string");
-    assert_type(content.type, "string", "type should be a string");
-    assert_type(content.mimeType, "string", "mimeType should be a string");
-    assert_type(content.title, "string", "title should be a string");
-    assert_type(content.contentURI, "string", "contentURI should be a string");
-    assert_type(content.size, "number", "size should be a number");
-    assert_type(content.rating, "number", "rating should be a number");
-    if(content.thumbnailURIs !== null) {
-        assert_type(content.thumbnailURIs, "array", "thumbnailURIs should be an array");
-    }
-    if(content.releaseDate !== null) {
-        assert_type(content.releaseDate, "date", "releaseDate should be a date");
-    }
-    if(content.modifiedDate !== null) {
-        assert_type(content.modifiedDate, "date", "modifiedDate should be a date");
-    }
-    if(content.description !== null) {
-        assert_type(content.description, "string", "description should be a string");
-    }
-}
-
-function prepare_file_for_scan(addedImagePath, onCopySuccess) {
-    var onCopyError = t.step_func(function (error) {
-        assert_unreached("Failed to copy a file to " + addedImagePath + " with message: " + error.message);
-    });
-
-    var copyContentFile = t.step_func(function () {
-        tizen.filesystem.resolve(
-            "file://" + CONTENT_PATH,
-            function (contentDirectory){
-                contentDirectory.copyTo(CONTENT_PATH + TEST_CONTENT_IMAGES[0], addedImagePath, true, onCopySuccess, onCopyError);
-            },
-            function (error) {
-                assert_unreached("Failed to resolve a directory: " + error.message);
-            },
-            "r"
-        );
-    });
-
-    var onDeleteSuccess = t.step_func(function () {
-        tizen.content.scanFile("file://" + addedImagePath, function (){
-            copyContentFile();
-        });
-    });
-
-    var onDeleteError = t.step_func(function () {
-        copyContentFile();
-    });
-
-    tizen.filesystem.resolve(
-        "file://" + TEST_CONTENT_PATH,
-        function (directory){
-            var sharedDirectory = directory;
-            sharedDirectory.deleteFile(addedImagePath, onDeleteSuccess, onDeleteError);
-        },
-        function (error) {
-            assert_unreached("Failed to resolve a directory: " + error.message);
-        },
-        "rw"
-    );
-}
-
-function randomString(len) {
-    len = len || 32;
-    var $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
-    var maxPos = $chars.length;
-    var pwd = '';
-    var i;
-    for (i = 0; i < len; i++) {
-        pwd += $chars.charAt(Math.floor(Math.random() * maxPos));
-    }
-    return pwd;
-}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/filesystem_common.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/filesystem_common.js
new file mode 100755 (executable)
index 0000000..e833de4
--- /dev/null
@@ -0,0 +1,201 @@
+/*
+
+Copyright (c) 2014 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:
+
+
+
+*/
+
+var TEST_ROOT_LOCATION = "downloads";
+
+var FILE_AND_DIR_NAME_PREFIX = "tizen_WebAPI_test_";
+var UNKNOWN_ERR              = "UnknownError";
+var TYPE_MISMATCH_ERR        = "TypeMismatchError";
+var IO_ERR                   = "IOError";
+var INVALID_VALUES_ERR       = "InvalidValuesError";
+var SECURITY_ERR             = "SecurityError";
+var NOT_FOUND_ERR            = "NotFoundError";
+
+var globalCounter = 1;
+
+var CONTENT_DIR = "";
+document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
+document.write('<script src="support/getJsonConf.js"></script>');
+
+function isFileObject(obj) {
+    return true;
+}
+
+function isFile(obj) {
+    return (isFileObject(obj) && !obj.isDirectory);
+}
+
+function isDir(obj) {
+    return (isFileObject(obj) && obj.isDirectory);
+}
+
+function isFilestream(obj) {
+    return true;
+}
+
+function deleteDirectory(parent, dir) {
+    function onError(err) {
+        assert_false("deleteDirectory() [" + err.name + "]", "directory wasn't deleted");
+    }
+
+    function onSuccess() {
+    }
+    parent.deleteDirectory(dir.fullPath, true, onSuccess, onError);
+}
+
+function deleteFile(parent, file) {
+    function onError(err) {
+        assert_false("deleteFile [" + err.name + "]", "file wasn't deleted");
+    }
+
+    function onSuccess() {
+    }
+    parent.deleteFile(file.fullPath, onSuccess, onError);
+}
+
+function resolve_root_location(handler) {
+    function on_resolve_error(err) {
+        assert_false("resolve error: [" + err.name + "]", "error during resolving the root location");
+    }
+
+    function on_resolve_success(file) {
+        assert_true(isFileObject(file), "resolve()");
+        handler(file);
+    }
+    tizen.filesystem.resolve(TEST_ROOT_LOCATION, on_resolve_success, on_resolve_error);
+}
+
+function getFileName(fileName) {
+    return FILE_AND_DIR_NAME_PREFIX + "_" + fileName;
+}
+
+function getDirName(dirName) {
+    return FILE_AND_DIR_NAME_PREFIX + "_" + dirName;
+}
+
+function createFileForParent(parent) {
+    var result = parent.createFile(getFileName());
+    assert_true(isFile(result), "createFile");
+    return result;
+}
+
+function createDirForParent(parent) {
+    var result = parent.createDirectory(getDirName());
+    assert_true(isDir(result), "createDirectory()");
+    return result;
+}
+
+function deleteFileAndDone(test, file) {
+    if(file === undefined) {
+        throw new Error("deleteFileAndDone: file is undefined");
+    }
+    if(file.parent === null){
+        throw new Error("deleteFileAndDone: parent directory is null");
+    }
+    file.parent.deleteFile(file.fullPath,
+        test.step_func(function() {
+            test.done();
+        }),
+        test.step_func(function(err) {
+            assert_unreached("deleteFileAndDone: delete onError " + err.message);
+        }));
+}
+
+function prepareForTesting(test, successCallback) {
+    var i, j, toRemoveCounter = 0, dirCounter = 0, deleteSuccess, deleteError, filesToRemove = 0,
+        resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+        filterRegExp = new RegExp("^" + FILE_AND_DIR_NAME_PREFIX),
+        rootDirectories = ["documents", "images", "music", "videos", "downloads", "camera"];
+
+    deleteError = test.step_func(function (error) {
+        assert_unreached("delete() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteSuccess = test.step_func(function () {
+        filesToRemove--;
+        toRemoveCounter--;
+        if ((dirCounter === rootDirectories.length) && (toRemoveCounter === 0) && (filesToRemove === 0)) {
+            test.step_func(successCallback)();
+        }
+    });
+
+    listFilesSuccess = test.step_func(function (files) {
+        dirCounter++;
+        filesToRemove += files.length;
+        for (j = 0; j < files.length; j++) {
+            if (files[j].name.search(filterRegExp) > -1) {
+                toRemoveCounter++;
+                if (files[j].isDirectory) {
+                    files[j].parent.deleteDirectory(files[j].fullPath, true, deleteSuccess, deleteError);
+                } else {
+                    files[j].parent.deleteFile(files[j].fullPath, deleteSuccess, deleteError);
+                }
+            } else {
+                filesToRemove--;
+            }
+        }
+        if ((dirCounter === rootDirectories.length) && (toRemoveCounter === 0) && (filesToRemove === 0)) {
+            test.step_func(successCallback)();
+        }
+    });
+
+    listFilesError = test.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = test.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = test.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    for (i =0; i < rootDirectories.length; i++) {
+        tizen.filesystem.resolve(rootDirectories[i], resolveSuccess, resolveError, "rw");
+    }
+}
+
+function checkOwnProperties(fileHandle) {
+    var i, len, fileProperties = ["parent", "readOnly", "isFile", "isDirectory", "created", "modified", "path",
+                                  "name", "fullPath", "fileSize", "length"];
+    for (i = 0, len = fileProperties.length; i < len; i++) {
+        assert_own_property(fileHandle, fileProperties[i], "object does not have its own " + fileProperties[i] + " property");
+    }
+}
+
+function getTypeStringExceptions(conversionType, isOptional) {
+    var exceptionName = "InvalidValuesError",
+        conversionTable;
+    switch (conversionType) {
+        case "string":
+            conversionTable = [
+                [undefined, exceptionName]
+            ];
+            break;
+        default:
+            assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+    };
+    return conversionTable;
+}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/notification_common.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/notification_common.js
new file mode 100755 (executable)
index 0000000..78cf64b
--- /dev/null
@@ -0,0 +1,158 @@
+/*
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ * Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+
+
+ */
+
+document.write("<script language=\"javascript\" src=\"..\/resources\/testharness.js\"><\/script>");
+document.write("<script language=\"javascript\" src=\"..\/resources\/testharnessreport.js\"><\/script>");
+
+var applicationControl, notificationDict, statusNotification, titleToSet = "Title",
+    contentToSet = "This is a content notificaiton.",
+    iconPathToSet = "images/webapi-tizen-notification-test_image1.jpg",
+    iconPathToSet2 = "images/webapi-tizen-notification-test_image2.jpg",
+    soundPathToSet = "music/webapi-tizen-notification-test_noise1.mp3",
+    soundPathToSet2 = "music/webapi-tizen-notification-test_noise2.mp3",
+    subIconPathToSet = "images/webapi-tizen-notification-test_subIcon1.jpg",
+    subIconPathToSet2 = "images/webapi-tizen-notification-test_subIcon2.jpg",
+    backgroundImagePathToSet = "images/webapi-tizen-notification-test_background1.jpg",
+    backgroundImagePathToSet2 = "images/webapi-tizen-notification-test_background2.jpg",
+    thumbnailToSet = "images/webapi-tizen-notification-test_thumbnail1.jpg",
+    thumbnailToSet2 = "images/webapi-tizen-notification-test_thumbnail2.jpg",
+    thumbnailToSet3 = "images/webapi-tizen-notification-test_thumbnail3.jpg",
+    thumbnailToSet4 = "images/webapi-tizen-notification-test_thumbnail4.jpg",
+    thumbnailToSet5 = "images/webapi-tizen-notification-test_thumbnail5.jpg",
+    thumbnailToSet6 = "images/webapi-tizen-notification-test_thumbnail6.jpg",
+    thumbnailToSet7 = "images/webapi-tizen-notification-test_thumbnail7.jpg",
+    thumbnailToSet8 = "images/webapi-tizen-notification-test_thumbnail8.jpg",
+    thumbnailToSet9 = "images/webapi-tizen-notification-test_thumbnail9.jpg",
+    thumbnailToSet10 = "images/webapi-tizen-notification-test_thumbnail10.jpg",
+    vibrationToSet = true,
+    appIdToSet = tizen.application.getAppInfo().id, progressValueToSet = 77, numberToSet = 8,
+    detailInfoToSet = [
+        new tizen.NotificationDetailInfo("mainText1", "subText1"),
+        new tizen.NotificationDetailInfo("mainText2", "subText2")
+    ],
+    thumbnailsToSet = [
+        thumbnailToSet, thumbnailToSet2, thumbnailToSet3, thumbnailToSet4
+    ];
+
+applicationControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
+        null, "image/jpg", null);
+
+notificationDict = {
+    content : contentToSet,
+    iconPath : iconPathToSet,
+    soundPath : soundPathToSet,
+    vibration : vibrationToSet,
+    appControl : applicationControl,
+    appId : appIdToSet,
+    progressValue : progressValueToSet,
+    number: numberToSet,
+    subIconPath: subIconPathToSet,
+    detailInfo: detailInfoToSet,
+    backgroundImagePath: backgroundImagePathToSet,
+    thumbnails: thumbnailsToSet
+};
+
+
+function test_func_property_exist(_object, _func_property_name, _desc) {
+    var object = _object;
+    var func_property_name = _func_property_name;
+    var desc = _desc;
+    try {
+        test(function() {
+            assert_true(func_property_name in object);
+        }, desc);
+    } catch (err) {
+        test(function() {
+            assert_true(false, "Exception - message: " + err.message);
+        }, desc);
+    }
+}
+
+function create_notification() {
+    var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/create_content",
+            null, "image/jpg", null);
+
+    var notificationDict = {
+        content : "This is a progress notificaiton.",
+        iconPath : "images/webapi-tizen-notification-test_image1.jpg",
+        soundPath : "music/webapi-tizen-notification-test_noise1.mp3",
+        vibration : true,
+        appControl : appControl,
+        progressValue : 20
+    };
+    return new tizen.StatusNotification("PROGRESS", "Progress notification",
+            notificationDict);
+}
+
+function testStatusNotificationConstructor(statusNotificationType, progessTypeToSet) {
+    var i;
+    notificationDict["progressType"] = progessTypeToSet;
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "Created object is not of proper interface.");
+
+    check_readonly(statusNotification, "postedTime", undefined, 'undefined', new Date());
+    assert_equals(statusNotification.title, titleToSet, "title attribute.");
+    assert_equals(statusNotification.content, contentToSet, "content attribute.");
+    assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
+    assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath attribute.");
+    assert_equals(statusNotification.subIconPath, subIconPathToSet, "subIconPath attribute.");
+
+    assert_equals(statusNotification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+    for (i = 0; i < detailInfoToSet.length; i++) {
+        assert_equals(statusNotification.detailInfo[i].mainText, detailInfoToSet[i].mainText, "detailInfo.mainText attribute for index = " + i + ".");
+        assert_equals(statusNotification.detailInfo[i].subText, detailInfoToSet[i].subText, "detailInfo.subText attribute for index = " + i + ".");
+    }
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+    assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+    assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+
+    assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath attribute.");
+    assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath attribute.");
+    assert_equals(statusNotification.vibration, vibrationToSet, "vibration attribute.");
+    assert_equals(statusNotification.number, numberToSet, "number attribute.");
+
+    assert_equals(statusNotification.appControl.uri, applicationControl.uri, "appControl.uri attribute.");
+    assert_equals(statusNotification.appControl.mime, applicationControl.mime, "appControl.mime attribute.");
+    assert_equals(statusNotification.appControl.category, applicationControl.category,
+            "appControl.category attribute.");
+    assert_array_equals(statusNotification.appControl.data, applicationControl.data,
+            "appControl.data attribute.");
+    assert_equals(statusNotification.appControl.operation, applicationControl.operation,
+            "appControl.operation attribute.");
+
+    check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
+    assert_equals(statusNotification.appId, appIdToSet, "appId attribute.");
+    assert_equals(statusNotification.progressType, progessTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+    check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
+    assert_array_equals(statusNotification.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/power_common.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/power_common.js
deleted file mode 100755 (executable)
index 5234d13..0000000
+++ /dev/null
@@ -1,29 +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:
-
-*/
-
-var TYPE_MISMATCH_ERR = 'TypeMismatchError';
-var INVALID_VALUES_ERR = 'InvalidValuesError';
-var NOT_SUPPORTED_ERR = 'NotSupportedError';
-var NOT_FOUND_ERR = 'NotFoundError';
-
-var PowerScreenStates = [ "SCREEN_OFF", "SCREEN_DIM", "SCREEN_NORMAL" ];
-
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/push_common.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/push_common.js
deleted file mode 100644 (file)
index 284f85c..0000000
+++ /dev/null
@@ -1,23 +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.
-
-
-
-*/
-
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharness.js\"><\/script>");
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharnessreport.js\"><\/script>");
-
-var service = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_test");
\ No newline at end of file
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/systeminfo_common.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/systeminfo_common.js
deleted file mode 100755 (executable)
index 832322b..0000000
+++ /dev/null
@@ -1,71 +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.
-
-
- */
-
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharness.js\"><\/script>");
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharnessreport.js\"><\/script>");
-
-var attribute = "";
-var status_value = "";
-var isRoaming = false;
-
-var SYSTEM_INFO_NETWORK_TYPE = ["NONE", "2G", "2.5G", "3G", "4G", "WIFI", "ETHERNET", "NET_PROXY", "UNKNOWN"];
-var SystemInfoDeviceCapability = ["bluetooth", "nfc", "nfcReservedPush", "multiTouchCount", "inputKeyboard", "inputKeyboardLayout", "wifi", "wifiDirect", "opengles", "openglestextureFormat", "openglesVersion1_1", "openglesVersion2_0", "fmRadio", "platformVersion", "webApiVersion", "nativeApiVersion", "platformName", "camera", "cameraFront", "cameraFrontFlash", "cameraBack", "cameraBackFlash", "location", "locationGps", "locationWps", "microphone", "usbHost", "usbAccessory", "screenOutputRca", "screenOutputHdmi", "platformCoreCpuArch", "platformCoreFpuArch", "sipVoip", "duid", "speechRecognition", "speechSynthesis", "accelerometer", "accelerometerWakeup", "barometer", "barometerWakeup", "gyroscope", "gyroscopeWakeup", "magnetometer", "magnetometerWakeup", "photometer", "photometerWakeup", "proximity", "proximityWakeup", "tiltmeter", "tiltmeterWakeup", "dataEncryption", "graphicsAcceleration", "push", "telephony", "telephonyMms", "telephonySms", "screenSizeNormal", "screenSize480_800", "screenSize720_1280", "autoRotation", "shellAppWidget", "visionImageRecognition", "visionQrcodeGeneration", "visionQrcodeRecognition", "visionFaceRecognition", "secureElement", "nativeOspCompatible", "profile"];
-var SystemInfoStorageUnit = ["type", "capacity", "availableCapacity", "isRemovable"];
-var systemInfoPropertyId = ["BATTERY", "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "LOCALE", "NETWORK", "WIFI_NETWORK", "CELLULAR_NETWORK", "SIM", "PERIPHERAL", "CAMERA_FLASH", "ADS"];
-var SYSTEM_INFO_DEVICE_ORIENTATION_STATUS = ["PORTRAIT_PRIMARY", "PORTRAIT_SECONDARY", "LANDSCAPE_PRIMARY", "LANDSCAPE_SECONDARY"];
-var SYSTEM_INFO_SIM_STATE = ["ABSENT", "INITIALIZING", "READY", "PIN_REQUIRED", "PUK_REQUIRED", "NETWORK_LOCKED", "SIM_LOCKED", "UNKNOWN"];
-var PLATFROM_CORE_CPU_ARCH = ["armv6", "armv7", "x86", "llvm"];
-var PLATFROM_CORE_FPU_ARCH = ["vfpv3", "sse2", "sse3", "ssse3"];
-var SYSTEM_INFO_PROFILE = ["WEARABLE", "MOBILE", "MOBILE_FULL"];
-
-var INVALID_VALUES_ERR = {
-    name: "InvalidValuesError"
-};
-var TYPE_MISMATCH_ERR = {
-    name: "TypeMismatchError"
-};
-
-function assert_value_in_range(minValue, maxValue, attributeValue, description) {
-    var expected, epsilon;
-
-    assert_type(attributeValue, "number", "attributeValue is not a number.");
-
-    epsilon = Math.abs((Number(maxValue) - Number(minValue)) / 2);
-    expected = Number(maxValue) - epsilon;
-    assert_approx_equals(attributeValue, expected, epsilon, description)
-}
-function getTypeExceptions(conversionType) {
-    var exceptionName = "TypeMismatchError",
-        conversionTable;
-    switch (conversionType) {
-        case "unsigned long":
-            conversionTable = [
-                [undefined, exceptionName],
-                [NaN, exceptionName],
-                [Number.POSITIVE_INFINITY, exceptionName],
-                [Number.NEGATIVE_INFINITY, exceptionName],
-                ["TIZEN", exceptionName],
-                [{ name : "TIZEN" }, exceptionName],
-                [function () { }, exceptionName]
-            ];
-            break;
-        default:
-            assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
-    };
-    return conversionTable;
-}
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/time_common.js b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/support/time_common.js
deleted file mode 100755 (executable)
index c4a5b4e..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-
-
-*/
-
-var NOT_SUPPORTED_ERR     = "NotSupportedError";
-var UNKNOWN_ERR           = "UnknownError";
-var TYPE_MISMATCH_ERR     = "TypeMismatchError";
-var INVALID_VALUES_ERR    = "InvalidValuesError";
-var NOT_FOUND_ERR         = "NotFoundError";
-var PERMISSION_DENIED_ERR = "SecurityError";
-var IO_ERR                = "IOError";
-var ERROR_STR             = "Error";
-var ERROR_NUM             = 3;
-
-var expected_year         = 2011;
-var expected_month        = 10;
-var expected_date         = 11;
-var expected_hours        = 4;
-var expected_minutes      = 55;
-var expected_seconds      = 54;
-var expected_milliseconds = 12;
-var expected_time_zone    = "Asia/Seoul";//GMT+9
-var expected_time_zone_offset = 9;
-
-var date = new tizen.TZDate(
-    expected_year,          //year
-    expected_month,         //month
-    expected_date,          //day
-    expected_hours,         //hours
-    expected_minutes,       //minutes
-    expected_seconds,       //seconds
-    expected_milliseconds,  //milliseconds
-    expected_time_zone      //timeZone
-);
-var invalidArgument = [
-    true,
-    false,
-    undefined,
-    null,
-    ["one", "two"],
-    {argument: 1},
-    function () {}
-];
-
-var testAdditionalParamArray = [ERROR_NUM, null, undefined];
-
-
-
index 3e63b6073cb4988d0377ebef13d040b9e78e89fb..94ef60e334094a2d4fb1acadcc91f619cf91db1a 100755 (executable)
@@ -41,8 +41,10 @@ MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
 TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
 NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
 INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+UNKNOWN_EXCEPTION = {name: 'UnknownError'};
 IO_EXCEPTION = {name: 'IOError'};
 SECURITY_EXCEPTION = {name: 'SecurityError'};
+NOT_SUPPORTED_EXCEPTION = {name: 'NotSupportedError'};
 
 
 (function () {
@@ -137,6 +139,14 @@ function getTypeConversionExceptions(conversionType, isOptional) {
                 [function () { }, exceptionName]
             ];
             break;
+        case "long":
+            conversionTable = [
+                [undefined, exceptionName],
+                ["TIZEN", exceptionName],
+                [{ name : "TIZEN" }, exceptionName],
+                [function () { }, exceptionName]
+            ];
+            break;
         case "object":
             conversionTable = [
                 [true, exceptionName],
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3 b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3
deleted file mode 100755 (executable)
index c41d536..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3 and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3 b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3
deleted file mode 100755 (executable)
index 28d6324..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3 and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3 b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3
deleted file mode 100755 (executable)
index 7aa44e8..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3 and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg
deleted file mode 100755 (executable)
index c090428..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg
deleted file mode 100755 (executable)
index 6abe1ed..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg
deleted file mode 100755 (executable)
index 1326236..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg
deleted file mode 100755 (executable)
index d9336b5..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg
deleted file mode 100755 (executable)
index 330c088..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg
deleted file mode 100755 (executable)
index 8aaed3f..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg
deleted file mode 100755 (executable)
index 945a83d..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg
deleted file mode 100755 (executable)
index da8c2c3..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg
deleted file mode 100755 (executable)
index dfa93ca..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg
deleted file mode 100755 (executable)
index 6fdd2e8..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4 b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4
deleted file mode 100755 (executable)
index e203ae2..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4 and /dev/null differ
diff --git a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4 b/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4
deleted file mode 100755 (executable)
index a6b7048..0000000
Binary files a/mobile/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4 and /dev/null differ
index aa925ec1fd4459c25a500ad44406df0f3424ab38..7c47d74783e60de261b238bb16a1adbee287c35a 100755 (executable)
                 "shellmanager.py": "shellmanager.py",
                 "Queue.py": "Queue.py",
                 "askpolicy.sh": "askpolicy.sh",
-                "media": "media",
                 "tests.xml": "tests.xml"
             },
             "pkg-app": {
                 "sign-flag": "true"
-            },
-            "subapp-list": {
-                "deprecatedapi/support/TCTAppControl": {
-                    "app-name": "TCTAppControl",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTAppControlMock": {
-                    "app-name": "TCTAppControlMock",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTbroadcastApp": {
-                    "app-name": "TCTbroadcastApp",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTAppInfoEventTest1": {
-                    "app-name": "TCTAppInfoEventTest1",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "mediasrc",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTAppInfoEventTest2": {
-                    "app-name": "TCTAppInfoEventTest2",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "mediasrc",
-                    "sign-flag": "true"
-                }
             }
         }
     },
index 8bff10b26a3ec09b4fae01a9e76a5033346e0926..2df44ebb60b61eb1c661a2743a894f21d40fa2d2 100755 (executable)
 <?xml-stylesheet type="text/xsl"  href="./testcase.xsl"?>
 <test_definition>
   <suite name="tct-deprecatedapi-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
-    <set name="deprecatedapi_SystemInfo" type="js">
-      <testcase purpose="Check method getCapabilities of SystemInfo" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getCapabilities">
+    <set name="deprecatedapi_Alarm">
+      <testcase purpose="Test whether the constructor with date parameter and period parameter are supported" type="compliance" status="approved" component="TizenAPI/Application/Alarm" execution_type="auto" priority="P1" id="AlarmAbsolute_constructor_date_period">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="SystemInfo" element_type="method" element_name="getCapabilities" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+            <spec_assertion interface="AlarmAbsolute" element_type="constructor" element_name="constructor" specification="Alarm" section="Application" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method getCapabilities of SystemInfo exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getCapabilities_exist">
+      <testcase purpose="Check AlarmAbsolute for period attribute" type="compliance" status="approved" component="TizenAPI/Application/Alarm" execution_type="auto" priority="P1" id="AlarmAbsolute_period_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="SystemInfo" element_type="method" element_name="getCapabilities" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+            <spec_assertion interface="AlarmAbsolute" element_type="attribute" element_name="period" specification="Alarm" section="Application" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method getCapabilities of SystemInfo accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getCapabilities_extra_argument">
+    </set>
+    <set name="deprecatedapi_notification" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/notification"/>
+      </capabilities>
+      <testcase purpose="Check if the parameter NotificationManager which in get method ok" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="SystemInfo" element_type="method" element_name="getCapabilities" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if attribute isRemoveable of SystemInfoStorageUnit exists, has type Boolean and is readonly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoStorageUnit_isRemoveable_attribute">
+      <testcase purpose="Check if NotificationManager.getAll method works" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="SystemInfoStorageUnit" element_type="attribute" element_name="isRemoveable" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Application" type="js">
-      <testcase purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
+      <testcase purpose="Check if method getAll which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_exist">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
+      <testcase purpose="Check if method getAll of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_extra_argument">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method addAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_addAppInfoEventListener_exist">
+      <testcase purpose="Check if method get which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_get_exist">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_missarg">
+      <testcase purpose="Check if NotificationManager get method works with invalid argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_id_invalid">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
+      <testcase purpose="Check if NotificationManager get method works properly without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_misarg">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
+      <testcase purpose="Check if attribute appControl of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appControl_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="appControl" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
+      <testcase purpose="Check if attribute appid of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appid_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="appId" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_removeAppInfoEventListener">
+      <testcase purpose="Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_backgroundImagePath_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="removeAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="backgroundImagePath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method removeAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_removeAppInfoEventListener_exist">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="removeAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Power" type="js">
-      <testcase purpose="Check if turnScreenOff method called with non-optional arguments does what it should" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOff">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOff" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOff exists" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOff_exist">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOff" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P2" id="PowerManager_turnScreenOff_extra_argument">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOff" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method works correctly" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOff_successful">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOff" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method called with non-optional arguments does what it should" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOn">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn exists" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOn_exist">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P2" id="PowerManager_turnScreenOn_extra_argument">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method exists" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOn_method_exists">
+      <testcase purpose="Check if constructor accepts incorrect backgroundImagePath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_backgroundImagePath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method works correctly" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOn_successful">
+      <testcase purpose="Check if constructor accepts incorrect iconPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_iconPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Time">
-      <testcase purpose="Check if getTimezoneAbbreviation() method exists in TZDate" type="compliance" status="approved" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P0" id="TZDate_getTimezoneAbbreviation_exist">
+      <testcase purpose="Check if constructor accepts incorrect soundPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_soundPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="TZDate" element_type="method" element_name="getTimezoneAbbreviation" specification="Time" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if TZDate::getTimezoneAbbreviation() method accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P2" id="TZDate_getTimezoneAbbreviation_extra_argument">
+      <testcase purpose="Check if constructor accepts incorrect subIconPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_subIconPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="TZDate" element_type="method" element_name="getTimezoneAbbreviation" specification="Time" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if TZDate.getTimezoneAbbreviation() works properly" type="compliance" status="approved" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_getTimezoneAbbreviation_summerMonth">
+      <testcase purpose="Check if constructor accepts incorrect thumbnails" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_thumbnails">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="TZDate" element_type="method" element_name="getTimezoneAbbreviation" specification="Time" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Content">
-      <testcase purpose="Check if setChangeListener exists" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_setChangeListener_exist">
+      <testcase purpose="Check if StatusNotification's constructor works with minimal arguments" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_minargs">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works with partial attributes in notificationInitDict" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works with additional attributes in notificationInitDict" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial_extra">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if constructor accepts max number." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_max">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if constructor accepts min number." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_min">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_-1_BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_max_BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute detailInfo of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_detailInfo_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="detailInfo" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification exists" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification is extendable" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="StatusNotification_extend">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute iconPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_iconPath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="iconPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledColor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOffPeriod_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledOffPeriod" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOnPeriod_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledOnPeriod" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute number of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_number_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="number" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute progressType of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressType_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressValue" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressValue" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if setChangeListener method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_missarg">
+      <testcase purpose="Check if attribute soundPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_soundPath_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="soundPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_TypeMismatch">
+      <testcase purpose="Check if attribute statusType of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_statusType_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="statusType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is invalid listener" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_invalid_cb">
+      <testcase purpose="Check if attribute subIconPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_subIconPath_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="subIconPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener exists" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_unsetChangeListener_exist">
+      <testcase purpose="Check if attribute thumbnails of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_thumbnails_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="unsetChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="thumbnails" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener method can be invoked with extra argument" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_unsetChangeListener_extra_argument">
+      <testcase purpose="Check if attribute vibration of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_vibration_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="unsetChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="vibration" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
     </set>
-    <set name="deprecatedapi_Push">
-      <capabilities>
-        <capability name="http://tizen.org/feature/network.push"/>
-      </capabilities>
-      <testcase purpose="Check if method connectService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_connectService_exist">
+    <set name="deprecatedapi_Filesystem" type="js">
+      <testcase purpose="Interface FileStreamSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStreamSuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStreamSuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with argument of proper type" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStreamSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStreamSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_FileStreamSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStreamSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::bytesAvailable attribute exist, is of proper type" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_bytesAvailable_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="attribute" element_name="bytesAvailable" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_close">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="close" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_close_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="close" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method can be called with extra arguments" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_close_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="close" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::eof attribute exists, is Boolean" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_eof_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="attribute" element_name="eof" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether instance of FileStream can be extended with new attribute" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_extend">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileStream should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::position attribute exists, is of proper type, can be changed" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_position_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="attribute" element_name="position" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_read">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws exception with missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws an exception when given wrong type of charCount" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() method works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_readBase64">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_readBase64_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() throws exception when reading from a file opened in 'w' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_readBytes">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_readBytes_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() throws exception when reading from a file opened in 'w' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() with missing mandatory argument throws exception" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_read_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws exception when reading from a file opened in 'w' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_write">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="write" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBase64">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_writeBase64_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() throws exception when writing to a file opened in 'r' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() throws exception for wrong type of byteData" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBytes_byteData_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_writeBytes_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method properly writes the specified bytes to file" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() throws exception when writing to a file opened in 'r' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_write_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="write" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() throws exception when writing to a file opened in 'r' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="write" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileArraySuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileArraySuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileArraySuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileArraySuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileArraySuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileStringSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStringSuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStringSuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileStringSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStringSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStringSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method can be called with only mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_documents">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Downloads virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_downloads">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if errorcallback of FileSystemManager::resolve() method can be invoked when location is wrong type" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_errorCallback_invoked">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument (absolute)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_error_invoked">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_resolve_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_images">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method work for invalid location" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_location_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_resolve_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong value of mode argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Music virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_music">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Videos virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_videos">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-package' virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_package">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private' virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_private">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private-tmp' virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_private_tmp">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root with mode 'rw'" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_with_mode">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method can be called with onerror argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents and onsuccess is invoked with proper argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_works_correctly">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Ringtones virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_ringtones">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if instance of File can be extended with new property" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_extend">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface File should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::parent attribute exists, has type File and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_parent_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="parent" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::parent attribute is set by resolve() for subdirectory of Documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_parent_attribute_notnull_using_resolve">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="parent" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readOnly attribute exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readOnly_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="readOnly" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::fileSize attribute exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_fileSize_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="fileSize" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::fullPath attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_fullPath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="fullPath" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::isDirectory attribute exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_isDirectory_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="isDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::isFile attribute exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_isFile_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="isFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::length attribute exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_length_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="length" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::created attribute exists, has type Date and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_created_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="created" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::modified attribute exists, has type Date and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_modified_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="modified" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::path attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_path_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="path" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::path attribute has proper value limitation" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_path_attribute_limitation">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+          <spec_assertion interface="File" element_type="attribute" element_name="path" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::name attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_name_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="name" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_toURI">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_toURI_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_toURI_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method throws exception when get a URI of non-existing 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-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new directory and then list 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-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_listFiles_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() method throws exception for wrong type of filter" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() can be called with empty object as filter argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_empty">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() with missing mandatory argument throws exception" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() works with filter argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_filter">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() calls errorCallback (listing files of a file)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() call onsuccess callback" 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-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() throws an exception for invalid encoding value" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_encoding_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_openStream_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() throws exception for wrong type of mode argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method can be called with valid encoding argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream_with_encoding">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method calls errorCallback when invoked for file which was already removed" 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method calls errorCallback properly (openStream used on directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong mode" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method works properly when the encoding is ISO-8859-1" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_with_encoding_not_default">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works properly without errorCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for invalid encoding value" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_encoding_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_readAsText_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDocumentsFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Downloads" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDownloadsFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Images" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listImagesFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Music" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listMusicFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Videos" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listVideosFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() throws exception for missing mandatory parameter" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works with encoding argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_with_encoding">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() properly calls errorCallback (called on a directory instead of file)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works properly when the encoding is ISO-8859-1" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_with_encoding_not_default">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method 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-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() method ends successfully (copy file from documents/ to images/)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a directory to another location where directory of that name already exists (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can copy a directory to another location where directory of that name already exists (overwrite is true)" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_copyTo_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a file to another directory where a file of that name already exists (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can copy a file to another directory where a file of that name already exists (overwrite is true)" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a file to the same location (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a file to the same location (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception when type of errorCallback is wrong" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception for wrong errorCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception when type of successCallback is wrong" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception for wrong successCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() calls errorCallback when called for object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() can be invoked with null successCallback and errorCallback" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() calls errorCallback (nonexisting originFilePath)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() with onSuccess creates a file copy" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, same directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_newName">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if when create a new empty file, write content into it, then request a copy of it over existing file invokes errorCallback (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, different directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_subdir">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() can be called" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="filesystem_File_copyTo">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if copyTo method called with invalid destinationFilePath does what it should" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_destinationFilePath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if copyTo method called with invalid originFilePath does what it should" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_originFilePath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() can be called successfully" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when originFilePath and destinationFilePath are empty" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_moveTo_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong onsuccess" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() method can be invoked with extra null parameter" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls errorCallback (source file does not exist)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls successCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls errorCallback (NotFound) when destinationFilePath is in non-existing directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, and then move the file to the same directory 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls errorCallback when originFilePath and destinationFilePath is the same path (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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, and then move the file to a subdirectory keeping the name of the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_subdir">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_createDirectory">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_createDirectory_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() works for non-existing intermediate directory (creates 2 levels of directories)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_level2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if createDirectory method throws exception with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_dirPath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createFile() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_createFile">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createFile() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_createFile_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createFile() throws exception when the file already exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_existing_file">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createFile() with missing mandatory argument throws exceptions" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Documents, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_createFile">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_resolve">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_resolve_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() throws exception when resolving 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-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() method called for a file returns 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-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() throws exception with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_filePath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method can be called" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Documents and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_documents">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Downloads and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_downloads">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Images and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_images">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Music and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_music">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Videos and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_videos">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_deleteDirectory_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty" 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-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method can be called with null onsuccess and onerror" 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-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method calls onerror properly (when removing non-existing directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method with onsuccess optional argument works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception with missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteFile() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Document, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_downloads">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Images, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_images">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Music, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_music">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Video, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_videos">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteFile() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_deleteFile_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create directories and file in Documents, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDocumentsFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="connectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for notificationCallback argument of PushManager.connectService method" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_connectService_notificationCallback_TypeMismatch">
+      <testcase purpose="Check if you can create directories and file in Downloads, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDownloadsFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="connectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.connectService method throws exception when notificationCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_connectService_notificationCallback_invalid_cb">
+      <testcase purpose="Check if you can create directories and file in Images, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listImagsFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="connectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method disconnectService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_disconnectService_exist">
+      <testcase purpose="Check if you can create directories and file in Music, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listMusicFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="disconnectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method disconnectService of PushManager accepts extra argument" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P1" id="PushManager_disconnectService_extra_argument">
+      <testcase purpose="Check if you can create directories and file in Videos, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listVideosfiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="disconnectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for appControl argument of PushManager.registerService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_appControl_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onerror_TypeMismatch">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.registerService method throws exception when appControl is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_appControl_invalid_obj">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onerror_invalid_cb">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for errorCallback argument of PushManager.registerService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_errorCallback_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onsuccess_TypeMismatch">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.registerService method throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_errorCallback_invalid_cb">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onsuccess_invalid_cb">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method registerService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_registerService_exist">
+      <testcase purpose="Check if File::deleteFile() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method registerService throws exception when non-optional argument is missing" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P1" id="PushManager_registerService_misargs">
+      <testcase purpose="Check if File::deleteFile() calls errorCallback when given filePath does 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for successCallback argument of PushManager.registerService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_successCallback_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() method calls errorCallback properly (when removing non-existing file)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_onerror">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.registerService method throws exception when successCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_successCallback_invalid_cb">
+      <testcase purpose="Check if File::deleteFile() method calls given onsuccess callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_onsuccess">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for errorCallback argument of PushManager.unregisterService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_errorCallback_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() can be called with onsuccess and onerror" 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.unregisterService method throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_errorCallback_invalid_cb">
+      <testcase purpose="Check if File::deleteFile() method can be called without onsuccess" 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method unregisterService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_unregisterService_exist">
+      <testcase purpose="Check if you can create a new file in Camera, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_camera">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for successCallback argument of PushManager.unregisterService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_successCallback_TypeMismatch">
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Camera virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_camera">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.unregisterService method throws exception when successCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_successCallback_invalid_cb">
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_camera">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
index 7e7285110d3dfd806136840249c75698bb12deca..04e14fb8e58f49a1b571ee5a1e1679ee4a103ccf 100755 (executable)
 <?xml-stylesheet type="text/xsl"  href="./testcase.xsl"?>
 <test_definition>
   <suite name="tct-deprecatedapi-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
-    <set name="deprecatedapi_SystemInfo" type="js">
-      <testcase purpose="Check method getCapabilities of SystemInfo" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapabilities">
+    <set name="deprecatedapi_Alarm">
+      <testcase component="TizenAPI/Application/Alarm" execution_type="auto" id="AlarmAbsolute_constructor_date_period" priority="P1" purpose="Test whether the constructor with date parameter and period parameter are supported">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if method getCapabilities of SystemInfo exists" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapabilities_exist">
+      <testcase component="TizenAPI/Application/Alarm" execution_type="auto" id="AlarmAbsolute_period_attribute" priority="P1" purpose="Check AlarmAbsolute for period attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if method getCapabilities of SystemInfo accepts extra argument" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapabilities_extra_argument">
+    </set>
+    <set name="deprecatedapi_Notification" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/notification"/>
+      </capabilities>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get" priority="P2" purpose="Check if the parameter NotificationManager which in get method ok">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfo_getCapabilities_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoStorageUnit_isRemoveable_attribute" onload_delay="90" priority="P1" purpose="Check if attribute isRemoveable of SystemInfoStorageUnit exists, has type Boolean and is readonly">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll" priority="P1" purpose="Check if NotificationManager.getAll method works">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Application" type="js">
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch" priority="P2" purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_exist" priority="P1" purpose="Check if method getAll which in NotificationManager interface exists.">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb" priority="P2" purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_extra_argument" priority="P1" purpose="Check if method getAll of NotificationManager accepts extra argument">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_exist" priority="P0" purpose="Check if method addAppInfoEventListener exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_exist" priority="P0" purpose="Check if method get which in NotificationManager interface exists.">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_missarg" priority="P2" purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_id_invalid" priority="P2" purpose="Check if NotificationManager get method works with invalid argument">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_oninstalled" priority="P1" purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_misarg" priority="P2" purpose="Check if NotificationManager get method works properly without argument">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_onuninstalled" priority="P1" purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_appControl_attribute" priority="P1" purpose="Check if attribute appControl of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_onupdated" priority="P1" purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_appid_attribute" priority="P1" purpose="Check if attribute appid of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener" onload_delay="30" priority="P1" purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_backgroundImagePath_attribute" priority="P1" purpose="Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener_exist" priority="P0" purpose="Check if method removeAppInfoEventListener exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Power" type="js">
-      <capabilities>
-        <capability name="http://tizen.org/feature/battery"/>
-      </capabilities>
-      <testcase purpose="Check if turnScreenOn method called with non-optional arguments does what it should" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOn">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOn exists" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOn_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method can be invoked with extra argument" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P2" id="PowerManager_turnScreenOn_extra_argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method exists" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOn_method_exists">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method works correctly" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOn_successful">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method called with non-optional arguments does what it should" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOff">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOff exists" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOff_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method can be invoked with extra argument" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P2" id="PowerManager_turnScreenOff_extra_argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_backgroundImagePath" priority="P2" purpose="Check if constructor accepts incorrect backgroundImagePath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method works correctly" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOff_successful">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_iconPath" priority="P2" purpose="Check if constructor accepts incorrect iconPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Time">
-      <testcase purpose="Check if TZDate::getTimezoneAbbreviation() returns a string" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_soundPath" priority="P2" purpose="Check if constructor accepts incorrect soundPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if getTimezoneAbbreviation() method exists in TZDate" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_subIconPath" priority="P2" purpose="Check if constructor accepts incorrect subIconPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if TZDate::getTimezoneAbbreviation() method accepts extra argument" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P2" id="TZDate_getTimezoneAbbreviation_extra_argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_thumbnails" priority="P2" purpose="Check if constructor accepts incorrect thumbnails">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if TZDate.getTimezoneAbbreviation() works properly" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_getTimezoneAbbreviation_summerMonth">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_minargs" priority="P1" purpose="Check if StatusNotification's constructor works with minimal arguments">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Content">
-      <testcase purpose="Check if setChangeListener exists" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_setChangeListener_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial" priority="P1" purpose="Check if StatusNotification's constructor works with partial attributes in notificationInitDict">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial_extra" priority="P1" purpose="Check if StatusNotification's constructor works with additional attributes in notificationInitDict">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_max" priority="P1" purpose="Check if constructor accepts max number.">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_min" priority="P1" purpose="Check if constructor accepts min number.">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_-1_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_100_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_max_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_detailInfo_attribute" priority="P1" purpose="Check if attribute detailInfo of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_exist" priority="P1" purpose="Check if StatusNotification exists">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_extend" priority="P3" purpose="Check if StatusNotification is extendable">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_iconPath_attribute" priority="P2" purpose="Check if attribute iconPath of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute" priority="P1" purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOffPeriod_attribute" priority="P1" purpose="Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOnPeriod_attribute" priority="P1" purpose="Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_number_attribute" priority="P1" purpose="Check if attribute number of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressType_attribute" priority="P1" purpose="Check if attribute progressType of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_BYTE" priority="P1" purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_PERCENTAGE" priority="P1" purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if setChangeListener method called with missing non-optional argument throws an exception" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_missarg">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_soundPath_attribute" priority="P1" purpose="Check if attribute soundPath of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is incorrect" onload_delay="30" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_TypeMismatch">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_statusType_attribute" priority="P1" purpose="Check if attribute statusType of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is invalid listener" onload_delay="30" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_invalid_cb">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_subIconPath_attribute" priority="P1" purpose="Check if attribute subIconPath of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener exists" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_unsetChangeListener_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_thumbnails_attribute" priority="P1" purpose="Check if attribute thumbnails of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener method can be invoked with extra argument" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_unsetChangeListener_extra_argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_vibration_attribute" priority="P1" purpose="Check if attribute vibration of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html</test_script_entry>
         </description>
       </testcase>
     </set>
-    <set name="deprecatedapi_Push" type="js">
-      <capabilities>
-        <capability name="http://tizen.org/feature/network.push"/>
-      </capabilities>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_connectService_exist" priority="P0" purpose="Check if method connectService of PushManager exists">
+    <set name="deprecatedapi_Filesystem" type="js">
+      <testcase purpose="Interface FileStreamSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist" priority="P3">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with argument of proper type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_onsuccess" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::bytesAvailable attribute exist, is of proper type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_bytesAvailable_attribute" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_exist" priority="P0">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method can be called with extra arguments" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_extra_argument" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::eof attribute exists, is Boolean" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_eof_attribute" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether instance of FileStream can be extended with new attribute" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend" priority="P3">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Interface FileStream should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist" priority="P3">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::position attribute exists, is of proper type, can be changed" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_position_attribute" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_connectService_notificationCallback_TypeMismatch" priority="P2" purpose="Check type conversions for notificationCallback argument of PushManager.connectService method">
+      <testcase purpose="Check if FileStream::read() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_connectService_notificationCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.connectService method throws exception when notificationCallback is invalid">
+      <testcase purpose="Check if FileStream::read() throws exception with missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_misarg" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_disconnectService_exist" priority="P0" purpose="Check if method disconnectService of PushManager exists">
+      <testcase purpose="Check if FileStream::read() throws an exception when given wrong type of charCount" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_TypeMismatch" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_disconnectService_extra_argument" priority="P1" purpose="Check if method disconnectService of PushManager accepts extra argument">
+      <testcase purpose="Check if FileStream::readBase64() method works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_appControl_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for appControl argument of PushManager.registerService method">
+      <testcase purpose="Check if FileStream::readBase64() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_appControl_invalid_obj" onload_delay="90" priority="P2" purpose="Check if PushManager.registerService method throws exception when appControl is invalid">
+      <testcase purpose="Check if FileStream::readBase64() throws exception when reading from a file opened in 'w' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_without_r_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for errorCallback argument of PushManager.registerService method">
+      <testcase purpose="Check if you can create a new file, write content to it, and then read the content of the file as base64" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_writeFile" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.registerService method throws exception when errorCallback is invalid">
+      <testcase purpose="Check if FileStream::readBytes() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_exist" priority="P0" purpose="Check if method registerService of PushManager exists">
+      <testcase purpose="Check if FileStream::readBytes() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_misargs" priority="P1" purpose="Check if method registerService throws exception when non-optional argument is missing">
+      <testcase purpose="Check if FileStream::readBytes() throws exception when reading from a file opened in 'w' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_without_r_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_successCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for successCallback argument of PushManager.registerService method">
+      <testcase purpose="Check if FileStream::readBytes() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_misarg" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.registerService method throws exception when successCallback is invalid">
+      <testcase purpose="Check if you can create a new file, write content to it, and then read the content of the file as a byte array" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_writeFile" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for errorCallback argument of PushManager.unregisterService method">
+      <testcase purpose="Check if FileStream::read() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.unregisterService method throws exception when errorCallback is invalid">
+      <testcase purpose="Check if FileStream::read() throws exception when reading from a file opened in 'w' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_without_r_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_exist" priority="P0" purpose="Check if method unregisterService of PushManager exists">
+      <testcase purpose="Check if you can create a new file, write content to it, and then read the content of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_writeFile" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_successCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for successCallback argument of PushManager.unregisterService method">
+      <testcase purpose="Check if FileStream::write() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.unregisterService method throws exception when successCallback is invalid">
+      <testcase purpose="Check if FileStream::writeBase64() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html</test_script_entry>
         </description>
       </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_exist" priority="P0">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() throws exception when writing to a file opened in 'r' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_without_w_permission" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() throws exception for wrong type of byteData" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_byteData_TypeMismatch" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_exist" priority="P0">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_missarg" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method properly writes the specified bytes to file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_with_additional_null_parameter" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() throws exception when writing to a file opened in 'r' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_without_w_permission" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_exist" priority="P0">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() throws exception when writing to a file opened in 'r' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_without_w_permission" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html</test_script_entry>
+        </description>
+      </testcase>
+       <testcase purpose="Interface FileArraySuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Test whether FileArraySuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Interface FileSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Test whether FileSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Interface FileStringSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Test whether FileStringSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method can be called with only mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Downloads virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if errorcallback of FileSystemManager::resolve() method can be invoked when location is wrong type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_errorCallback_invoked" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument (absolute)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_error_invoked" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_images" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method work for invalid location" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_location_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_missarg" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong value of mode argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'r'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Music virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Videos virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory with mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory with mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-package' virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_package" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private' virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private-tmp' virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private_tmp" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_mode" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method can be called with onerror argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_onerror" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents and onsuccess is invoked with proper argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_works_correctly" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Ringtones virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if instance of File can be extended with new property" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Interface File should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::parent attribute exists, has type File and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::parent attribute is set by resolve() for subdirectory of Documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute_notnull_using_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readOnly attribute exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readOnly_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::fileSize attribute exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fileSize_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::fullPath attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fullPath_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::isDirectory attribute exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isDirectory_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::isFile attribute exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isFile_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::length attribute exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_length_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::created attribute exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_created_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::modified attribute exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_modified_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::path attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_path_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::path attribute has proper value limitation" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_path_attribute_limitation" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::name attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_name_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method accepts extra argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_extra_argument" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method throws exception when get a URI of non-existing file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_with_nonexist_file" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new directory and then list files in this directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_createFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() method throws exception for wrong type of filter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() can be called with empty object as filter argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_missarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() works with filter argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() calls errorCallback (listing files of a file)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() call onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_valid_successCallback" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() throws an exception for invalid encoding value" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_encoding_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_missarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() throws exception for wrong type of mode argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode r" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method can be called with valid encoding argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_encoding" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method calls errorCallback when invoked for file which was already removed" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_nonexist_file" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method calls errorCallback properly (openStream used on directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method works properly when the encoding is ISO-8859-1" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_encoding_not_default" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works properly without errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for invalid encoding value" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_encoding_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDocumentsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Downloads" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDownloadsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Images" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listImagesFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Music" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listMusicFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Videos" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listVideosFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() throws exception for missing mandatory parameter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_missarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works with encoding argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() properly calls errorCallback (called on a directory instead of file)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works properly when the encoding is ISO-8859-1" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding_not_default" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method reads the content of a file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() method ends successfully (copy file from documents/ to images/)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a directory to another location where directory of that name already exists (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can copy a directory to another location where directory of that name already exists (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a file to another directory where a file of that name already exists (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can copy a file to another directory where a file of that name already exists (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a file to the same location (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a file to the same location (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception when type of errorCallback is wrong" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception for wrong errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception when type of successCallback is wrong" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception for wrong successCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() calls errorCallback when called for object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() can be invoked with null successCallback and errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_null_success_and_error_callbacks" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() calls errorCallback (nonexisting originFilePath)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() with onSuccess creates a file copy" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, same directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_newName" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if when create a new empty file, write content into it, then request a copy of it over existing file invokes errorCallback (overwrite=false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_overwrite_false" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, different directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_subdir" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() can be called" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if copyTo method called with invalid destinationFilePath does what it should" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_destinationFilePath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if copyTo method called with invalid originFilePath does what it should" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_originFilePath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() can be called successfully" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when originFilePath and destinationFilePath are empty" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_empty_destination_source_and_destination_paths" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() method can be invoked with extra null parameter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_additional_null_parameter" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback (source file does not exist)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls successCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback (NotFound) when destinationFilePath is in non-existing directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_path_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file, write content to it, and then move the file to the same directory with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_newName" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback when originFilePath and destinationFilePath is the same path (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_overwrite_false" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file, write content to it, and then move the file to a subdirectory keeping the name of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_subdir" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() works for non-existing intermediate directory (creates 2 levels of directories)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_level2" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if createDirectory method throws exception with missing non-optional argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_dirPath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createFile() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createFile() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createFile() throws exception when the file already exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_existing_file" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html</test_script_entry>
+         </description>
+       </testcase>
+      <testcase purpose="Check if File::createFile() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html</test_script_entry>
+         </description>
+      </testcase>
+       <testcase purpose="Check if you can create a new file in Documents, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_createFile" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() throws exception when resolving a file which not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_nonexist" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() method called for a file returns a file handle" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() throws exception with missing non-optional argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_filePath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method can be called" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Documents and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_documents" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Downloads and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_downloads" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Images and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_images" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Music and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_music" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Videos and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_videos" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_empty_path" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method can be called with null onsuccess and onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_null_callbacks" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method calls onerror properly (when removing non-existing directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method with onsuccess optional argument works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception with missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Document, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_downloads" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Images, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_images" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Music, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_music" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Video, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_videos" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Documents, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDocumentsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Downloads, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDownloadsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Images, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listImagsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Music, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listMusicFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Videos, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listVideosfiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_dir_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() calls errorCallback when given filePath does not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_nonexist" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method calls errorCallback properly (when removing non-existing file)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method calls given onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() can be called with onsuccess and onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_vaild_callbacks" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method can be called without onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html</test_script_entry>
+         </description>
+       </testcase>
+    </set>
+    <set name="deprecatedapi_Filesystem_camera">
+       <capabilities>
+         <capability name="http://tizen.org/feature/camera.back"/>
+       </capabilities>
+       <testcase purpose="Check if you can create a new file in Camera, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_camera" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for camera virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_camera" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_camera" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html</test_script_entry>
+         </description>
+       </testcase>
     </set>
   </suite>
 </test_definition>
index bfc7da35a7ef218d8e5cf6b82643c3fb176fb86e..2758cf77b203308cf71f15f3819d06c549ad557f 100755 (executable)
@@ -1,19 +1,8 @@
 <widget id='http://tizen.org/test/tct-systeminfo-tizen-tests' xmlns='http://www.w3.org/ns/widgets' xmlns:tizen='http://tizen.org/ns/widgets' version='5.0'>
   <access origin="*"/>
   <name>tct-deprecatedapi-tizen-tests</name>
-  <tizen:privilege name="http://tizen.org/privilege/system"/>
-  <tizen:privilege name="http://tizen.org/privilege/telephony"/>
-  <tizen:privilege name="http://tizen.org/privilege/led"/>
-  <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
-  <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
-  <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
-  <tizen:privilege name="http://tizen.org/privilege/application.info"/>
-  <tizen:privilege name="http://tizen.org/privilege/content.read"/>
-  <tizen:privilege name="http://tizen.org/privilege/content.write"/>
   <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
   <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
-  <tizen:privilege name="http://tizen.org/privilege/push"/>
-  <tizen:privilege name="http://tizen.org/privilege/internet"/>
   <tizen:privilege name="http://tizen.org/privilege/mediastorage"/>
   <tizen:privilege name="http://tizen.org/privilege/externalstorage"/>
   <icon src="icon.png" height="117" width="117"/>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 3bccdd0..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch
-//==== LABEL Check non-optional argument 'ApplicationInformationEventCallback' type conversion
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
-    var i, conversionTable = getTypeConversionExceptions("object");
-
-    for (i = 0; i < conversionTable.length; i++) {
-        assert_throws({name: conversionTable[i][1]}, function () {
-            tizen.application.addAppInfoEventListener(conversionTable[i][0]);
-        }, "exception should be thrown");
-    }
-
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html
deleted file mode 100755 (executable)
index ea5a1f5..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb
-//==== LABEL Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTL
-
-test(function () {
-    var i, conversionTable = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
-
-    for (i = 0; i < conversionTable.length; i++) {
-        assert_throws({name: conversionTable[i][1]}, function () {
-            tizen.application.addAppInfoEventListener(conversionTable[i][0]);
-        }, "an exception should be thrown");
-    }
-
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html
deleted file mode 100755 (executable)
index b6cfe36..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_exist</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_exist
-//==== LABEL Check if method addAppInfoEventListener exist
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
-    check_method_exists(tizen.application, "addAppInfoEventListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html
deleted file mode 100755 (executable)
index 3a4d376..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_missarg</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_missarg
-//==== LABEL Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
-    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
-        tizen.application.addAppInfoEventListener();
-    }, "method was called without ApplicationInformationEventCallback but exception was not thrown");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html
deleted file mode 100755 (executable)
index ef99e96..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_oninstalled</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/app_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_oninstalled
-//==== LABEL Check using addAppInfoEventListener method (installation process) in ApplicationManager interface
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRE Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)
-//==== STEP Click run and install TCTAppInfoEventTest1.wgt application from My files app (Phone/Others directory).
-//==== EXPECT Pass
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MAST MR
-
-executeCommand(uninstallApplicationCommand(TCT_APPINFOEVENT1_PKG_NAME));
-
-setup({timeout: 300000});
-
-var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            t.done();
-        }),
-        onupdated: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onuninstalled: t.step_func(function () {
-            assert_unreached("This function (onuninstalled) should not be used");
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST1_NAME, TCT_WGT_LOCATION));
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html
deleted file mode 100755 (executable)
index cfdc62f..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_onuninstalled</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/app_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_onuninstalled
-//==== LABEL Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from My files app (Phone/Others directory)).
-//==== STEP Click run and uninstall TCTAppInfoEventTest1 application.
-//==== EXPECT Pass
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MAST MR
-
-executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST1_NAME, TCT_WGT_LOCATION));
-
-setup({timeout: 300000});
-
-var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onupdated: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onuninstalled: t.step_func(function () {
-            t.done();
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    executeCommand(uninstallApplicationCommand(TCT_APPINFOEVENT1_PKG_NAME));
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html
deleted file mode 100755 (executable)
index eb01491..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_onupdated</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/app_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_onupdated
-//==== LABEL Check using addAppInfoEventListener method (updating process) in ApplicationManager interface
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from My files app (Phone/Others directory)).
-//==== STEP Click run and install TCTAppInfoEventTest2.wgt application from My files app (Phone/Others directory).
-//==== EXPECT Pass
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MAST MR
-
-executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST1_NAME, TCT_WGT_LOCATION));
-
-setup({timeout: 300000});
-
-var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            assert_unreached("This function (oninstalled) should not be used");
-        }),
-        onupdated: t.step_func(function () {
-            t.done();
-        }),
-        onuninstalled: t.step_func(function () {
-            assert_unreached("This function (onuninstalled) should not be used");
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST2_NAME, TCT_WGT_LOCATION));
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html
deleted file mode 100755 (executable)
index b476309..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_removeAppInfoEventListener</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_removeAppInfoEventListener
-//==== LABEL Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MR
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), appEventCallback, watchId, retVal;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            assert_unreached("This function (oninstalled) should not be used");
-        }),
-        onupdated: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onuninstalled: t.step_func(function () {
-            assert_unreached("This function (onuninstalled) should not be used");
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    retVal = tizen.application.removeAppInfoEventListener(watchId);
-    assert_type(retVal, "undefined", "this method should return nothing");
-    t.done();
-
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html
deleted file mode 100755 (executable)
index 92c2bde..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_removeAppInfoEventListener_exist</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_removeAppInfoEventListener_exist
-//==== LABEL Check if method removeAppInfoEventListener exist
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
-    check_method_exists(tizen.application, "removeAppInfoEventListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 598db7d..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_changeCallback_TypeMismatch</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_changeCallback_TypeMismatch
-//==== LABEL Check if setChangeListener throws exception when changeCallback is incorrect
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MC
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
-    conversionTable, changeCallback, exceptionName, i;
-
-t.step(function () {
-    conversionTable = getTypeConversionExceptions("object", false);
-
-    for(i = 0; i < conversionTable.length; i++) {
-        changeCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.content.setChangeListener(changeCallback);
-            }, "Given incorrect changeCallback.");
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 5297137..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_changeCallback_invalid_cb</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_changeCallback_invalid_cb
-//==== LABEL Check if setChangeListener throws exception when changeCallback is invalid listener
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MTL
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
-    exceptionName, incorrectListeners, i, changeCallback;
-
-t.step(function () {
-    incorrectListeners = getListenerConversionExceptions(["oncontentadded",
-        "oncontentupdated", "oncontentremoved"]);
-    for(i = 0; i < incorrectListeners.length; i++) {
-        changeCallback  = incorrectListeners[i][0];
-        exceptionName = incorrectListeners[i][1];
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.content.setChangeListener(changeCallback);
-            }, "Given invalid changeCallback.");
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html
deleted file mode 100755 (executable)
index 6b226b5..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_exist</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_exist
-//==== LABEL Check if setChangeListener exists
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("setChangeListener" in tizen.content,
-        "ContentManager should have setChangeListener method");
-    check_method_exists(tizen.content, "setChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html
deleted file mode 100755 (executable)
index 31ca6e6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_missarg</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_missarg
-//==== LABEL Check if setChangeListener method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-test(function () {
-    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
-        tizen.content.setChangeListener();
-    }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html
deleted file mode 100755 (executable)
index ee6d18b..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_unsetChangeListener_exist</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_unsetChangeListener_exist
-//==== LABEL Check if unsetChangeListener exists
-//==== SPEC Tizen Web API:Content:Content:ContentManager:unsetChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("unsetChangeListener" in tizen.content,
-        "ContentManager should have unsetChangeListener method");
-    check_method_exists(tizen.content, "unsetChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html
deleted file mode 100755 (executable)
index d12dc90..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_unsetChangeListener_extra_argument</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_unsetChangeListener_extra_argument
-//==== LABEL Check if unsetChangeListener method can be invoked with extra argument
-//==== SPEC Tizen Web API:Content:Content:ContentManager:unsetChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.content, "unsetChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..73f24e5
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileArraySuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileArraySuccessCallback_notexist
+//==== LABEL Interface FileArraySuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..5b39ba4
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileArraySuccessCallback_onsuccess</title>
+<script 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: FileArraySuccessCallback_onsuccess
+//==== LABEL Test whether FileArraySuccessCallback::onsuccess is called with valid argument
+//==== 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(document.title),
+    resolveSuccess, resolveError, listSuccess, i, fsTestFileName, foundValue = false;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem");
+
+    listSuccess = t.step_func(function (files) {
+        assert_type(files, "array", "incorrect received value");
+        assert_greater_than(files.length, 0, "incorrect received array");
+        for (i = 0; i < files.length; i++) {
+            assert_type(files[i], "object", "incorrect received array element");
+            checkOwnProperties(files[i]);
+            if ((files[i].name === fsTestFileName) && (files[i].isFile === true)) {
+                foundValue = true;
+            }
+        }
+        assert_true(foundValue, "new file not found");
+        t.done();
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createFile(fsTestFileName);
+        dir.listFiles(listSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..10f9a1e
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStreamSuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStreamSuccessCallback_notexist
+//==== LABEL Interface FileStreamSuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..dd8d6e9
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileStreamSuccessCallback_onsuccess</title>
+<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 FileStreamSuccessCallback::onsuccess is called with argument of proper type
+//==== 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(document.title),
+    resolveSuccess, resolveError, file, openStreamSuccess,
+    fsTestFileName = getFileName("filesystem.txt");
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_type(fs, "object", "fs isn't an object");
+        assert_own_property(fs, "eof", "fs doesn't have eof property");
+        assert_own_property(fs, "position", "fs doesn't have eof property");
+        assert_own_property(fs, "bytesAvailable", "fs doesn't have eof property");
+        fs.close();
+        t.done();
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html
new file mode 100755 (executable)
index 0000000..6e44b46
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_bytesAvailable_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_bytesAvailable_attribute
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::bytesAvailable attribute exist, is of proper type
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    testStr = "1234", fsTestFileName = getFileName("existFile01.txt");
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(testStr);
+        fs.position = 0;
+        assert_true("bytesAvailable" in fs, "bytesAvailable doesn't exist");
+        check_readonly(fs, "bytesAvailable", fs.bytesAvailable, "long", fs.bytesAvailable + 2);
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html
new file mode 100755 (executable)
index 0000000..7beb4ce
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_close</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_close
+//==== PRIORITY P2
+//==== LABEL Check if FileStream::close() method works
+//==== 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(document.title),
+    fsTestFileName = getFileName("closeFile.txt"), retVal = null,
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        retVal = fs.close();
+        assert_equals(retVal, undefined, "incorrect returned value close()");
+        assert_throws(IO_EXCEPTION, function () {
+                fs.read(2);
+            });
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html
new file mode 100755 (executable)
index 0000000..6d93bdb
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_close_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_close_exist
+//==== LABEL Check if FileStream::close() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile04.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("close" in fs, "No close method in FileStream");
+        check_method_exists(fs, "close");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html
new file mode 100755 (executable)
index 0000000..1fc2d8c
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_close_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_close_extra_argument
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::close() method can be called with extra arguments
+//==== 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 MNAEX
+
+var t = async_test(document.title),
+    fsTestFileName = getFileName("TestFile.txt"),
+    resolveSuccess, resolveError, file, openStreamSuccess, openStreamError;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (stream) {
+        checkExtraArgument(stream, "close");
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html
new file mode 100755 (executable)
index 0000000..fed8041
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_eof_attribute</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_eof_attribute
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::eof attribute exists, is Boolean
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile02.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("eof" in fs, "eof doesn't exist");
+        check_readonly(fs, "eof", false, "boolean", true);
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html
new file mode 100755 (executable)
index 0000000..79fddd5
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileStream_extend</title>
+<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 instance of FileStream can be extended with new attribute
+//==== 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(document.title),
+    fsTestFileName = getFileName("closeFile.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        check_extensibility(fs);
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html
new file mode 100755 (executable)
index 0000000..a8a1f55
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_notexist
+//==== LABEL Interface FileStream should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html
new file mode 100755 (executable)
index 0000000..1205d77
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_position_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_position_attribute
+//==== PRIORITY P2
+//==== LABEL Check if FileStream::position attribute exists, is of proper type, can be changed
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile0.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_own_property(fs, "position", "this FileStream doesn't have own position property");
+        assert_type(fs.position, "long", "incorrect type of position");
+        assert_equals(fs.position, 0, "incorrect default position");
+        fs.write("abcdefg");
+        assert_equals(fs.position, 7, "incorrect default position after write");
+        fs.position = 2;
+        assert_equals(fs.position, 2, "can't change the position");
+        check_not_nullable(fs, "position");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html
new file mode 100755 (executable)
index 0000000..98befd4
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_read</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_read
+//==== LABEL Check if FileStream::read() method 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(document.title),
+    fsTestFileName = getFileName("filesystem01.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = "abcde", text;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        text = fs.read(5);
+        fs.close();
+        assert_equals(text, expected, "read fs failed, read '" + text + "', expected '" + expected + "'");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html
new file mode 100755 (executable)
index 0000000..4c6c02b
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBase64</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBase64
+//==== LABEL Check if FileStream::readBase64() method works
+//==== 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(document.title),
+    fsTestFileName = getFileName("readBaseFile.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
+
+t.step(function (){
+
+    openStreamReadSuccess = t.step_func(function (fs) {
+        base64 = fs.readBase64(256);
+        fs.close();
+        assert_equals(base64, expected, "read fs failed, read " + base64 + ", expected " + expected);
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html
new file mode 100755 (executable)
index 0000000..88a146f
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBase64_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBase64_exist
+//==== LABEL Check if FileStream::readBase64() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile07.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("readBase64" in fs, "readBase64 exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html
new file mode 100755 (executable)
index 0000000..d23f46d
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list 
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice, 
+this list of conditions and the following disclaimer in the documentation 
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors 
+may be used to endorse or promote products derived from this work without 
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>FileStream_readBase64_without_r_permission</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_readBase64_without_r_permission
+//==== LABEL Check if FileStream::readBase64() throws exception when reading from a file opened in 'w' mode
+//==== 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(document.title), testFile,
+    fsTestFileName = getFileName("readBase64WithoutR.txt"), resolveSuccess,
+    resolveError, openStreamSuccess, openStreamError, expected = "IOError";
+
+t.step(function () {
+
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.readBase64(256);
+        }, expected + "exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html
new file mode 100755 (executable)
index 0000000..ee150e9
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBase64_writeFile</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBase64_writeFile
+//==== LABEL Check if you can create a new file, write content to it, 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(document.title),
+    fsTestFileName = getFileName("fileSystem-File03.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        base64 = fs.readBase64(256);
+        fs.close();
+        assert_equals(base64, expected, "read fs failed, read " + base64 + ", expected " + expected);
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html
new file mode 100755 (executable)
index 0000000..b748fc8
--- /dev/null
@@ -0,0 +1,93 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes</title>
+<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 FileStream::readBytes() method 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(document.title), i,
+    fsTestFileName = getFileName("readBytesFile.txt"), stringToWrite = "1234567",
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, len,
+    openStreamReadSuccess, file, bytes;
+
+t.step(function () {
+    openStreamReadSuccess = t.step_func(function (fs) {
+        bytes = fs.readBytes(256);
+        fs.close();
+        assert_type(bytes, "array", "incorrect read type");
+        assert_equals(bytes.length, stringToWrite.length, "read fs failed, read " + bytes.length + ", expected " + stringToWrite.length);
+        for (i = 0, len = bytes.length; i < len; i++) {
+            assert_equals(bytes[i], stringToWrite.charCodeAt(i), "incorrect read value");
+        }
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(stringToWrite);
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html
new file mode 100755 (executable)
index 0000000..401915a
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script> 
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBytes_exist
+//==== LABEL Check if FileStream::readBytes() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile06.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("readBytes" in fs, "readBytes exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html
new file mode 100755 (executable)
index 0000000..f541485
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_readBytes_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_readBytes_misarg
+//==== LABEL Check if FileStream::readBytes() with missing mandatory argument throws exception
+//==== 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 MMA
+
+var t = async_test(document.title), fsTestFileName = getFileName("readBytesFile.txt"), stringToWrite = "1234567", resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, openStreamReadSuccess, file;
+
+t.step(function () {
+    openStreamReadSuccess = t.step_func(function (fs) {
+        assert_throws(INVALID_VALUES_EXCEPTION, function () {
+            fs.readBytes();
+        }, INVALID_VALUES_EXCEPTION + " should be thrown.");
+        fs.close();
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(stringToWrite);
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html
new file mode 100755 (executable)
index 0000000..7bb6cc4
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list 
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice, 
+this list of conditions and the following disclaimer in the documentation 
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors 
+may be used to endorse or promote products derived from this work without 
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes_without_r_permission</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_readBytes_without_r_permission
+//==== LABEL Check if FileStream::readBytes() throws exception when reading from a file opened in 'w' mode
+//==== 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(document.title), testFile,
+    fsTestFileName = getFileName("readBytesWithoutR.txt"),
+    resolveSuccess, resolveError, openStreamSuccess,
+    openStreamError, expected = "IOError";
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.readBytes(2);
+        }, expected + "exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html
new file mode 100755 (executable)
index 0000000..aca39fb
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes_writeFile</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBytes_writeFile
+//==== LABEL Check if you can create a new file, write content to it, 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(document.title),
+    fsTestFileName = getFileName("fileSystem-File04.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = 7, bytes;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        bytes = fs.readBytes(256);
+        fs.close();
+        assert_equals(bytes.length, expected, "read fs failed, read " + bytes.length + ", expected " + expected);
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..0769106
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_read_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_read_TypeMismatch
+//==== LABEL Check if FileStream::read() throws an exception when given wrong type of charCount
+//==== 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 MC
+
+var t = async_test(document.title), fsTestFileName = getFileName("write03.txt"), testFile, resolveSuccess, resolveError, openStreamSuccess, openStreamError, charCount, conversionTable, i;
+
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("long", false);
+    openStreamSuccess = t.step_func(function (fs) {
+        for (i = 0; i < conversionTable.length; i++) {
+            charCount = conversionTable[i][0];
+            assert_throws(INVALID_VALUES_EXCEPTION,
+                function () {
+                    fs.read(charCount);
+                }, INVALID_VALUES_EXCEPTION + " should be thrown - charCount type mismatch.");
+        }
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html
new file mode 100755 (executable)
index 0000000..87cabfc
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_read_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_read_exist
+//==== LABEL Check if FileStream::read() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile05.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("read" in fs, "read exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html
new file mode 100755 (executable)
index 0000000..febac77
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_read_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_read_misarg
+//==== LABEL Check if FileStream::read() throws exception with missing mandatory argument
+//==== 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 MMA
+
+var t = async_test(document.title), fsTestFileName = getFileName("filesystem01.txt"), resolveSuccess, resolveError, openStreamError, openStreamSuccess, openStreamReadSuccess, file;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        assert_throws(INVALID_VALUES_EXCEPTION, function () {
+            fs.read();
+        }, INVALID_VALUES_EXCEPTION + " should be thrown - missing type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html
new file mode 100755 (executable)
index 0000000..0fb0d01
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list 
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice, 
+this list of conditions and the following disclaimer in the documentation 
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors 
+may be used to endorse or promote products derived from this work without 
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_read_without_r_permission</title>
+<meta charset="utf-8" />
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_read_without_r_permission
+//==== LABEL Check if FileStream::read() throws exception when reading from a file opened in 'w' mode
+//==== 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(document.title),
+    fsTestFileName = getFileName("write03.txt"), expected = "IOError", testFile,
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.read(fs.bytesAvailable);
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html
new file mode 100755 (executable)
index 0000000..a00c7fc
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_read_writeFile</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_read_writeFile
+//==== LABEL Check if you can create a new file, write content to it, 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(document.title),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamRSuccess, file, expected = "test write method", text,
+    fsTestFileName = getFileName("fileSystem-File05.txt");
+
+t.step(function (){
+    openStreamRSuccess = t.step_func(function (fs) {
+        text = fs.read(expected.length);
+        fs.close();
+        assert_equals(text, expected, "read fs failed, read '" + text + "', expected '" + expected + "'");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(expected);
+        fs.close();
+        file.openStream("r", openStreamRSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html
new file mode 100755 (executable)
index 0000000..5e8b08e
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_write</title>
+<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 FileStream::write() method 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamRSuccess, openStreamWSuccess,
+    openStreamError, file, text, testString = "abcde", retVal = null,
+    fsTestFileName = getFileName("GoodFile.txt");
+
+t.step(function () {
+    openStreamRSuccess = t.step_func(function (fs) {
+        text = fs.read(testString.length);
+        fs.close();
+        assert_equals(text, testString, "Invalid characters read");
+        t.done();
+    });
+    openStreamWSuccess = t.step_func(function (fs) {
+        retVal = fs.write(testString);
+        fs.close();
+        assert_equals(retVal, undefined, "incorrect returned value from write()");
+        file.openStream("r", openStreamRSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html
new file mode 100755 (executable)
index 0000000..e651370
--- /dev/null
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBase64</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBase64
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBase64() method works properly
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamWSuccess, openStreamRSuccess, retVal = null,
+    openStreamError, file, base64String = "YWJjZGVmZw==", expected = "abcdefg",
+    readString, fsTestFileName = getFileName("readBaseFile.txt");
+
+t.step(function () {
+    openStreamRSuccess = t.step_func(function (fs) {
+        readString = fs.read(expected.length);
+        fs.close();
+        assert_equals(readString, expected, "Incorrect bytes.");
+        t.done();
+    });
+    openStreamWSuccess = t.step_func(function (fs) {
+        retVal = fs.writeBase64(base64String);
+        assert_equals(retVal, undefined, "incorrect returned value from writeBase64()");
+        fs.close();
+        file.openStream("r", openStreamRSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html
new file mode 100755 (executable)
index 0000000..608d2dd
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBase64_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBase64_exist
+//==== LABEL Check if FileStream::writeBase64() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    fsTestFileName = getFileName("readBaseFile.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("writeBase64" in fs, "writeBase64 exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html
new file mode 100755 (executable)
index 0000000..5a7bf27
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBase64_without_w_permission</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBase64_without_w_permission
+//==== LABEL Check if FileStream::writeBase64() throws exception when writing to a file opened in 'r' mode
+//==== 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
+//==== TEST_CRITERIA
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    expected = "IOError",  base = "YWJjZGVmZw==",
+    t = async_test(document.title),
+    fsTestFileName = getFileName("write11.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.writeBase64(base);
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html
new file mode 100755 (executable)
index 0000000..e715ab2
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBytes</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBytes
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBytes() method works properly
+//==== 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 MMINA MR
+
+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");
+
+t.step(function () {
+    openStreamWithRSuccess = t.step_func(function (fs) {
+        bytes = fs.readBytes(file.fileSize);
+        fs.close();
+        assert_array_equals(bytes, testString, "Invalid bytes read");
+        t.done();
+    });
+
+    openStreamWithWSuccess = t.step_func(function (fs) {
+        retVal = fs.writeBytes(testString);
+        assert_equals(retVal, undefined, "incorrect returned value from writeBytes()");
+        fs.close();
+        file.openStream("r", openStreamWithRSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWithWSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..62c40c0
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBytes_byteData_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBytes_byteData_TypeMismatch
+//==== LABEL Check if FileStream::writeBytes() throws exception for wrong type of byteData
+//==== 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 MC
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError,
+    file, conversionTable, bytes, i, exceptionName = "TypeMismatchError",
+    fsTestFileName = getFileName("readBytesFiletest3.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        conversionTable = getTypeConversionExceptions("array", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            bytes = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName}, function () {
+                fs.writeBytes(bytes);
+            }, exceptionName + " should be thrown - given incorrect byteData.");
+        }
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html
new file mode 100755 (executable)
index 0000000..beac177
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBytes_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBytes_exist
+//==== LABEL Check if FileStream::writeBytes() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    fsTestFileName = getFileName("existFile09.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("writeBytes" in fs, "writeBytes exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html
new file mode 100755 (executable)
index 0000000..3915f20
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBytes_missarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBytes_missarg
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBytes() method throws exception for missing mandatory argument
+//==== 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 MMA
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    expected = "TypeMismatchError",
+    fsTestFileName = getFileName("readBytesFiletest2.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.writeBytes();
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html
new file mode 100755 (executable)
index 0000000..9d474e0
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>FileStream_writeBytes_with_additional_null_parameter</title>
+<meta charset="utf-8">
+<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_writeBytes_with_additional_null_parameter
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBytes() method properly writes the specified bytes to file
+//==== 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(document.title),
+    file, resolveSuccess, resolveError, openStreamWriteSuccess,
+    openStreamError, openStreamReadSuccess, testString = [1, 2, 3, 4, 5, 6, 7],
+    readString, fsTestFileName = getFileName("readBytesFileTestNull.txt");
+
+t.step(function () {
+    openStreamReadSuccess = t.step_func(function (stream) {
+        readString = stream.readBytes(testString.length, null);
+        stream.close();
+        assert_type(readString, "array", "type read from file");
+        assert_equals(readString.toString(), testString.toString(), "string read from file");
+        t.done();
+    });
+
+    openStreamWriteSuccess = t.step_func(function (stream) {
+        stream.writeBytes(testString, null);
+        stream.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWriteSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError);
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html
new file mode 100755 (executable)
index 0000000..42def46
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBytes_without_w_permission</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBytes_without_w_permission
+//==== LABEL Check if FileStream::writeBytes() throws exception when writing to a file opened in 'r' mode
+//==== 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    bytes = new Array(104, 101, 108), expected = "IOError",
+    fsTestFileName = getFileName("writeBytesWOPerm.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.writeBytes(bytes);
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html
new file mode 100755 (executable)
index 0000000..045d4ad
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_write_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_write_exist
+//==== LABEL Check if FileStream::write() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    fsTestFileName = getFileName("existFile08.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("write" in fs, "write exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html
new file mode 100755 (executable)
index 0000000..1c4751f
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_write_without_w_permission</title>
+<meta charset="utf-8" />
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_write_without_w_permission
+//==== LABEL Check if FileStream::write() throws exception when writing to a file opened in 'r' mode
+//==== 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(document.title),
+    fsTestFileName = getFileName("write09.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    expected = "IOError";
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.write("test");
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..930c970
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStringSuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStringSuccessCallback_notexist
+//==== LABEL Interface FileStringSuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..7285ded
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileStringSuccessCallback_onsuccess</title>
+<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 FileStringSuccessCallback::onsuccess is called with valid argument
+//==== 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(document.title), stringToWrite = "HelloWorld",
+    resolveSuccess, resolveError, readAsTextSuccess, openStreamSuccess, file,
+    fsTestFileName = getFileName("filesystem.txt");
+
+t.step(function () {
+    readAsTextSuccess = t.step_func(function (fileStr) {
+        assert_type(fileStr, "string", "incorrect type of passed argument");
+        assert_equals(fileStr, stringToWrite, "incorrect value of passed argument");
+        t.done();
+    });
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(stringToWrite);
+        fs.close();
+        file.readAsText(readAsTextSuccess);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..e619776
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileSuccessCallback_notexist
+//==== LABEL Interface FileSuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..2988c64
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<meta charset="utf-8"/>
+<title>FileSuccessCallback_onsuccess</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileSuccessCallback_onsuccess
+//==== LABEL Test whether FileSuccessCallback::onsuccess is called with valid argument
+//==== 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_type(dir, "object", "incorrect received argument");
+        checkOwnProperties(dir);
+        assert_equals(dir.path, "images", "incorrect received File object");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html
new file mode 100755 (executable)
index 0000000..80043cc
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method can be called with only mandatory argument
+//==== 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 MMINA MR
+
+var t = async_test(document.title),
+    resolveSuccess, retValue = null;
+t.step(function () {
+    resolveSuccess = t.step_func(function (storage) {
+        assert_not_equals(storage, null, "Null check");
+        assert_equals(retValue, undefined, "resolve returns wrong value");
+
+        t.done();
+    });
+
+    retValue = tizen.filesystem.resolve("documents", resolveSuccess);
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html
new file mode 100755 (executable)
index 0000000..f00027f
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_camera</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_camera
+//==== LABEL Check if FileSystemManager::resolve() method works for camera virtual root
+//==== 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
+//==== PRIORITY P2
+//==== TEST_CRITERIA MOA
+
+var expected = "camera", resolveSuccess, resolveError,
+    t = async_test(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path , expected, "resolve camera to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("camera", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html
new file mode 100755 (executable)
index 0000000..8ba84b0
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_documents</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root
+//==== 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    t = async_test(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve documents to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html
new file mode 100755 (executable)
index 0000000..e4231b9
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_downloads</title>
+<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 FileSystemManager::resolve() method works for Downloads virtual root
+//==== 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html
new file mode 100755 (executable)
index 0000000..667059e
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_errorCallback_invoked</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_errorCallback_invoked
+//==== LABEL Check if errorcallback of FileSystemManager::resolve() method can be invoked when location is wrong type
+//==== 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(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("resolveSuccess was invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        t.done();
+    });
+
+    tizen.filesystem.resolve(undefined, resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html
new file mode 100755 (executable)
index 0000000..d41aa19
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8"/>
+<title>FileSystemManager_resolve_error_invoked</title>
+<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: FileSystemManager_resolve_error_invoked
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument (absolute)
+//==== 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(document.title),
+    resolveSuccess, resolveError;
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "NotFoundError", "incorrect error was thrown");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("/notExistingDirectory", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html
new file mode 100755 (executable)
index 0000000..9a055cb
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_exist</title>
+<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_exist
+//==== PRIORITY P0
+//==== LABEL Check if FileSystemManager::resolve() method exists
+//==== 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 ME
+
+test(function () {
+    assert_true("resolve" in tizen.filesystem, "FileSystemManager has resolve method");
+    check_method_exists(tizen.filesystem, "resolve");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html
new file mode 100755 (executable)
index 0000000..8d4198a
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_images</title>
+<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_images
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Images virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve images to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html
new file mode 100755 (executable)
index 0000000..631310a
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_location_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_location_invalid
+//==== LABEL Check if FileSystemManager::resolve() method work for 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(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("resolveSuccess was invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        t.done();
+    });
+
+    tizen.filesystem.resolve("", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html
new file mode 100755 (executable)
index 0000000..60ce929
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_missarg</title>
+<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_missarg
+//==== LABEL Check if FileSystemManager::resolve() throws exception for missing mandatory argument
+//==== PRIORITY P0
+//==== 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 MMA
+
+test(function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+        tizen.filesystem.resolve();
+    }, "Method should throw an exception");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..7de0648
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_TypeMismatch</title>
+<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_TypeMismatch
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong value of mode argument
+//==== 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 MC
+
+var t = async_test(document.title),
+    conversionTable, resolveSuccess, resolveError, mode, exceptionName, i;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("resolveSuccess was invoked");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    conversionTable = getTypeConversionExceptions("enum", true);
+    for (i = 0; i < conversionTable.length; i++) {
+        mode = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+
+        assert_throws({name: exceptionName},
+            function () {
+                tizen.filesystem.resolve("images", resolveSuccess, resolveError, mode);
+            }, exceptionName + " should be thrown - given incorrect errorCallback.");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html
new file mode 100755 (executable)
index 0000000..119bf39
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_a</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root and 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    t = async_test(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve a location with 'a' mode");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "a");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html
new file mode 100755 (executable)
index 0000000..9428893
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_r</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root and 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
+//==== TEST_CRITERIA MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "r");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html
new file mode 100755 (executable)
index 0000000..a4c808f
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_w</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root and 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "w");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html
new file mode 100755 (executable)
index 0000000..fc2ea31
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_music</title>
+<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 FileSystemManager::resolve() method works for Music virtual root
+//==== 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..27d5f03
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onerror_TypeMismatch</title>
+<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_onerror_TypeMismatch
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong type of onerror
+//==== 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 MC
+
+var t = async_test(document.title), i,
+    resolveSuccess, resolveError, exceptionName, conversionTable;
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("functionObject", true);
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    for(i = 0; i < conversionTable.length; i++) {
+        resolveError = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+
+        assert_throws({name: exceptionName},
+            function () {
+                tizen.filesystem.resolve("images", resolveSuccess, resolveError);
+            }, exceptionName + " should be thrown - given incorrect errorCallback.");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..b934d2b
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onerror_invalid_cb</title>
+<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_onerror_invalid_cb
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong onerror
+//==== 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 MTCB
+
+var t = async_test(document.title),
+    resolveError, resolveSuccess, conversionTable;
+
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("functionObject", true);
+    resolveSuccess = t.step_func(function (storage) {
+    });
+    resolveError = {
+        onerror: t.step_func(function (){
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    assert_throws(TYPE_MISMATCH_EXCEPTION,
+        function () {
+            tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+        }, "given incorrect errorCallback");
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..dad41ab
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong type of onsuccess
+//==== 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 MC
+
+var t = async_test(document.title), i,
+    resolveSuccess, resolveError, exceptionName, conversionTable;
+
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("functionObject", false);
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    for (i = 0; i < conversionTable.length; i++) {
+        resolveSuccess = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+
+        assert_throws({name: exceptionName},
+            function () {
+                tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+            }, exceptionName + " should be thrown - given incorrect onSuccess.");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..e4bc6dd
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onsuccess_invalid_cb</title>
+<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_onsuccess_invalid_cb
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong onsuccess
+//==== 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 MTCB
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = {
+        onsuccess: t.step_func(function (){
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    assert_throws(TYPE_MISMATCH_EXCEPTION,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+        }, "given incorrect error callback");
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html
new file mode 100755 (executable)
index 0000000..1d1004b
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones</title>
+<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_ringtones
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Ringtones virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve ringtones to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "r");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html
new file mode 100755 (executable)
index 0000000..1e4d3f4
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones_invalid_mode_a</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_a
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "a");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html
new file mode 100755 (executable)
index 0000000..1b28b82
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones_invalid_mode_rw</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_rw
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "rw");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html
new file mode 100755 (executable)
index 0000000..e0dd35e
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones_invalid_mode_w</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_w
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "w");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html
new file mode 100755 (executable)
index 0000000..f83f6f1
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_videos</title>
+<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 FileSystemManager::resolve() method works for Videos virtual root
+//==== 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 MOA
+
+
+var expected = "videos", resolveSuccess, resolveError,
+    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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html
new file mode 100755 (executable)
index 0000000..3aa48a8
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt-package_invalid_mode_a</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_a
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "a");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html
new file mode 100755 (executable)
index 0000000..0250e0b
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt-package_invalid_mode_rw</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_rw
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "rw");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html
new file mode 100755 (executable)
index 0000000..be5b218
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt-package_invalid_mode_w</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_w
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "w");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html
new file mode 100755 (executable)
index 0000000..8bbd819
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt_package</title>
+<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_wgt_package
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for 'wgt-package' virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve wgt-package to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "r");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html
new file mode 100755 (executable)
index 0000000..4a87c7f
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt_private</title>
+<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_wgt_private
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for 'wgt-private' virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve wgt-private to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("wgt-private", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html
new file mode 100755 (executable)
index 0000000..02e1736
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt_private_tmp</title>
+<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_wgt_private_tmp
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for 'wgt-private-tmp' virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve wgt-private-tmp to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("wgt-private-tmp", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html
new file mode 100755 (executable)
index 0000000..eb937bc
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_with_mode</title>
+<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_with_mode
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Images virtual root with mode 'rw'
+//==== 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 t = async_test(document.title),
+    resolveSuccess, resolveError, expected;
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        expected="images";
+        assert_equals(dir.path, expected, "resolve a location to a file handle");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html
new file mode 100755 (executable)
index 0000000..aa6d521
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_with_onerror</title>
+<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_with_onerror
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method can be called with onerror argument
+//==== 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 t = async_test(document.title),
+    resolveSuccess, resolveError;
+t.step(function (){
+    resolveSuccess = t.step_func(function (storage) {
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html
new file mode 100755 (executable)
index 0000000..69fcf5c
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>FileSystemManager_resolve_works_correctly</title>
+<meta charset="utf-8">
+<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: FileSystemManager_resolve_works_correctly
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Documents and onsuccess is invoked with proper argument
+//==== 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 t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+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");
+        assert_false(dir.readOnly, "value of readOnly should be equal to false");
+        assert_true("isDirectory" in dir, "isDirectory don't exist in object");
+        assert_true(dir.isDirectory, "value of isDirectory should be equal to true");
+        assert_true("isFile" in dir, "isFile don't exist in object");
+        assert_false(dir.isFile, "value of isFile should be equal to true");
+        assert_true("created" in dir, "created don't exist in object");
+        assert_true("modified" in dir, "modified don't exist in object");
+        assert_true("name" in dir, "name don't exist in object");
+        assert_equals(dir.name, "", "value of name should be equal to empty string");
+        assert_true("path" in dir, "path don't exist in object");
+        assert_equals(dir.path, "documents", "value of path should be equal to string 'documents'");
+        assert_true("fullPath" in dir, "fullPath don't exist in object");
+        assert_equals(dir.fullPath, "documents", "value of fullPath should be equal to string 'documents'");
+        assert_true("fileSize" in dir, "fileSize don't exist in object");
+        assert_type(dir.fileSize, "undefined", "fileSize should be undefined");
+        assert_true("length" in dir, "length don't exist in object");
+        assert_type(dir.length, "long", "type of length should be number");
+        assert_true(dir.length >= 0, "value of length should be >= 0");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html
new file mode 100755 (executable)
index 0000000..45304fe
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>File_copyTo</title>
+<meta charset="utf-8"/>
+<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: File_copyTo
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() method ends successfully (copy file from documents/ to images/)
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "images/" + fsTestFile.name, true);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html
new file mode 100755 (executable)
index 0000000..a244b98
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_copyTo_destinationFilePath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_copyTo_destinationFilePath_invalid
+//==== LABEL Check if copyTo method called with invalid destinationFilePath does what it should
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName, copyToFileSuccess, copyToFileError;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystemtyh.txt");
+    copytoFileSuccess = t.step_func(function () {
+        assert_unreached("copyTo: should invoke error callback");
+    });
+
+    copytoFileError = t.step_func(function (error) {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "", true, copytoFileSuccess, copytoFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html
new file mode 100755 (executable)
index 0000000..755b0c1
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_overwrite_false
+//==== LABEL Check if error callback is invoked when copy a directory to another location where directory of that name already exists (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 resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    fsTestDir2, fsTestDirName2, fsTestSubDir2, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+    fsTestDirName2 = getDirName("filesystem2");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir2 = dir.createDirectory(fsTestDirName2);
+        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html
new file mode 100755 (executable)
index 0000000..1ce89a5
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_overwrite_true
+//==== LABEL Check if you can copy a directory to another location where directory of that name already exists (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 MOA
+
+
+var resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    fsTestDir2, fsTestDirName2, fsTestSubDir2, copyError,
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+    fsTestDirName2 = getDirName("filesystem2");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir2 = dir.createDirectory(fsTestDirName2);
+        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..564379c
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_samedir_samename_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_samedir_samename_overwrite_false
+//==== LABEL Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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 resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..aa5b8c4
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_samedir_samename_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_samedir_samename_overwrite_true
+//==== LABEL Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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 resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    t = async_test(document.title), copyError, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html
new file mode 100755 (executable)
index 0000000..8a6fb59
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_copyTo_exist
+//==== LABEL Check if File::copyTo() method exists
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("copyTo" in dir, "method copyTo exists");
+        check_method_exists(dir, "copyTo");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html
new file mode 100755 (executable)
index 0000000..366d9d6
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_overwrite_false
+//==== LABEL Check if error callback is invoked when copy a file to another directory where a file of that name already exists (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(document.title), expected = "IOError",
+    resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir,
+    fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestSubDirName1 = getFileName("filesystem1sub");
+    fsTestSubDirName2 = getFileName("filesystem2sub");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
+        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
+        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
+        fsTestSubDir2.createFile(fsTestFileName);
+        fsTestSubDir1.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html
new file mode 100755 (executable)
index 0000000..b5ed0fa
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_overwrite_true
+//==== LABEL Check if you can copy a file to another directory where a file of that name already exists (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 MOA
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, copyError,
+    fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestSubDirName1 = getFileName("filesystem1sub");
+    fsTestSubDirName2 = getFileName("filesystem2sub");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
+        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
+        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
+        fsTestSubDir2.createFile(fsTestFileName);
+        fsTestSubDir1.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..ee9fb22
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_samedir_samename_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_samedir_samename_overwrite_false
+//==== LABEL Check if error callback is invoked when copy a file to the same location (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(document.title), expectedError = "IOError",
+    resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestFile.fullPath, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..3ea0fe3
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors
+may be used to endorse or promote products derived from this work without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_samedir_samename_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_samedir_samename_overwrite_true
+//==== LABEL Check if error callback is invoked when copy a file to the same location (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(document.title), resolveSuccess, copyError,
+    resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestFile.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..5d29a59
--- /dev/null
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_copyTo_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_copyTo_onerror_TypeMismatch
+//==== LABEL Check if File::copyTo() throws exception when type of errorCallback is wrong
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, copyError, i, copySuccess, fsTestFileName,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            copyError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..414de51
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<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: File_copyTo_onerror_invalid_cb
+//==== LABEL Check if File::copyTo() throws exception for wrong errorCallback
+//==== 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(document.title), resolveSuccess, resolveError,
+    copySuccess, copyError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copyError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..31f4b86
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_copyTo_onsuccess_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_copyTo_onsuccess_TypeMismatch
+//==== LABEL Check if File::copyTo() throws exception when type of successCallback is wrong
+//==== 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(document.title), copySuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            copySuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..b1059b6
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>File_copyTo_onsuccess_invalid_cb</title>
+<meta charset="utf-8"/>
+<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_copyTo_onsuccess_invalid_cb
+//==== LABEL Check if File::copyTo() throws exception for wrong successCallback
+//==== 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(document.title),
+    resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html
new file mode 100755 (executable)
index 0000000..bc5cf5b
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_copyTo_originFilePath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_copyTo_originFilePath_invalid
+//==== LABEL Check if copyTo method called with invalid originFilePath does what it should
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName, copyToFileSuccess, copyToFileError;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    copytoFileSuccess = t.step_func(function () {
+        assert_unreached("copyTo:should invoke error callback");
+    });
+
+    copytoFileError = t.step_func(function (error) {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo("", "images/" + fsTestFile.name, true, copytoFileSuccess, copytoFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html
new file mode 100755 (executable)
index 0000000..6675bc9
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_file_handle</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_with_file_handle
+//==== LABEL Check if File::copyTo() calls errorCallback when called for object representing file, not a directory
+//==== 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(document.title);
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.copyTo(fsTestFile.fullPath, fsTestDir.fullPath, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html
new file mode 100755 (executable)
index 0000000..cb89b69
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_null_success_and_error_callbacks</title>
+<meta charset="utf-8">
+<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_copyTo_with_null_success_and_error_callbacks
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() can be invoked with null successCallback and errorCallback
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName1, fsTestFileName2,
+    copyPath;
+
+t.step(function () {
+
+    fsTestFileName1 =  getFileName("filesystem1.txt");
+    fsTestFileName2 =  getFileName("filesystem2.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName1);
+        copyPath = dir.fullPath + "/" + fsTestFileName2;
+        dir.copyTo(fsTestFile.fullPath, copyPath, false, null, null);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html
new file mode 100755 (executable)
index 0000000..27b30d7
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_onerror</title>
+<meta charset="utf-8"/>
+<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_copyTo_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() calls errorCallback (nonexisting originFilePath)
+//==== 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(document.title),
+    resolveSuccess, resolveError, copyToSuccess, copyToError, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("notexistingfile.txt");
+
+    copyToError = t.step_func(function () {
+        t.done();
+    });
+
+    copyToSuccess = t.step_func(function () {
+        assert_unreached("copyToError callback should be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.copyTo(fsTestFileName, "images/" + fsTestFileName, true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..fc28b89
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_onsuccess</title>
+<meta charset="utf-8"/>
+<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_copyTo_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() with onSuccess creates a file copy
+//==== 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(document.title), resolveSuccess, resolveError, resolveSuccess2, resolveError2,
+    fsTestFileName, fsTestFile, copyToSuccess, retVal = null;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess2 = t.step_func(function (dir) {
+        fsTestFile = dir.resolve(fsTestFileName);
+        assert_equals(fsTestFile.name, fsTestFileName, "file wasn't copied properly");
+        assert_true(fsTestFile.isFile, "file wasn't copied properly");
+        t.done();
+    });
+
+    resolveError2 = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        tizen.filesystem.resolve("images", resolveSuccess2, resolveError2, "rw");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.copyTo(fsTestFile.fullPath, "images/" + fsTestFile.name, true, copyToSuccess);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html
new file mode 100755 (executable)
index 0000000..004bfe5
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+</head>
+<title>File_copyTo_writeFile_newName</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_newName
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new empty file, write content into it, then request a copy of it (different name, same directory)
+//==== 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, copySuccess, copyError, openStreamSuccess, openStreamError,
+    fsTestFileName, fsTestFileName2, fsTestFile, fsTestDirName, fsTestDir,
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+    fsTestDirName = getDirName("filesystem");
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFileName2, true, copySuccess, copyError);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html
new file mode 100755 (executable)
index 0000000..7344b0c
--- /dev/null
@@ -0,0 +1,102 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_writeFile_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_overwrite_false
+//==== PRIORITY P1
+//==== LABEL Check if when create a new empty file, write content into it, then request a copy of it over existing file invokes errorCallback (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(document.title), resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, copyToSuccess, copyToError, fsTestFileName,
+    fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError", mainDir;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestDirName = getDirName("filesystem");
+
+    copyToSuccess = t.step_func(function () {
+        assert_unreached("copyToSuccess callback shouldn't be invoked");
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        mainDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name, false, copyToSuccess, copyToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        mainDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html
new file mode 100755 (executable)
index 0000000..cdbcb35
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_writeFile_subdir</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_subdir
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new empty file, write content into it, then request a copy of it (different name, different directory)
+//==== 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(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestDirName = getDirName("filesystem");
+    fsTestSubDirName = getDirName("filesystemSub");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestSubDir.fullPath + "/" + fsTestFile.name, true, copySuccess, copyError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir = fsTestDir.createDirectory(fsTestSubDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html
new file mode 100755 (executable)
index 0000000..19c100b
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createDirectory</title>
+<meta charset="utf-8"/>
+<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_createDirectory
+//==== PRIORITY P1
+//==== LABEL Check if File::createDirectory() method
+//==== 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(document.title),
+    resolveSuccess, resolveError, fsTestDir, fsTestDirName;
+
+t.step(function () {
+    fsTestDirName = getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        assert_type(fsTestDir, "object", "directory wasn't created properly");
+        checkOwnProperties(fsTestDir);
+        assert_equals(fsTestDir.name, fsTestDirName, "directory wasn't created properly");
+        assert_true(fsTestDir.isDirectory, "directory wasn't created properly");
+        fsTestDir = dir.resolve(fsTestDirName);
+        assert_equals(fsTestDir.name, fsTestDirName, "directory wasn't created properly");
+        assert_true(fsTestDir.isDirectory, "directory wasn't created properly");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html
new file mode 100755 (executable)
index 0000000..abc5b61
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_createDirectory_dirPath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_createDirectory_dirPath_invalid
+//==== LABEL Check if File::createDirectory() throws exception when dirPath is invalid.
+//==== 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
+//==== PRIORITY: P2
+//==== TEST_CRITERIA MC
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDir;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(INVALID_VALUES_EXCEPTION,
+            function () {
+                fsTestDir = dir.createDirectory("");
+            }, INVALID_VALUES_EXCEPTION + " should be thrown - invalid dirPath ");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html
new file mode 100755 (executable)
index 0000000..1fc1fb1
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createDirectory_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_createDirectory_exist
+//==== LABEL Check if File::createDirectory() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("createDirectory" in dir, "method createDirectory exists");
+        check_method_exists(dir, "createDirectory");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("Error: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html
new file mode 100755 (executable)
index 0000000..d50af04
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createDirectory_level2</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_createDirectory_level2
+//==== LABEL Check if File::createDirectory() works for non-existing intermediate directory (creates 2 levels of directories)
+//==== 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(document.title), resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir,
+    fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName;
+
+t.step(function (){
+
+    fsTestDirName = getDirName("filesystem");
+    fsTestSubDirName = getDirName("filesystemSub");
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length === 1, "Subdirectory not found.");
+        assert_equals(files[0].name, fsTestSubDirName, "Unexpected subdirectory name: " + files[0].name);
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestSubDir = dir.createDirectory(fsTestDirName + "/" + fsTestSubDirName);
+        fsTestDir = dir.resolve(fsTestDirName);
+        fsTestDir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html
new file mode 100755 (executable)
index 0000000..ed3806d
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_createDirectory_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_createDirectory_misarg
+//==== LABEL Check if createDirectory method throws exception with missing non-optional argument
+//==== 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
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(INVALID_VALUES_EXCEPTION,
+            function () {
+                dir.createDirectory();
+            }, INVALID_VALUES_EXCEPTION + " should be thrown");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html
new file mode 100755 (executable)
index 0000000..84ff33c
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createFile</title>
+<meta charset="utf-8"/>
+<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_createFile
+//==== PRIORITY P1
+//==== LABEL Check if File::createFile() method 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(document.title),
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_type(fsTestFile, "object", "file wasn't created properly");
+        checkOwnProperties(fsTestFile);
+        assert_equals(fsTestFile.name, fsTestFileName, "file wasn't created properly");
+        assert_true(fsTestFile.isFile, "file wasn't created properly");
+        fsTestFile = dir.resolve(fsTestFileName);
+        assert_equals(fsTestFile.name, fsTestFileName, "file wasn't created properly");
+        assert_true(fsTestFile.isFile, "file wasn't created properly");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html
new file mode 100755 (executable)
index 0000000..25317f5
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createFile_exist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_createFile_exist
+//==== LABEL Check if File::createFile() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("createFile" in dir, "method createFile exists");
+        check_method_exists(dir, "createFile");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html
new file mode 100755 (executable)
index 0000000..6adafa6
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createFile_existing_file</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_createFile_existing_file
+//==== LABEL Check if File::createFile() throws exception when the file already exists
+//==== 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(document.title), expected = "IOError",
+    resolveSuccess, resolveError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createFile(fsTestFileName);
+        assert_throws({name: expected}, function () {
+                dir.createFile(fsTestFileName);
+            }, expected + " should be thrown");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html
new file mode 100755 (executable)
index 0000000..e8e702f
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_createFile_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_createFile_misarg
+//==== LABEL Check if File::createFile() with missing mandatory argument throws exception
+//==== 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 MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(INVALID_VALUES_EXCEPTION, function () {
+            dir.createFile();
+        }, INVALID_VALUES_EXCEPTION + " should be thrown");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html
new file mode 100755 (executable)
index 0000000..21b03e0
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>File_created_attribute</title>
+<meta charset="utf-8"/>
+<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_created_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::created attribute 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(document.title),
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        date = new Date();
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "created", "File does not own created property.");
+        assert_true("created" in fsTestFile, "attribute created doesn't exist in provided object.");
+        assert_type(fsTestFile.created, "Date", "Type of created is different.");
+        tmp = fsTestFile.created;
+        fsTestFile.created = new Date();
+        assert_equals(tmp.getTime(), fsTestFile.created.getTime(), "created can be modified.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html
new file mode 100755 (executable)
index 0000000..cfb85d4
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method can be called
+//==== 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(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+
+t.step(function (){
+
+    fsTestDirName =  getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html
new file mode 100755 (executable)
index 0000000..fc2e6b1
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteDirectory_createDir_camera</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_deleteDirectory_createDir_camera
+//==== LABEL Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it
+//==== 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
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA
+
+var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, cameraDir,
+    t = async_test(document.title);
+
+t.step(function (){
+    fsTestDirName = getDirName("filesystemtest");
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            cameraDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        cameraDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("camera", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html
new file mode 100755 (executable)
index 0000000..b0c5f1c
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_documents</title>
+<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_deleteDirectory_createDir_documents
+//==== PRIORITY P1
+//==== LABEL Check if File::createDirectory() creates a new directory in Documents and File::deleteDirectory() removes it
+//==== 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(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            documentsDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html
new file mode 100755 (executable)
index 0000000..7284ebc
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_downloads</title>
+<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_deleteDirectory_createDir_downloads
+//==== PRIORITY P1
+//==== LABEL Check if File::createDirectory() creates a new directory in Downloads and File::deleteDirectory() removes it
+//==== 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(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            downloadsDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        downloadsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html
new file mode 100755 (executable)
index 0000000..ddab92a
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_images</title>
+<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_deleteDirectory_createDir_images
+//==== LABEL Check if File::createDirectory() creates a new directory in Images and File::deleteDirectory() removes it
+//==== 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, imagesDir,
+    t = async_test(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            imagesDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        imagesDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html
new file mode 100755 (executable)
index 0000000..559eae7
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory_createDir_music</title>
+<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_deleteDirectory_createDir_music
+//==== LABEL Check if File::createDirectory() creates a new directory in Music and File::deleteDirectory() removes it
+//==== 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, musicDir,
+    t = async_test(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            musicDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        musicDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html
new file mode 100755 (executable)
index 0000000..31ccc2e
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_videos</title>
+<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_deleteDirectory_createDir_videos
+//==== LABEL Check if File::createDirectory() creates a new directory in Videos and File::deleteDirectory() removes it
+//==== 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(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            videosDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        videosDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html
new file mode 100755 (executable)
index 0000000..a47ddea
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_exist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_deleteDirectory_exist
+//==== LABEL Check if File::deleteDirectory() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("deleteDirectory" in dir, "method deleteDirectory exists");
+        check_method_exists(dir, "deleteDirectory");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html
new file mode 100755 (executable)
index 0000000..744e86d
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteDirectory_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_deleteDirectory_misarg
+//==== LABEL Check if File::deleteDirectory() throws exception with missing mandatory argument
+//==== 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
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDirName;
+
+t.step(function () {
+    fsTestDirName = getDirName("filesystem");
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createDirectory(fsTestDirName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+            dir.deleteDirectory();
+        }, TYPE_MISMATCH_EXCEPTION + " should be thrown.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..c454485
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onerror_TypeMismatch
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, deleteError, i, deleteSuccess, fsTestDirName, fsTestDir,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteDirectory(fsTestDir.fullPath, deleteSuccess, deleteError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..65af4fe
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onerror_invalid_cb
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName, fsTestDir;
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteDirectoryError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    deleteDirectorySuccess = t.step_func(function () {
+        assert_unreached("deleteDirectorySuccess should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteDirectory(fsTestDir.fullPath, deleteDirectorySuccess, deleteDirectoryError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..51d14b3
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_onsuccess_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onsuccess_TypeMismatch
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong type of onsuccess
+//==== 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(document.title), deleteSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestDirName, fsTestDir;
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..c206633
--- /dev/null
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_onsuccess_invalid_cb</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onsuccess_invalid_cb
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, deleteSuccess, fsTestDirName, fsTestDir;
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html
new file mode 100755 (executable)
index 0000000..a51e1fd
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_empty_path</title>
+<meta charset="utf-8">
+<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_deleteDirectory_with_empty_path
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty
+//==== 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(document.title), resolveError, resolveSuccess, deleteDirectoryError, deleteDirectorySuccess,
+    expected = "NotFoundError";
+
+t.step(function () {
+
+    deleteDirectorySuccess = t.step_func(function () {
+        assert_unreached("deleteDirectorySuccess: deleteDirectory() should invoke error callback");
+    });
+
+    deleteDirectoryError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (root) {
+        root.deleteDirectory("", false, deleteDirectorySuccess, deleteDirectoryError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve_root_location() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html
new file mode 100755 (executable)
index 0000000..fc20968
--- /dev/null
@@ -0,0 +1,92 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_file_handle</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_deleteDirectory_with_file_handle
+//==== LABEL Check if File::deleteDirectory() calls errorCallback when called on File object representing file, not a directory
+//==== 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 MERRCB
+
+
+var resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestFileName, fsTestFile, documentsDir,
+    expected = "InvalidValuesError", t = async_test(document.title);
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    deleteSuccess = t.step_func(function () {
+        assert_unreached("delete a dir with file handle should throw an exception");
+    });
+
+    deleteError = t.step_func(function (error) {
+        fsTestFile = documentsDir.resolve(fsTestFileName);
+        assert_equals(fsTestFile.name, fsTestFileName, "file was deleted");
+        assert_true(fsTestFile.isFile, "file was deleted");
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteDirectory(fsTestFile.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html
new file mode 100755 (executable)
index 0000000..ebbbd01
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_null_callbacks</title>
+<meta charset="utf-8">
+<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_deleteDirectory_with_null_callbacks
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method can be called with null onsuccess and onerror
+//==== 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(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+t.step(function () {
+
+    fsTestDirName =  getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, null, null);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html
new file mode 100755 (executable)
index 0000000..0b43347
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_onerror</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_deleteDirectory_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method calls onerror properly (when removing non-existing 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 MERRCB
+
+var resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName,
+    expected = "NotFoundError", t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystemNoExist");
+
+    deleteDirectorySuccess = t.step_func(function () {
+        assert_unreached("deleteDirectorySuccess: deleteDirectoryError should be invoked");
+    });
+
+    deleteDirectoryError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.deleteDirectory(fsTestDirName, true, deleteDirectorySuccess, deleteDirectoryError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..b8d69f9
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_onsuccess</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method with 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(document.title), retVal = null,
+    resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestDirName, fsTestDir, documentsDir;
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            documentsDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        retVal = dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html
new file mode 100755 (executable)
index 0000000..c20d7d1
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method 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(document.title), fsTestFileName, fsTestFile, i, retVal = null,
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir, deleteSuccess;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].name === fsTestFileName) {
+                assert_unreached("File deletion failed");
+            }
+        }
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteSuccess = t.step_func(function () {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        documentsDir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.deleteFile(fsTestFile.fullPath, deleteSuccess);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html
new file mode 100755 (executable)
index 0000000..1305c21
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_copyFile_camera</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_deleteFile_copyFile_camera
+//==== LABEL Check if you can create a new file in Camera, copy it into Downloads, then request removing it
+//==== 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
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA
+
+var t = async_test(document.title), fsTestFileName, fsTestFile,
+    cameraDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.mp3");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        cameraDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        cameraDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("camera", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html
new file mode 100755 (executable)
index 0000000..7437c6d
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_downloads</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Document, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html
new file mode 100755 (executable)
index 0000000..f4af07c
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_images</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Images, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.png");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html
new file mode 100755 (executable)
index 0000000..a518f3d
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_music</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Music, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.mp3");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html
new file mode 100755 (executable)
index 0000000..1bbb8e5
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_videos</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Video, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.mp3");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html
new file mode 100755 (executable)
index 0000000..b4fd498
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_createFile</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Documents, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html
new file mode 100755 (executable)
index 0000000..4168d1a
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_exist</title>
+<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_exist
+//==== LABEL Check if File::deleteFile() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("deleteFile" in dir, "method deleteFile exists");
+        check_method_exists(dir, "deleteFile");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html
new file mode 100755 (executable)
index 0000000..e547cec
--- /dev/null
@@ -0,0 +1,105 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listDocumentsFiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Documents, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html
new file mode 100755 (executable)
index 0000000..4ca52d0
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listDownloadsFiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Downloads, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html
new file mode 100755 (executable)
index 0000000..77780ed
--- /dev/null
@@ -0,0 +1,108 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listImagsFiles</title>
+<meta charset="utf-8" />
+<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_listImagsFiles
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Images, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem");
+    fsTestDirName2 = getDirName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html
new file mode 100755 (executable)
index 0000000..0a6a808
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listMusicFiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Music, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html
new file mode 100755 (executable)
index 0000000..45cc009
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listVideosfiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Videos, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..2949b54
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onerror_TypeMismatch</title>
+<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_onerror_TypeMismatch
+//==== LABEL Check if File::deleteFile() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, deleteFileError, i, deleteFileSuccess,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteFileError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteFile("verybadfile.txt", deleteFileSuccess, deleteFileError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..b360486
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onerror_invalid_cb</title>
+<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_onerror_invalid_cb
+//==== LABEL Check if File::deleteFile() throws exception for wrong onerror
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createDirectory(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..e801f60
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== LABEL Check if File::deleteFile() throws exception for wrong type of onsuccess
+//==== 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(document.title), deleteFileSuccess, fsTestFileName,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteFileSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..99b28a1
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onsuccess_invalid_cb</title>
+<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_onsuccess_invalid_cb
+//==== LABEL Check if File::deleteFile() throws exception for wrong onsuccess
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html
new file mode 100755 (executable)
index 0000000..4473670
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_dir_handle</title>
+<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_with_dir_handle
+//==== LABEL Check if File::deleteFile() calls errorCallback when called on File object representing file, not a directory
+//==== 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(document.title), fsTestDirName, fsTestDir,
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, expected = "InvalidValuesError",
+    documentsDir;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("There is no exception thrown when delete a file with file handle");
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir= dir.createDirectory(fsTestDirName);
+        dir.deleteFile(fsTestDir.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html
new file mode 100755 (executable)
index 0000000..6c87db3
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_nonexist</title>
+<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_with_nonexist
+//==== LABEL Check if File::deleteFile() calls errorCallback when given filePath does 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(document.title),
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("This function should not be invoked");
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "should throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.deleteFile("documents/" + fsTestFileName, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html
new file mode 100755 (executable)
index 0000000..f09e44d
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_with_onerror</title>
+<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_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method calls errorCallback properly (when removing non-existing 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 MERRCB
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, deleteFileError, deleteFileSuccess, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    deleteFileError = t.step_func(function () {
+        t.done();
+    });
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("onerroroptional callback should be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.deleteFile("documents/" + fsTestFileName, deleteFileSuccess, deleteFileError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..172f452
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_with_onsuccess</title>
+<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_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method calls given onsuccess callback
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        try {
+            dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
+        } catch (e) {
+            assert_unreached("deleteFile() exeption: name: " + e.name + ", msg: " + e.message);
+        }
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html
new file mode 100755 (executable)
index 0000000..06a6483
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_vaild_callbacks</title>
+<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_with_vaild_callbacks
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() can be called with onsuccess and onerror
+//==== 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(document.title),
+    deleteFileSuccess, deleteFileError, documentsDir,
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("delete() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html
new file mode 100755 (executable)
index 0000000..57e12f4
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_valid_filePath</title>
+<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_with_valid_filePath
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method can be called without onsuccess
+//==== 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 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);
+        dir.deleteFile(fsTestFile.fullPath);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html
new file mode 100755 (executable)
index 0000000..1fe4583
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_extend</title>
+<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_extend
+//==== LABEL Check if instance of File can be extended with new property
+//==== 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        check_extensibility(dir);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html
new file mode 100755 (executable)
index 0000000..aea4377
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_fileSize_attribute</title>
+<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_fileSize_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::fileSize attribute 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "fileSize", "File does not own fileSize property.");
+        check_readonly(fsTestFile, "fileSize", 0, "unsigned long long", fsTestFile.fileSize + 512);
+        assert_equals(dir.fileSize, undefined, "fileSize of directory should be undefined");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html
new file mode 100755 (executable)
index 0000000..d43a3f3
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_fullPath_attribute</title>
+<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_fullPath_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::fullPath attribute 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "fullPath", "File does not own fullPath property.");
+        check_readonly(fsTestFile, "fullPath", fsTestFile.fullPath, "string", "images");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html
new file mode 100755 (executable)
index 0000000..ea239aa
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_isDirectory_attribute</title>
+<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_isDirectory_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::isDirectory attribute 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "isDirectory", "File does not own isDirectory property.");
+        check_readonly(dir, "isDirectory", true, "boolean", false);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html
new file mode 100755 (executable)
index 0000000..58678c1
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_isFile_attribute</title>
+<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_isFile_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::isFile attribute 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "isFile", "File does not own isFile property.");
+        check_readonly(dir, "isFile", false, "boolean", true);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html
new file mode 100755 (executable)
index 0000000..b58cd30
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_length_attribute</title>
+<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_length_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::length attribute 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(document.title), fsTestFileName =  getFileName("filesystem.txt"),
+    resolveSuccess, resolveError, fsTestFile;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "length", "File does not own length property.");
+        check_readonly(dir, "length", dir.length, "long", dir.length + 10);
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_equals(fsTestFile.length, undefined, "length of file should be undefined");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html
new file mode 100755 (executable)
index 0000000..b57f155
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles</title>
+<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: File_listFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::listFiles() method 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, retVal=null;
+t.step(function () {
+    listFilesSuccess = t.step_func(function (files) {
+        assert_type(files, "array", "files should be array");
+        assert_equals(retVal, undefined, "incorrect returned value");
+        t.done();
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        retVal = dir.listFiles(listFilesSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html
new file mode 100755 (executable)
index 0000000..6616618
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_listFiles_createFiles</title>
+<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_listFiles_createFiles
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new directory and then list 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    fsTestDirName, fsTestDir, documentsDir, fsTestFileName1, fsTestFileName2;
+
+t.step(function () {
+    fsTestDirName = getDirName("filesystem");
+    fsTestFileName1 = getFileName("filesystem1.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_equals(files.length, 2, "list files");
+        t.done();
+    });
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestDir.createFile(fsTestFileName1);
+        fsTestDir.createFile(fsTestFileName2);
+        fsTestDir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html
new file mode 100755 (executable)
index 0000000..d7b3cbe
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_listFiles_exist</title>
+<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: File_listFiles_exist
+//==== LABEL Check if File::listFiles() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("listFiles" in dir, "method listFiles exists");
+        check_method_exists(dir, "listFiles");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..022398f
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_filter_TypeMismatch</title>
+<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: File_listFiles_filter_TypeMismatch
+//==== LABEL Check if File::listFiles() method throws exception for wrong type of filter
+//==== 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(document.title), listFilesSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
+    filter;
+
+t.step(function () {
+    listFilesSuccess = t.step_func(function () {});
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("object", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            filter = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({
+                    name: exceptionName
+                }, function () {
+                    dir.listFiles(listFilesSuccess, null, filter);
+                }, exceptionName + " should be thrown - given incorrect filter.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html
new file mode 100755 (executable)
index 0000000..17d98ca
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_filter_empty</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_listFiles_filter_empty
+//==== LABEL Check if File::listFiles() can be called with empty object as filter argument
+//==== 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(document.title), resolveSuccess, resolveError,
+    listFilesSuccess, listFilesError;
+
+t.step(function () {
+
+    listFilesSuccess = t.step_func(function (files) {
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess, listFilesError, {});
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html
new file mode 100755 (executable)
index 0000000..85f2964
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_missarg</title>
+<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: File_listFiles_missarg
+//==== PRIORITY: P2
+//==== LABEL Check if File::listFiles() with missing mandatory argument throws exception
+//==== 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(document.title), resolveSuccess, resolveError;
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+                dir.listFiles();
+            });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..111c73b
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onerror_TypeMismatch</title>
+<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_listFiles_onerror_TypeMismatch
+//==== LABEL Check if File::listFiles() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, listFilesError, i, fsTestFileName,
+    fsTestFile, listFilesSuccess, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        fsTestFile = dir.createFile(fsTestFileName);
+        for (i = 0; i < conversionTable.length; i++) {
+            listFilesError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    fsTestFile.listFiles(listFilesSuccess, listFilesError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..85fbcea
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onerror_invalid_cb</title>
+<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_listFiles_onerror_invalid_cb
+//==== LABEL Check if File::listFiles() throws exception for wrong onerror
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesError = {
+        onerror: t.step_func(function () {
+            assert_unreached("invalid errorCallback should not be called");
+        })
+    };
+    listFilesSuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                fsTestFile.listFiles(listFilesSuccess, listFilesError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..f3c6208
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onsuccess_TypeMismatch</title>
+<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_listFiles_onsuccess_TypeMismatch
+//==== LABEL Check if File::listFiles() throws exception for wrong type of onsuccess
+//==== 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(document.title), listFilesSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            listFilesSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({
+                    name: exceptionName
+                }, function () {
+                    dir.listFiles(listFilesSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..aa25bd6
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onsuccess_invalid_cb</title>
+<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_listFiles_onsuccess_invalid_cb
+//==== LABEL Check if File::listFiles() throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess;
+
+t.step(function () {
+    listFilesSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.listFiles(listFilesSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html
new file mode 100755 (executable)
index 0000000..ceb2f38
--- /dev/null
@@ -0,0 +1,83 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_with_file_handle</title>
+<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_listFiles_with_file_handle
+//==== LABEL Check if File::listFiles() calls errorCallback when called on File object representing file, not a directory
+//==== 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 MERRCB
+
+
+var resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile,
+    documentsDir, t = async_test(document.title), expected = "IOError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesSuccess = t.step_func(function () {
+        assert_unreached("There is no exception thrown when listFiles with a file handle");
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect thrown an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html
new file mode 100755 (executable)
index 0000000..cf1cd69
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_listFiles_with_filter</title>
+<meta charset="utf-8" />
+<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_listFiles_with_filter
+//==== LABEL Check if File::listFiles() works with filter argument
+//==== 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
+//==== TEST_CRITERIA MOA
+
+
+var filesFilter, listFilesError, resolveSuccess, resolveError, listFilesSuccess, documentsDir,
+    fsTestFileName, fsTestFile, filesRegExp = new RegExp("^" + FILE_AND_DIR_NAME_PREFIX),
+    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_regexp_match(files[0].name, filesRegExp, "bad file was found");
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError, filesFilter);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html
new file mode 100755 (executable)
index 0000000..acd6640
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_with_onerror</title>
+<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_listFiles_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::listFiles() calls errorCallback (listing files of a file)
+//==== 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesError = t.step_func(function () {
+        t.done();
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_unreached("listFilesSuccess:  listFilesError should be invoked");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html
new file mode 100755 (executable)
index 0000000..0e53c79
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_listFiles_with_valid_successCallback</title>
+<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_listFiles_with_valid_successCallback
+//==== PRIORITY P1
+//==== LABEL Check if File::listFiles() call onsuccess callback
+//==== 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 t = async_test(document.title), resolveSuccess, resolveError,
+    listFilesSuccess;
+t.step(function () {
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_type(files, "array", "files");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html
new file mode 100755 (executable)
index 0000000..de7830b
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_modified_attribute</title>
+<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_modified_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::modified attribute 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(document.title),
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        date = new Date();
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "modified", "File does not own modified property.");
+        assert_true("modified" in fsTestFile, "attribute modified doesn't exist in provided object.");
+        assert_type(fsTestFile.modified, "Date", "Type of modified is different.");
+        tmp = fsTestFile.modified;
+        fsTestFile.modified = new Date();
+        assert_equals(tmp.getTime(), fsTestFile.modified.getTime(), "created can be modified.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html
new file mode 100755 (executable)
index 0000000..2adbd1b
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() can be called successfully
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, retVal;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.moveTo(fsTestFile.fullPath,
+            "images/"+fsTestFile.name, true);
+        assert_equals(retVal, undefined, "incorrect returned value");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..e4b22b9
--- /dev/null
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_moveTo_dir_samedir_samename_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_moveTo_dir_samedir_samename_overwrite_false
+//==== LABEL Check if File::moveTo() invokes error callback when moving 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
+//==== TEST_CRITERIA MERRCB
+
+
+var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.moveTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, false, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..8e12050
--- /dev/null
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_moveTo_dir_samedir_samename_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_moveTo_dir_samedir_samename_overwrite_true
+//==== LABEL Check if File::moveTo() invokes error callback when moving 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
+//==== TEST_CRITERIA MERRCB
+
+
+var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.moveTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html
new file mode 100755 (executable)
index 0000000..d843a6c
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_moveTo_empty_destination_source_and_destination_paths</title>
+<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_empty_destination_source_and_destination_paths
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() invokes error callback when originFilePath and destinationFilePath are empty
+//==== 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(document.title),
+    moveToSuccess, moveToError, resolveSuccess, resolveError;
+
+t.step(function () {
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess: moveToError should be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.moveTo("", "", false, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html
new file mode 100755 (executable)
index 0000000..e1939ff
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_exist</title>
+<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_exist
+//==== LABEL Check if File::moveTo() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("moveTo" in dir, "method moveTo exists");
+        check_method_exists(dir, "moveTo");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..5ff3f51
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_file_samedir_samename_overwrite_false</title>
+<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 File::moveTo() invokes error callback when moving 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(document.title), resolveSuccess,
+    resolveError, moveToSuccess, moveToError, expectedError = "IOError",
+    fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, fsTestFile;
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem");
+    fsTestDirName2 = getDirName("destination");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback should not be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir2.createFile(fsTestFileName);
+        fsTestDir2.moveTo(fsTestFile.fullPath, "documents/"+fsTestDir1.name+"/"+fsTestDir2.name+"/",
+            false, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..22c26cd
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_file_samedir_samename_overwrite_true</title>
+<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 File::moveTo() error callback when moving 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(document.title), resolveSuccess,
+    resolveError, moveToSuccess, moveToError, expectedError = "IOError",
+    fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1,
+    fsTestDir2, fsTestFile;
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem");
+    fsTestDirName2 = getDirName("destination");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback should not be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir2.createFile(fsTestFileName);
+        fsTestDir2.moveTo(fsTestFile.fullPath, "documents/" + fsTestDir1.name + "/" + fsTestDir2.name + "/",
+            true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..e57d345
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_onerror_TypeMismatch</title>
+<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_onerror_TypeMismatch
+//==== LABEL Check if File::moveTo() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, moveToError, i, moveToSuccess,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            moveToError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({
+                    name: exceptionName
+                }, function () {
+                    dir.moveTo("verybadfile.txt", "images", true, moveToSuccess, moveToError);
+                }, exceptionName + " should be thrown - given incorrect error callback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..d9a29dd
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_onerror_invalid_cb</title>
+<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_onerror_invalid_cb
+//==== LABEL Check if File::moveTo() throws exception for wrong onerror
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, moveToSuccess, moveToError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToError = {
+        onerror: t.step_func(function () {
+            assert_unreached("moveTo() error callback invoked");
+        })
+    };
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveTo() success callback invoked");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess, moveToError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..71d9530
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== LABEL Check if File::moveTo() throws exception for wrong type of onsuccess
+//==== 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(document.title), moveToSuccess, fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            moveToSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
+                }, exceptionName + " should be thrown - given incorrect success callback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..7075a5c
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_onsuccess_invalid_cb</title>
+<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_onsuccess_invalid_cb
+//==== LABEL Check if File::moveTo() throws exception for wrong onsuccess
+//==== 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(document.title), resolveSuccess, resolveError,
+    moveToSuccess, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html
new file mode 100755 (executable)
index 0000000..466f85d
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_moveTo_with_additional_null_parameter</title>
+<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_with_additional_null_parameter
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() method can be invoked with extra null parameter
+//==== 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 t = async_test(document.title), fsTestFileName2,
+    resolveSuccess, resolveError, file, movedPath, fsTestFileName, moveToSuccess;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    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 = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html
new file mode 100755 (executable)
index 0000000..129d636
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_with_file_handle</title>
+<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_with_file_handle
+//==== LABEL Check if File::moveTo() calls errorCallback when called on File object representing file, not a directory
+//==== 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 resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDirName1,
+    fsTestDirName2, fsTestDir1, fsTestDir2, fsTestFileName, fsTestFile,
+    expectedError = "IOError", t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("filesystem2");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("There is no exception thrown when when copyTo with file handle");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, expectedError + " should be thrown");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir2.createFile(fsTestFileName);
+        fsTestFile.moveTo(fsTestFile.fullPath, fsTestDir1.path, true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html
new file mode 100755 (executable)
index 0000000..c210384
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_with_onerror</title>
+<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_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() calls errorCallback (source file does not exist)
+//==== 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(document.title),
+    resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    moveToError = t.step_func(function () {
+        t.done();
+    });
+    moveToSuccess = t.step_func(function (files) {
+        assert_unreached("moveTo() error callback invoked: moveTo() error callback should be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.moveTo("documents/" + fsTestFileName,
+            "images/" + fsTestFileName, true, moveToSuccess, moveToError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..16b8047
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_with_onsuccess</title>
+<meta charset="utf-8"/>
+<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_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() calls successCallback
+//==== 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(document.title), listFilesError, resolveError,
+    resolveSuccess, documentsDir, listFilesSuccess, moveToSuccess, i, fsTestFileName;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].name === fsTestFileName) {
+                try {
+                    documentsDir.moveTo(files[i].fullPath,
+                        "images/" + files[i].name, true, moveToSuccess);
+                } catch (error) {
+                    assert_unreached("listFiles() success callback invoked: name:" + error.name + "msg:" + error.message);
+                }
+            }
+        }
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html
new file mode 100755 (executable)
index 0000000..2726960
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_with_path_invalid</title>
+<meta charset="utf-8" />
+<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_with_path_invalid
+//==== LABEL Check if File::moveTo() calls errorCallback (NotFound) when destinationFilePath is in non-existing directory
+//==== 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(document.title), fsTestDirName, fsTestDir,
+    expected = "NotFoundError", documentsDir, resolveSuccess, resolveError,
+    moveToSuccess, moveToError;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveTo() success callback invoked: No exception be thrown when move file to an invalid path");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "exception is not our expected value");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.moveTo(fsTestDir.fullPath, "hello/" + fsTestDirName, true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html
new file mode 100755 (executable)
index 0000000..2070357
--- /dev/null
@@ -0,0 +1,98 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_writeFile_newName</title>
+<meta charset="utf-8" />
+<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_writeFile_newName
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file, write content to it, and then move the file to the same directory 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(document.title),
+    openStreamSuccess, openStreamError;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_unreached("moveTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFileName2,
+            true, moveToSuccess, moveToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html
new file mode 100755 (executable)
index 0000000..74a9bec
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_writeFile_overwrite_false</title>
+<meta charset="utf-8" />
+<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_writeFile_overwrite_false
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() calls errorCallback when originFilePath and destinationFilePath is the same path (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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess, mainDir,
+    moveToError, fsTestFileName, fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        mainDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name,
+            false, moveToSuccess, moveToError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        mainDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html
new file mode 100755 (executable)
index 0000000..ac90be6
--- /dev/null
@@ -0,0 +1,98 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_writeFile_subdir</title>
+<meta charset="utf-8" />
+<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_writeFile_subdir
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file, write content to it, and then move the file to a subdirectory keeping the name of the 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 resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess,
+    moveToError, fsTestDirName1, fsTestDirName2, fsTestFileName,
+    fsTestFile, fsTestDir1, fsTestDir2, t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("destination");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_unreached("moveTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir1.moveTo(fsTestFile.fullPath, fsTestDir2.fullPath + "/" + fsTestFile.name, true, moveToSuccess, moveToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html
new file mode 100755 (executable)
index 0000000..9aa72f2
--- /dev/null
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_name_attribute</title>
+<meta charset="utf-8"/>
+<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_name_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::name attribute 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(document.title), fsTestFileName,
+    fsTestFile, resolveSuccess, resolveError;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "name", "File does not own name property.");
+        check_readonly(fsTestFile, "name", fsTestFile.name, "string", fsTestFile.name + "dummyValue");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html
new file mode 100755 (executable)
index 0000000..24d42ac
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_notexist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_notexist
+//==== LABEL Interface File should not be accessible
+//==== 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>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html
new file mode 100755 (executable)
index 0000000..6e0930b
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if File::openStream() method 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, retVal = null;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = fsTestFile.openStream("w",
+            t.step_func(function (fs) {
+                assert_equals(retVal, undefined, "incorrect returned value");
+                fs.write("HelloWorld");
+                fs.close();
+                t.done();
+            }));
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html
new file mode 100755 (executable)
index 0000000..2ba13cc
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_encoding_invalid</title>
+<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_encoding_invalid
+//==== LABEL Check if File::openStream() throws an exception for invalid encoding value
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError,
+    fsTestFileName, fsTestFile, documentsDir;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("There in no exception thrown when open the file in invalid encoding");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+            fsTestFile.openStream("r", openStreamSuccess, openStreamError, "coding");
+        });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html
new file mode 100755 (executable)
index 0000000..6d6d5b6
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_openStream_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_openStream_exist
+//==== LABEL Check if File::openStream() method exists
+//==== PRIORITY P0
+//==== 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(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("openStream" in dir, "method openStream exists");
+        check_method_exists(dir, "listFiles");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html
new file mode 100755 (executable)
index 0000000..ad756db
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_missarg</title>
+<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: File_openStream_missarg
+//==== PRIORITY: P2
+//==== LABEL Check if File::openStream() method throws exception for missing mandatory argument
+//==== 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(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(TYPE_MISMATCH_EXCEPTION, function () {
+                fsTestFile.openStream();
+            });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..57ca05a
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_mode_TypeMismatch</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: File_openStream_mode_TypeMismatch
+//==== LABEL Check if File::openStream() throws exception for wrong type of mode argument
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
+    openStreamSuccess, mode;
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("openStream() success callback invoked: should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("enum", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            mode = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.openStream(mode, openStreamSuccess);
+                }, exceptionName + " should be thrown - given incorrect mode.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html
new file mode 100755 (executable)
index 0000000..72a408b
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_a</title>
+<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_mode_a
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("a", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html
new file mode 100755 (executable)
index 0000000..676dfaa
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_mode_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_mode_invalid
+//==== LABEL Check if File::openStream() method throws exception for wrong mode
+//==== 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(document.title), resolveSuccess, resolveError, openStreamSuccess;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.openStream(5);
+            }, TYPE_MISMATCH_EXCEPTION + " should be thrown - given invalid mode");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html
new file mode 100755 (executable)
index 0000000..9b45249
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_r</title>
+<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_mode_r
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MAST MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html
new file mode 100755 (executable)
index 0000000..77a3268
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_rw</title>
+<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_mode_rw
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MAST MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html
new file mode 100755 (executable)
index 0000000..7313077
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_w</title>
+<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_mode_w
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MAST MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..6a67bc0
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_onerror_TypeMismatch
+//==== LABEL Check if File::openStream() method throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, openStreamError, i, openStreamSuccess,
+    exceptionName = "TypeMismatchError";
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("openStream() success callback invoked: should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            openStreamError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.openStream("r", openStreamSuccess, openStreamError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..d1ee5fd
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_onerror_invalid_cb
+//==== LABEL Check if File::openStream() method throws exception for wrong onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError;
+t.step(function () {
+    openStreamError = {
+        onerror: t.step_func(function (error) {
+            assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+        })
+    };
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("successCallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.openStream("r", openStreamSuccess, openStreamError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..0065e61
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== LABEL Check if File::openStream() method throws exception for wrong type of onsuccess
+//==== 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(document.title), openStreamSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
+    fsTestFileName, fsTestFile;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            openStreamSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    fsTestFile.openStream("r", openStreamSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..6d67dd9
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_onsuccess_invalid_cb</title>
+<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: File_openStream_onsuccess_invalid_cb
+//==== LABEL Check if File::openStream() method throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, fsTestFileName, fsTestFile;
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("openStream() success callback invoked: Invalid callback invoked.");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                fsTestFile.openStream("r", openStreamSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html
new file mode 100755 (executable)
index 0000000..f0ccde2
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_with_encoding</title>
+<meta charset="utf-8"/>
+<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_encoding
+//==== PRIORITY P1
+//==== LABEL Check if File::openStream() method can be called with valid encoding argument
+//==== 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(document.title), resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, fsTestFileName, fsTestFile;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "ISO-8859-1");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html
new file mode 100755 (executable)
index 0000000..28abef9
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_with_encoding_not_default</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_with_encoding_not_default
+//==== LABEL Check if File::openStream() method works properly when the encoding is "ISO-8859-1"
+//==== 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(document.title), resolveSuccess, resolveError, openStreamError, openStreamSuccess, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem06.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "ISO-8859-1");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html
new file mode 100755 (executable)
index 0000000..37f9688
--- /dev/null
@@ -0,0 +1,92 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Ma, YueX <yuex.ma@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_openStream_with_nonexist_file</title>
+<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 File::openStream() method calls errorCallback when invoked for file which was already removed
+//==== 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 MERRCB
+
+
+var fsTestFileName, fsTestFile, resolveSuccess, resolveError, deleteFileSuccess,
+    deleteFileError, openStreamSuccess, openStreamError,
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("openStream() success callback invoked: expect throw an exception when open the file which not exist");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_equals(error.name, "IOError", "expect throw an exception");
+        t.done();
+    });
+
+    deleteFileSuccess = t.step_func(function () {
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html
new file mode 100755 (executable)
index 0000000..3b3a03f
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_with_onerror</title>
+<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: File_openStream_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::openStream() method calls errorCallback properly (openStream used on directory)
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError;
+t.step(function (){
+    openStreamError = t.step_func(function () {
+        t.done();
+    });
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("this function should not be executed");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.openStream("r", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html
new file mode 100755 (executable)
index 0000000..d7d2f82
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_parent_attribute</title>
+<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: File_parent_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::parent attribute 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(document.title), resolveSuccess, resolveError, fsTestFileName,
+    fsTestFile, fsTestDir, fsTestDirName;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem");
+    fsTestDirName = getDirName("filesystemDir");
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("parent" in dir, "parent attribute doesn't exist");
+        assert_equals(dir.parent, null, "incorrect parent value for root directory");
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        assert_type(fsTestFile.parent, "object", "parent isn't an object");
+        checkOwnProperties(fsTestFile.parent);
+        assert_equals(fsTestFile.parent.name, fsTestDir.name, "incorrect parent");
+        fsTestFile.parent = dir;
+        assert_equals(fsTestFile.parent.name, fsTestDir.name, "parent can be modified");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html
new file mode 100755 (executable)
index 0000000..6b178a9
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Tomasz KuÅ›mierz <t.kusmierz@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>>
+
+-->
+<html>
+<head>
+<title>File_parent_attribute_notnull_using_resolve</title>
+<meta charset="utf-8"/>
+<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_parent_attribute_notnull_using_resolve
+//==== PRIORITY P1
+//==== LABEL Check if File::parent attribute is set by resolve() for subdirectory of Documents
+//==== 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, resolveFileSuccess, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveFileSuccess = t.step_func(function (file) {
+        assert_not_equals(file.parent, null, "File.parent should not be null.");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        try {
+            dir.createFile(fsTestFileName);
+        } catch (e) {
+            if (e.name !== "IOError") {
+                assert_unreached("createFile() error throw: name: " + e.name + ", msg: " + e.message);
+            }
+        }
+        tizen.filesystem.resolve("documents/" + fsTestFileName, resolveFileSuccess, resolveError, "rw");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html
new file mode 100755 (executable)
index 0000000..fe82f8a
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_path_attribute</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_path_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::path attribute 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(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "path", "file does not have own path property");
+        check_readonly(dir, "path", dir.path, "string", "images");
+        assert_equals(dir.path, "documents", "incorrect path");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html
new file mode 100755 (executable)
index 0000000..64bc328
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_path_attribute_limitation</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_path_attribute_limitation
+//==== LABEL Check if File::path attribute has proper value limitation
+//==== 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
+//==== PRIORITY P1
+//==== TEST_CRITERIA AVL
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_less_than_equal(dir.path.length, tizen.filesystem.maxPathLength, "the length of path should not have value greater than maxPathLength");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html
new file mode 100755 (executable)
index 0000000..a8fcfce
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_readAsText
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works properly without errorCallback
+//==== 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(document.title), resolveSuccess, resolveError, stringInFile = "HelloWorld",
+    readAsTextSuccess, file, fsTestFileName = getFileName("testReadAsTextAgain.txt"), retVal = null;
+
+t.step(function () {
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        assert_equals(str, stringInFile, "incorrect read value");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w",
+            t.step_func(function (fs) {
+                fs.write(stringInFile);
+                fs.close();
+                retVal = file.readAsText(readAsTextSuccess);
+            }));
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html
new file mode 100755 (executable)
index 0000000..48f072f
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_readAsText_encoding_invalid</title>
+<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_readAsText_encoding_invalid
+//==== LABEL Check if File::readAsText() method throws exception for invalid encoding value
+//==== 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(document.title), resolveSuccess, resolveError,
+    readAsTextSuccess, documentsDir, expected = "TypeMismatchError", fsTestFileName,
+    fsTestFile, readAsTextError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_unreached("readAsText() success callback invoked: There is no exception thrown when readAsText() in invalid encoding");
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws({"name": expected}, function () {
+                fsTestFile.readAsText(readAsTextSuccess, readAsTextError, true);
+            });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html
new file mode 100755 (executable)
index 0000000..018d528
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_readAsText_exist
+//==== LABEL Check if File::readAsText() method exists
+//==== PRIORITY P0
+//==== 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(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("readAsText" in dir, "method readAsText exists");
+        check_method_exists(dir, "readAsText");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html
new file mode 100755 (executable)
index 0000000..c319e54
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listDocumentsFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listDocumentsFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Documents
+//==== 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 testFile, resolveSuccess, resolveError, readAsTextSuccess,
+    readAsTextError, openStreamSuccess, openStreamError,
+    listFilesSuccess, listFilesError, text = "test write method",
+    t = async_test(document.title),
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html
new file mode 100755 (executable)
index 0000000..8041be8
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listDownloadsFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listDownloadsFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Downloads
+//==== 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(document.title),
+    text = "test write method", testFile, resolveSuccess, resolveError,
+    listFilesSuccess, listFilesError, openStreamSuccess,
+    openStreamError, readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html
new file mode 100755 (executable)
index 0000000..f5ba79c
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+h<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listImagesFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listImagesFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Images
+//==== 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(document.title),
+    testFile, resolveSuccess, resolveError, listFilesSuccess,
+    listFilesError, openStreamSuccess, openStreamError,
+    readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html
new file mode 100755 (executable)
index 0000000..d70ae59
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listMusicFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listMusicFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Music
+//==== 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 testFile, resolveSuccess, resolveError, listFilesSuccess,
+    listFilesError, openStreamSuccess, openStreamError, readAsTextSuccess,
+    readAsTextError, text = "test write method",
+    t = async_test(document.title),
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html
new file mode 100755 (executable)
index 0000000..9096767
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listVideosFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listVideosFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Videos
+//==== 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(document.title),
+    testFile, resolveSuccess, resolveError, listFilesSuccess,
+    listFilesError, openStreamSuccess, openStreamError,
+    readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html
new file mode 100755 (executable)
index 0000000..a5b0ed0
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_missarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_readAsText_missarg
+//==== PRIORITY: P2
+//==== LABEL Check if File::readAsText() throws exception for missing mandatory parameter
+//==== 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(document.title),
+    resolveSuccess, resolveError, file,
+    fsTestFileName = getFileName("testMissArg.txt");
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w",
+            t.step_func(function (fs) {
+                fs.write("HelloWorld");
+                fs.close();
+                assert_throws(TYPE_MISMATCH_EXCEPTION,
+                    function () {
+                        file.readAsText();
+                    });
+                t.done();
+            }));
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..4ee779d
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onerror_TypeMismatch
+//==== LABEL Check if File::readAsText() method throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, readAsTextError, i,
+    readAsTextSuccess, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    readAsTextSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            readAsTextError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.readAsText(readAsTextSuccess, readAsTextError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..eda909a
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onerror_invalid_cb
+//==== LABEL Check if File::readAsText() method throws exception for wrong onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, readAsTextSuccess, readAsTextError;
+
+t.step(function () {
+    readAsTextError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    readAsTextSuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.readAsText(readAsTextSuccess, readAsTextError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..6fe60a0
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onsuccess_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onsuccess_TypeMismatch
+//==== LABEL Check if File::readAsText() method throws exception for wrong type of onsuccess
+//==== 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(document.title), readAsTextSuccess,
+    resolveSuccess, resolveError, conversionTable, i, file,
+    exceptionName = "TypeMismatchError",
+    fsTestFileName = getFileName("goodFile2.txt");
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", false);
+
+        for (i = 0; i < conversionTable.length; i++) {
+            readAsTextSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    file.readAsText(readAsTextSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..6f8fda4
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onsuccess_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onsuccess_invalid_cb
+//==== LABEL Check if File::readAsText() method throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, readAsTextSuccess,
+    fsTestFileName = getFileName("goodFile.txt"), file;
+
+t.step(function (){
+    readAsTextSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                file.readAsText(readAsTextSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html
new file mode 100755 (executable)
index 0000000..ed9d6cc
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_with_encoding</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_with_encoding
+//==== LABEL Check if File::readAsText() method works with encoding argument
+//==== 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 MOA
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    readAsTextSuccess, readAsTextError, i;
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (text) {
+        t.done();
+    });
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].isDirectory === false){
+                files[i].readAsText(readAsTextSuccess,
+                    readAsTextError, "ISO-8859-1");
+            }
+        }
+    });
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html
new file mode 100755 (executable)
index 0000000..77d7bb7
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_with_encoding_not_default</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_with_encoding_not_default
+//==== LABEL Check if File::readAsText() method works properly when the encoding is "ISO-8859-1"
+//==== 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(document.title), resolveSuccess, resolveError, readAsTextError, readAsTextSuccess, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem07.txt");
+
+    readAsTextSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() errorcallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.readAsText(readAsTextSuccess, readAsTextError, "ISO-8859-1");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html
new file mode 100755 (executable)
index 0000000..e72b246
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_with_onerror</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() properly calls errorCallback (called on a directory instead of file)
+//==== 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(document.title),
+    resolveSuccess, resolveError, readAsTextSuccess, readAsTextError;
+
+t.step(function () {
+    readAsTextError = t.step_func(function (error) {
+        assert_equals(error.name, "IOError", "incorrect error name");
+        assert_type(error.message, "string", "incorrect error message type");
+        assert_not_equals(error.message, "", "incorrect error message");
+        t.done();
+    });
+    readAsTextSuccess = t.step_func(function (text) {
+        assert_unreached("readAsTextSuccess: readAsTextError should be invoked");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.readAsText(readAsTextSuccess, readAsTextError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html
new file mode 100755 (executable)
index 0000000..3c4cd98
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readOnly_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readOnly_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::readOnly attribute 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(document.title),
+    onSuccess, onError;
+t.step(function () {
+    onSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "readOnly", "File does not own readOnly property.");
+        check_readonly(dir, "readOnly", false, "boolean", true);
+        t.done();
+    });
+    onError = t.step_func(function (error) {
+        assert_unreached("Error: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", onSuccess, onError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html
new file mode 100755 (executable)
index 0000000..301cfb4
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_resolve</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_resolve
+//==== PRIORITY P1
+//==== LABEL Check if File::resolve() method 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, i, ds, file,
+    fsTestFileName = getFileName("goodFile2.txt");
+t.step(function () {
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].name === fsTestFileName) {
+                file = ds.resolve(fsTestFileName);
+                assert_equals(file.name, fsTestFileName, "Attribute check");
+                t.done();
+            }
+        }
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        ds = dir;
+        dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html
new file mode 100755 (executable)
index 0000000..c18de82
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_resolve_exist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_resolve_exist
+//==== LABEL Check if File::resolve() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    onSuccess, onError;
+t.step(function (){
+    onSuccess = t.step_func(function (dir) {
+        assert_true("resolve" in dir, "method resolve exists");
+        check_method_exists(dir, "resolve");
+        t.done();
+    });
+    onError = t.step_func(function (error) {
+        assert_unreached("Error: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", onSuccess, onError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html
new file mode 100755 (executable)
index 0000000..7569289
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_resolve_filePath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_resolve_filePath_invalid
+//==== LABEL Check if File::resolve() throws exception when filePath is invalid
+//==== 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 MC
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            dir.resolve(true);
+        }, NOT_FOUND_EXCEPTION + " should be thrown - invalid filePath.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html
new file mode 100755 (executable)
index 0000000..188753b
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_resolve_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_resolve_misarg
+//==== LABEL Check if File::resolve() throws exception when resolving a file which missing argument
+//==== 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 MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+    resolveSuccess = t.step_func(function (dir) {
+        try {
+            dir.resolve();
+        } catch (error) {
+            t.done();
+        }
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html
new file mode 100755 (executable)
index 0000000..578186a
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_resolve_with_nonexist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_resolve_with_nonexist
+//==== LABEL Check if File::resolve() throws exception when resolving 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(document.title), resolveSuccess, resolveError, fsTestFileName, expected = "NotFoundError";
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        try{
+            dir.resolve(fsTestFileName);
+        }catch(error) {
+            assert_equals(error.name, expected, "expect throw an exception");
+            t.done();
+        }
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html
new file mode 100755 (executable)
index 0000000..26f4e4a
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_toURI</title>
+<meta charset="utf-8"/>
+<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_toURI
+//==== PRIORITY P1
+//==== LABEL Check if File::toURI() method 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(document.title), resolveSuccess, resolveError, returnedValue, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        returnedValue = fsTestFile.toURI();
+        assert_type(returnedValue, "string", "incorrect returned type");
+        assert_not_equals(returnedValue, "", "incorrect returned value");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html
new file mode 100755 (executable)
index 0000000..c32fd1b
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_toURI_exist</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_toURI_exist
+//==== LABEL Check if File::toURI() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        check_method_exists(dir, "toURI");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html
new file mode 100755 (executable)
index 0000000..8d791b2
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_toURI_extra_argument</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_toURI_extra_argument
+//==== PRIORITY P1
+//==== LABEL Check if File::toURI() method 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(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        checkExtraArgument(dir, "toURI");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html
new file mode 100755 (executable)
index 0000000..fe26ee6
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Ma, YueX <yuex.ma@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_toURI_with_nonexist_file</title>
+<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_toURI_with_nonexist_file
+//==== LABEL Check if File::toURI() method throws exception when get a URI of non-existing 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(document.title),
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError , fsTestFileName, fsTestFile, returnedValue;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        returnedValue = fsTestFile.toURI();
+        assert_type(returnedValue, "string", "wrong type");
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService.html
deleted file mode 100755 (executable)
index 505921a..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_connectService
-//==== LABEL Check if connectService method works correctly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMINA MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, pushRegisterErrorCallback, unregisterServiceError,
-    unregisterServiceDone, notificationCallback, returnedValue = null;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    notificationCallback = t.step_func(function (message) {
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            returnedValue = tizen.push.connectService(notificationCallback);
-            assert_equals(returnedValue, undefined, "connectService() should return undefined.");
-        } finally {
-            tizen.push.disconnectService();
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html
deleted file mode 100755 (executable)
index 445d346..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_connectService_exist
-//==== LABEL Check if method connectService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("connectService" in tizen.push, "No connectService method in tizen.push");
-    check_method_exists(tizen.push, "connectService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_missarg.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_missarg.html
deleted file mode 100755 (executable)
index f64b833..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_missarg</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_connectService_missarg
-//==== LABEL Check with missing non-optional argument - PushManager.connectService method
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMA
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), pushRegisterSuccessCallback,
-    pushRegisterErrorCallback, unregisterServiceDone, unregisterServiceError, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            assert_throws({name: exceptionName},
-                function () {
-                    tizen.push.connectService();
-                }, exceptionName + " should be thrown - missing argument");
-
-        } finally {
-            tizen.push.disconnectService();
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 785ea29..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_notificationCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_connectService_notificationCallback_TypeMismatch
-//==== LABEL Check type conversions for notificationCallback argument of PushManager.connectService method
-//==== PRIORITY: P2
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-test(function () {
-    var conversionTable, incorrectCallback, exceptionName, i;
-
-    conversionTable = getTypeConversionExceptions("functionObject", false);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.connectService(incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-    }
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html
deleted file mode 100755 (executable)
index b498c49..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_notificationCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_connectService_notificationCallback_invalid_cb
-//==== LABEL Check if PushManager.connectService method throws exception when notificationCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onsuccess: t.step_func(function (pushMessage) {
-            assert_unreached("Incorrect callback invoked. pushMessage.appData: " + pushMessage.appData);
-        })
-    };
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.connectService(incorrectCallback);
-        }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService.html
deleted file mode 100755 (executable)
index 09357eb..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_disconnectService</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_disconnectService
-//==== LABEL Check if disconnectService method works correctly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:disconnectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MNA MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), pushRegisterSuccessCallback,
-    unregisterServiceDone, unregisterServiceError,
-    notificationCallback, returnedValue = null, pushRegisterErrorCallback;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    notificationCallback = t.step_func(function (message) {
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            tizen.push.connectService(notificationCallback);
-            returnedValue = tizen.push.disconnectService();
-            assert_equals(returnedValue, undefined, "disconnectService() should return undefined.");
-        } finally {
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html
deleted file mode 100755 (executable)
index 586fcd6..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_disconnectService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_disconnectService_exist
-//==== LABEL Check if method disconnectService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:disconnectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("disconnectService" in tizen.push, "No disconnectService method in tizen.push");
-    check_method_exists(tizen.push, "disconnectService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html
deleted file mode 100755 (executable)
index 59180b1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_disconnectService_extra_argument</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_disconnectService_extra_argument
-//==== LABEL Check if method disconnectService of PushManager accepts extra argument
-//==== SPEC Tizen Web API:TBD:Push:PushManager:disconnectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.push, "disconnectService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService.html
deleted file mode 100755 (executable)
index 4b490d3..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_registerService
-//==== LABEL Check if method registerService of PushManager works properly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MOA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, pushRegisterErrorCallback, returnedValue = null,
-    unregisterServiceSuccessCallback, unregisterServiceDone, beforeRegistrationId,
-    unregisterServiceErrorCallback, unregisterServiceError;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            assert_equals(returnedValue, undefined, "Incorrect returned value from registerService method");
-            assert_type(registrationId, "string", "registrationId is not a string");
-            assert_not_equals(registrationId, "", "registrationId is equal to empty string.");
-            assert_equals(registrationId, tizen.push.getRegistrationId(),
-                "current registrationId is different from registered service id");
-            assert_not_equals(registrationId, beforeRegistrationId,
-                "registrationId did not change.");
-        } finally {
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    unregisterServiceSuccessCallback = t.step_func(function () {
-        beforeRegistrationId = tizen.push.getRegistrationId();
-        returnedValue = tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-    });
-
-    unregisterServiceErrorCallback = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.unregisterService(unregisterServiceSuccessCallback, unregisterServiceErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html
deleted file mode 100755 (executable)
index d0edbc3..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_appControl_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_appControl_TypeMismatch
-//==== LABEL Check type conversions for appControl argument of PushManager.registerService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, errorCallback, conversionTable, exceptionName,
-    incorrectService, i;
-
-t.step(function () {
-    pushRegisterSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    conversionTable = getTypeConversionExceptions("object", false);
-
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectService = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService(incorrectService, pushRegisterSuccessCallback, errorCallback);
-            }, exceptionName + " should be thrown - given incorrect ApplicationControl: " + incorrectService);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html
deleted file mode 100755 (executable)
index 82b8102..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_appControl_invalid_obj</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_appControl_invalid_obj
-//==== LABEL Check if PushManager.registerService method throws exception when appControl is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTO
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, errorCallback, exceptionName = "TypeMismatchError", fakeService;
-
-t.step(function () {
-    pushRegisterSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    fakeService = {
-        operation: "http://tizen.org/appcontrol/operation/push_test",
-        uri: "",
-        mime: "",
-        category: "",
-        data: []
-    };
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.registerService(fakeService, pushRegisterSuccessCallback, errorCallback);
-        }, exceptionName + " should be thrown - given incorrect ApplicationControl");
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index a65cd69..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_errorCallback_TypeMismatch
-//==== LABEL Check type conversions for errorCallback argument of PushManager.registerService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    registerSuccessCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    registerSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", true);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService(service, registerSuccessCallback, incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 3c8bbad..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_errorCallback_invalid_cb
-//==== LABEL Check if PushManager.registerService method throws exception when errorCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, registerSuccessCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onerror: t.step_func(function (error) {
-            assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-        })
-    };
-
-    registerSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.registerService(service,  registerSuccessCallback, incorrectCallback);
-        }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html
deleted file mode 100755 (executable)
index 04ae328..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_registerService_exist
-//==== LABEL Check if method registerService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("registerService" in tizen.push, "No registerService method in tizen.push");
-    check_method_exists(tizen.push, "registerService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html
deleted file mode 100755 (executable)
index b7851dd..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_misargs</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_registerService_misargs
-//==== LABEL Check if method registerService throws exception when non-optional argument is missing
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MMA
-test(function () {
-    var exceptionName = "TypeMismatchError";
-    try {
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService();
-            }, exceptionName + " should be thrown - missing ApplicationControl .");
-    } finally {
-        tizen.push.unregisterService();
-    }
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 0290280..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_successCallback_TypeMismatch
-//==== LABEL Check type conversions for successCallback argument of PushManager.registerService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    errorCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", false);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService(service, incorrectCallback, errorCallback);
-            }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html
deleted file mode 100755 (executable)
index a49ea81..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_successCallback_invalid_cb
-//==== LABEL Check if PushManager.registerService method throws exception when successCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, errorCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onsuccess: t.step_func(function (pushRegistrationId) {
-            assert_unreached("Incorrect callback invoked. pushRegistrationId: " + pushRegistrationId);
-        })
-    };
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.registerService(service, incorrectCallback, errorCallback);
-        }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_without_errorCallback.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_without_errorCallback.html
deleted file mode 100755 (executable)
index 43accf7..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_without_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_registerService_without_errorCallback
-//==== LABEL Check if method registerService of PushManager works properly without errorCallback
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMINA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, returnedValue = null, beforeRegistrationId,
-    unregisterServiceSuccessCallback, unregisterServiceDone,
-    unregisterServiceError, unregisterServiceErrorCallback;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            assert_equals(returnedValue, undefined, "Incorrect returned value from registerService method");
-            assert_type(registrationId, "string", "registrationId is not a string");
-            assert_not_equals(registrationId, "", "registrationId is equal to empty string.");
-            assert_equals(registrationId, tizen.push.getRegistrationId(),
-                "current registrationId is different from registered service id");
-            assert_not_equals(registrationId, beforeRegistrationId,
-                "registrationId did not change.");
-        } finally {
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    unregisterServiceSuccessCallback = t.step_func(function () {
-        beforeRegistrationId = tizen.push.getRegistrationId();
-        returnedValue = tizen.push.registerService(service, pushRegisterSuccessCallback);
-    });
-
-    unregisterServiceErrorCallback = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.unregisterService(unregisterServiceSuccessCallback, unregisterServiceErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService.html
deleted file mode 100755 (executable)
index 12dd70c..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_unregisterService
-//==== LABEL Check if unregisterService works correctly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MOA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), pushRegisterSuccessCallback,
-    pushRegisterErrorCallback, unregisterServiceDone, unregisterServiceError,
-    registrationId, afterRegistrationId, returnedValue = null;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        afterRegistrationId = tizen.push.getRegistrationId();
-        assert_not_equals(registrationId, afterRegistrationId, "registrationId did not change.");
-        assert_equals(afterRegistrationId, null, "registtrationId should be null");
-        assert_equals(returnedValue, undefined, "Incorrect returned value.");
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (successRegistrationId) {
-        registrationId = successRegistrationId;
-        returnedValue = tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index f4ba690..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_errorCallback_TypeMismatch
-//==== LABEL Check type conversions for errorCallback argument of PushManager.unregisterService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    unregisterSuccessCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    unregisterSuccessCallback = t.step_func(function () {
-        assert_unreached("Callback invoked");
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", true);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.unregisterService(unregisterSuccessCallback, incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 2c8aa46..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_errorCallback_invalid_cb
-//==== LABEL Check if PushManager.unregisterService method throws exception when errorCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, unregisterSuccessCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onerror: t.step_func(function (error) {
-            assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-        })
-    };
-
-    unregisterSuccessCallback = t.step_func(function () {
-        assert_unreached("Callback invoked.");
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.unregisterService(unregisterSuccessCallback, incorrectCallback);
-        }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html
deleted file mode 100755 (executable)
index 2e313c8..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_unregisterService_exist
-//==== LABEL Check if method unregisterService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("unregisterService" in tizen.push, "No unregisterService method in tizen.push");
-    check_method_exists(tizen.push, "unregisterService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index c0757c6..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_successCallback_TypeMismatch
-//==== LABEL Check type conversions for successCallback argument of PushManager.unregisterService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    errorCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", true);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.unregisterService(incorrectCallback, errorCallback);
-            }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 3e31a30..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_successCallback_invalid_cb
-//==== LABEL Check if PushManager.unregisterService method throws exception when successCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, errorCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onsuccess: t.step_func(function () {
-            assert_unreached("Incorrect callback invoked");
-        })
-    };
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.unregisterService(incorrectCallback, errorCallback);
-        }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_errorCallback.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_errorCallback.html
deleted file mode 100755 (executable)
index c9d5d94..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_without_errorCallback</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_unregisterService_without_errorCallback
-//==== LABEL Check if unregisterService method works without errorCallback
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MOA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, pushRegisterErrorCallback,
-    unregisterServiceDone, unregisterServiceError,
-    registrationId, afterRegistrationId, returnedValue = null;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        afterRegistrationId = tizen.push.getRegistrationId();
-        assert_not_equals(registrationId, afterRegistrationId, "registrationId did not change.");
-        assert_equals(afterRegistrationId, null, "registtrationId should be null");
-        assert_equals(returnedValue, undefined, "Incorrect returned value.");
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (successRegistrationId) {
-        registrationId = successRegistrationId;
-        returnedValue = tizen.push.unregisterService(unregisterServiceDone);
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_successCallback.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_successCallback.html
deleted file mode 100755 (executable)
index d134a26..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_without_successCallback</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_unregisterService_without_successCallback
-//==== LABEL Check if unregisterService method works without successCallback
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMINA MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, errorCallback, returnedValue = null;
-
-t.step(function () {
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        returnedValue = tizen.push.unregisterService();
-        assert_equals(returnedValue, undefined, "Incorrect returned value.");
-        t.done();
-    });
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("Error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html
deleted file mode 100755 (executable)
index 057295d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Roman Frolow <r.frolow@samsung.com>
-
--->
-<html>
-<head>
-<title>SystemInfoStorageUnit_isRemoveable_attribute</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SystemInfoStorageUnit_isRemoveable_attribute
-//==== LABEL Check if attribute isRemoveable of SystemInfoStorageUnit exists, has type Boolean and is readonly
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoStorageUnit:isRemoveable A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    getPropertyValueSuccess, getPropertyValueError;
-t.step(function () {
-    getPropertyValueSuccess = t.step_func(function (property) {
-        assert_own_property(property, "units", "No units property.");
-        assert_true(Array.isArray(property.units),
-            "SystemInfoStorage_units is not an array");
-        assert_true(property.units.length > 0, "No available units.");
-        assert_own_property(property.units[0], "isRemoveable", "SystemInfoStorageUnit does not own isRemoveable property.");
-        check_readonly(property.units[0], "isRemoveable", property.units[0].isRemoveable, "boolean", null);
-        t.done();
-    });
-    getPropertyValueError = t.step_func(function (error) {
-        assert_unreached("getPropertyValue() error callback invoked: name: " +
-            error.name + ", msg: " + error.message);
-    });
-
-    tizen.systeminfo.getPropertyValue("STORAGE", getPropertyValueSuccess,
-        getPropertyValueError);
-});
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html
deleted file mode 100755 (executable)
index cbc5804..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
-
--->
-<html>
-<head>
-<title>TZDate_getTimezoneAbbreviation</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: TZDate_getTimezoneAbbreviation
-//==== LABEL Check if TZDate::getTimezoneAbbreviation() returns a string
-//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA
-
-test(function () {
-    var currentTZDate = tizen.time.getCurrentDateTime(), returnedValue;
-    returnedValue = currentTZDate.getTimezoneAbbreviation();
-    assert_type(returnedValue, "string", "type check");
-    assert_not_equals(returnedValue, null, "null check");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html
deleted file mode 100755 (executable)
index 61c2800..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
--->
-
-<html>
-
-<head>
-<title>TZDate_getTimezoneAbbreviation_exist</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/time_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: TZDate_getTimezoneAbbreviation_exist
-//==== LABEL Check if getTimezoneAbbreviation() method exists in TZDate
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== TEST_CRITERIA ME
-test(function () {
-    var currentTZDate = tizen.time.getCurrentDateTime();
-    assert_true("getTimezoneAbbreviation" in currentTZDate, "getTimezoneAbbreviation method exists");
-    check_method_exists(currentTZDate, "getTimezoneAbbreviation");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html
deleted file mode 100755 (executable)
index ebda1d0..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
-
--->
-<html>
-<head>
-<title>TZDate_getTimezoneAbbreviation_extra_argument</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: TZDate_getTimezoneAbbreviation_extra_argument
-//==== LABEL Check if TZDate::getTimezoneAbbreviation() method accepts extra argument
-//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    var currentTZDate = tizen.time.getCurrentDateTime();
-    checkExtraArgument(currentTZDate, "getTimezoneAbbreviation");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html
deleted file mode 100755 (executable)
index af48533..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Cici Li <cici.x.li@intel.com>
-        Jenny Cao <jenny.q.cao@intel.com>
-        Han, JingX <jingx.han@intel.com>
-
--->
-
-<html>
-<head>
-<title>Time_TZDate_getTimezoneAbbreviation_summerMonth</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: Time_TZDate_getTimezoneAbbreviation_summerMonth
-//==== LABEL Check if TZDate.getTimezoneAbbreviation() works properly
-//==== SPEC Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MR
-test(function () {
-    var td = new tizen.TZDate(2013, 8, 1, 1, 1, 1, 1, "America/New_York");
-    assert_equals(td.getTimezoneAbbreviation(), "EDT", "timezoneAbbreviation check");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..f31e93d
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_FileStreamSuccessCallback_onsuccess</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_FileStreamSuccessCallback_onsuccess
+//==== PRIORITY P1
+//==== LABEL Test whether FileStreamSuccessCallback::onsuccess is called with valid argument
+//==== 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    fsTestFileName = getFileName("successFile.txt");
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_not_equals(fs, null, "fs should not be null");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html
new file mode 100755 (executable)
index 0000000..40a6f55
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_File_copyTo</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_File_copyTo
+//==== LABEL Check if File::copyTo() can be called
+//==== 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
+
+var t = async_test(document.title),
+    createFile, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    fsTestFileName = getFileName("copyFile.txt");
+
+t.step(function (){
+    copyToSuccess = t.step_func(function () {
+        t.done();
+    });
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        createFile = dir.createFile(fsTestFileName);
+        dir.copyTo(createFile.fullPath, "downloads/" + createFile.name, true, copyToSuccess, copyToError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html
new file mode 100755 (executable)
index 0000000..619efe8
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_File_readAsText</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_File_readAsText
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method 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
+
+var t = async_test(document.title), text = "test write method",
+    testFile, resolveSuccess, resolveError, openStreamSuccess, openStreamError,
+    readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html
new file mode 100755 (executable)
index 0000000..910a51a
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_File_resolve</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_File_resolve
+//==== PRIORITY P1
+//==== LABEL Check if File::resolve() method called for a file returns 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, expected = "object", handle,
+    fsTestFileName = getFileName("resolve.doc");
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createFile(fsTestFileName);
+        handle = dir.resolve(fsTestFileName);
+        assert_equals(typeof(handle), expected, "resolve a file and return a file handle");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_exit.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_exit.html
deleted file mode 100755 (executable)
index 9e980f5..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-<meta name="description" content="tct-application-tizen-tests"/>
-
-<title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-<header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_exit.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-</header>
-
-<script type="text/javascript">
-var application, request, timeout = 1000;
-
-application = tizen.application.getCurrentApplication();
-request = application.getRequestedAppControl();
-
-if (request) {
-    if (request.appControl.data[0].key === "timeout") {
-        timeout = parseInt(request.appControl.data[0].value[0]);
-    }
-
-    request.replyResult();
-
-    setTimeout(function () {
-        application.exit();
-    }, timeout);
-
-} else  {
-    document.getElementById("info").innerHTML="RequestedAppControl not found";
-}
-
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch.html
deleted file mode 100755 (executable)
index b1f6e93..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-<script>
-var init = function () {
-    // add eventListener for tizenhwkey
-    document.addEventListener('tizenhwkey', function(e) {
-        if(e.keyName == "back") {
-            try {
-                tizen.application.getCurrentApplication().exit();
-            } catch (error) {
-                console.error("getCurrentApplication(): " + error.message);
-            }
-        }
-    });
-};
-window.onload = init;
-</script>
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_launch.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch_explicit.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch_explicit.html
deleted file mode 100755 (executable)
index 8013411..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_launch.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_failure.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_failure.html
deleted file mode 100755 (executable)
index bd4d597..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_reply_failure.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-  </header>
-
-<script type="text/javascript">
-    var application, request, dataArray, tests = {};
-
-    tests["RequestedApplicationControl_replyFailure"] = function (request) {
-        request.replyFailure();
-    };
-
-    // check only null because not able to invoke replyFailure() multiple times
-    tests["RequestedApplicationControl_replyFailure_extra_argument"] = function (request) {
-        request.replyFailure(null);
-    };
-
-    application = tizen.application.getCurrentApplication();
-    request = application.getRequestedAppControl();
-
-    if (request) {
-        dataArray = request.appControl.data;
-
-        if (dataArray.length > 0 && dataArray[0].key === "testName") {
-            tests[dataArray[0].value[0]](request);
-        } else {
-            request.replyFailure();
-        }
-    } else  {
-        document.getElementById("info").innerHTML="RequestedAppControl not found";
-    }
-
-</script>  
-
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result.html
deleted file mode 100755 (executable)
index c1374c8..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_reply_result.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-  </header>
-
-<script type="text/javascript">
-    var application, request;
-    application = tizen.application.getCurrentApplication();
-    request = application.getRequestedAppControl();
-
-    if (request) {
-        request.replyResult();
-    } else  {
-        document.getElementById("info").innerHTML="RequestedAppControl not found";
-    }
-</script>  
-
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result_with_data.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result_with_data.html
deleted file mode 100755 (executable)
index 839e943..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_reply_result_with_data.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-  </header>
-
-<script type="text/javascript">
-    var application, request;
-    application = tizen.application.getCurrentApplication();
-    request = application.getRequestedAppControl();
-
-    if (request) {
-        request.replyResult(request.appControl.data);
-    } else  {
-        document.getElementById("info").innerHTML="RequestedAppControl not found";
-    }
-</script>  
-
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_run_test.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_run_test.html
deleted file mode 100755 (executable)
index eecbabc..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>appcontrol_run_test</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-    <script src="resources/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-var application, requestedAppControl, testName, resultData;
-
-add_result_callback(function (result) {
-    resultData = [
-        new tizen.ApplicationControlData("status", [result.status]),
-        new tizen.ApplicationControlData("message", [result.message])
-    ];
-
-    requestedAppControl.replyResult(resultData);
-});
-
-application = tizen.application.getCurrentApplication();
-requestedAppControl = application.getRequestedAppControl();
-testName = requestedAppControl.appControl.uri.substring("tct://".length);
-
-document.write("<script language=\"javascript\" src=\"tests/" + testName + ".js\"><\/script>");
-</script>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/config.xml b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/config.xml
deleted file mode 100755 (executable)
index d1d9575..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppControl" version="1.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-        <tizen:uri name="tct"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch_explicit.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch/explicit"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_reply_result.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/reply_result"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_reply_result_with_data.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/reply_result/data"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_reply_failure.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/reply_failure"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_run_test.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/run_test"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="application/javascript"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_exit.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/exit"/>
-    </tizen:app-control>
-    <tizen:application id="api1appli1.TCTAppControl" package="api1appli1" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppControl</name>
-    <tizen:metadata key="testKey1" value="testValue1"/>
-    <tizen:metadata key="testKey2" value="testValue2"/>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/css/style.css b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/index.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/index.html
deleted file mode 100755 (executable)
index 26f0928..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body bgcolor="FFFFFF" >
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/manifest.json b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/manifest.json
deleted file mode 100755 (executable)
index 7eb40b2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppControl", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppControl", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "2.2.1", 
-    "webapimanager": true
-}
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/COPYING b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/COPYING
deleted file mode 100755 (executable)
index bd84625..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-All test files under this folder except COPYING, Makefile.am and blacklist.* come from
-https://github.com/w3c/testharness.js (commit 81649066b179216eed02dfb58f631eb8bb6c7629)
-without any modification besides the necessary adjustment on reference path to test harness
-
-These tests are copyright by W3C and/or the author listed in the test
-file. The tests are dual-licensed under the W3C Test Suite License:
-http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
-and the BSD 3-clause License:
-http://www.w3.org/Consortium/Legal/2008/03-bsd-license
-under W3C's test suite licensing policy:
-http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright
-
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.css b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-html {
-    font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;
-}
-
-#log .warning,
-#log .warning a {
-  color: black;
-  background: yellow;
-}
-
-#log .error,
-#log .error a {
-  color: white;
-  background: red;
-}
-
-#log pre {
-  border: 1px solid black;
-  padding: 1em;
-}
-
-section#summary {
-    margin-bottom:1em;
-}
-
-table#results {
-    border-collapse:collapse;
-    table-layout:fixed;
-    width:100%;
-}
-
-table#results th:first-child,
-table#results td:first-child {
-    width:4em;
-}
-
-table#results th:last-child,
-table#results td:last-child {
-    width:50%;
-}
-
-table#results.assertions th:last-child,
-table#results.assertions td:last-child {
-    width:35%;
-}
-
-table#results th {
-    padding:0;
-    padding-bottom:0.5em;
-    border-bottom:medium solid black;
-}
-
-table#results td {
-    padding:1em;
-    padding-bottom:0.5em;
-    border-bottom:thin solid black;
-}
-
-tr.pass > td:first-child {
-    color:green;
-}
-
-tr.fail > td:first-child {
-    color:red;
-}
-
-tr.timeout > td:first-child {
-    color:red;
-}
-
-tr.notrun > td:first-child {
-    color:blue;
-}
-
-.pass > td:first-child, .fail > td:first-child, .timeout > td:first-child, .notrun > td:first-child {
-    font-variant:small-caps;
-}
-
-table#results span {
-    display:block;
-}
-
-table#results span.expected {
-    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
-    white-space:pre;
-}
-
-table#results span.actual {
-    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
-    white-space:pre;
-}
-
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.js
deleted file mode 100755 (executable)
index 4c77573..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-Distributed under both the W3C Test Suite License [1] and the W3C
-3-clause BSD License [2]. To contribute to a W3C Test Suite, see the
-policies and contribution forms [3].
-
-[1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
-[2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license
-[3] http://www.w3.org/2004/10/27-testcases
-*/
-
-/*
- * == Introduction ==
- *
- * This file provides a framework for writing testcases. It is intended to
- * provide a convenient API for making common assertions, and to work both
- * for testing synchronous and asynchronous DOM features in a way that
- * promotes clear, robust, tests.
- *
- * == Basic Usage ==
- *
- * To use this file, import the script and the testharnessreport script into
- * the test document:
- * <script src="/resources/testharness.js"></script>
- * <script src="/resources/testharnessreport.js"></script>
- *
- * Within each file one may define one or more tests. Each test is atomic
- * in the sense that a single test has a single result (pass/fail/timeout).
- * Within each test one may have a number of asserts. The test fails at the
- * first failing assert, and the remainder of the test is (typically) not run.
- *
- * If the file containing the tests is a HTML file with an element of id "log"
- * this will be populated with a table containing the test results after all
- * the tests have run.
- *
- * NOTE: By default tests must be created before the load event fires. For ways
- *       to create tests after the load event, see "Determining when all tests
- *       are complete", below
- *
- * == Synchronous Tests ==
- *
- * To create a synchronous test use the test() function:
- *
- * test(test_function, name, properties)
- *
- * test_function is a function that contains the code to test. For example a
- * trivial passing test would be:
- *
- * test(function() {assert_true(true)}, "assert_true with true")
- *
- * The function passed in is run in the test() call.
- *
- * properties is an object that overrides default test properties. The
- * recognised properties are:
- *    timeout - the test timeout in ms
- *
- * e.g.
- * test(test_function, "Sample test", {timeout:1000})
- *
- * would run test_function with a timeout of 1s.
- *
- * Additionally, test-specific metadata can be passed in the properties. These
- * are used when the individual test has different metadata from that stored 
- * in the <head>.
- * The recognized metadata properties are:
- *
- *    help - The url of the part of the specification being tested
- *
- *    assert - A human readable description of what the test is attempting 
- *             to prove
- *
- *    author - Name and contact information for the author of the test in the
- *             format: "Name <email_addr>" or "Name http://contact/url"
- *
- * == Asynchronous Tests ==
- *
- * Testing asynchronous features is somewhat more complex since the result of
- * a test may depend on one or more events or other callbacks. The API provided
- * for testing these features is indended to be rather low-level but hopefully
- * applicable to many situations.
- *
- * To create a test, one starts by getting a Test object using async_test:
- *
- * async_test(name, properties)
- *
- * e.g.
- * var t = async_test("Simple async test")
- *
- * Assertions can be added to the test by calling the step method of the test
- * object with a function containing the test assertions:
- *
- * t.step(function() {assert_true(true)});
- *
- * When all the steps are complete, the done() method must be called:
- *
- * t.done();
- *
- * As a convenience, async_test can also takes a function as first argument.
- * This function is called with the test object as both its `this` object and
- * first argument. The above example can be rewritten as:
- *
- * async_test(function(t) {
- *     object.some_event = function() {
- *         t.step(function (){assert_true(true); t.done();});
- *     };
- * }, "Simple async test");
- *
- * which avoids cluttering the global scope with references to async
- * tests instances.
- *
- * The properties argument is identical to that for test().
- *
- * In many cases it is convenient to run a step in response to an event or a
- * callback. A convenient method of doing this is through the step_func method
- * which returns a function that, when called runs a test step. For example
- *
- * object.some_event = t.step_func(function(e) {assert_true(e.a)});
- *
- * == Making assertions ==
- *
- * Functions for making assertions start assert_
- * The best way to get a list is to look in this file for functions names
- * matching that pattern. The general signature is
- *
- * assert_something(actual, expected, description)
- *
- * although not all assertions precisely match this pattern e.g. assert_true
- * only takes actual and description as arguments.
- *
- * The description parameter is used to present more useful error messages when
- * a test fails
- *
- * NOTE: All asserts must be located in a test() or a step of an async_test().
- *       asserts outside these places won't be detected correctly by the harness
- *       and may cause a file to stop testing.
- *
- * == Setup ==
- *
- * Sometimes tests require non-trivial setup that may fail. For this purpose
- * there is a setup() function, that may be called with one or two arguments.
- * The two argument version is:
- *
- * setup(func, properties)
- *
- * The one argument versions may omit either argument.
- * func is a function to be run synchronously. setup() becomes a no-op once
- * any tests have returned results. Properties are global properties of the test
- * harness. Currently recognised properties are:
- *
- * timeout - The time in ms after which the harness should stop waiting for
- *           tests to complete (this is different to the per-test timeout
- *           because async tests do not start their timer until .step is called)
- *
- * explicit_done - Wait for an explicit call to done() before declaring all
- *                 tests complete (see below)
- *
- * output_document - The document to which results should be logged. By default
- *                   this is the current document but could be an ancestor
- *                   document in some cases e.g. a SVG test loaded in an HTML
- *                   wrapper
- *
- * explicit_timeout - disable file timeout; only stop waiting for results
- *                    when the timeout() function is called (typically for
- *                    use when integrating with some existing test framework
- *                    that has its own timeout mechanism).
- *
- * == Determining when all tests are complete ==
- *
- * By default the test harness will assume there are no more results to come
- * when:
- * 1) There are no Test objects that have been created but not completed
- * 2) The load event on the document has fired
- *
- * This behaviour can be overridden by setting the explicit_done property to
- * true in a call to setup(). If explicit_done is true, the test harness will
- * not assume it is done until the global done() function is called. Once done()
- * is called, the two conditions above apply like normal.
- *
- * == Generating tests ==
- *
- * NOTE: this functionality may be removed
- *
- * There are scenarios in which is is desirable to create a large number of
- * (synchronous) tests that are internally similar but vary in the parameters
- * used. To make this easier, the generate_tests function allows a single
- * function to be called with each set of parameters in a list:
- *
- * generate_tests(test_function, parameter_lists, properties)
- *
- * For example:
- *
- * generate_tests(assert_equals, [
- *     ["Sum one and one", 1+1, 2],
- *     ["Sum one and zero", 1+0, 1]
- *     ])
- *
- * Is equivalent to:
- *
- * test(function() {assert_equals(1+1, 2)}, "Sum one and one")
- * test(function() {assert_equals(1+0, 1)}, "Sum one and zero")
- *
- * Note that the first item in each parameter list corresponds to the name of
- * the test.
- *
- * The properties argument is identical to that for test(). This may be a 
- * single object (used for all generated tests) or an array.
- *
- * == Callback API ==
- *
- * The framework provides callbacks corresponding to 3 events:
- *
- * start - happens when the first Test is created
- * result - happens when a test result is recieved
- * complete - happens when all results are recieved
- *
- * The page defining the tests may add callbacks for these events by calling
- * the following methods:
- *
- *   add_start_callback(callback) - callback called with no arguments
- *   add_result_callback(callback) - callback called with a test argument
- *   add_completion_callback(callback) - callback called with an array of tests
- *                                       and an status object
- *
- * tests have the following properties:
- *   status: A status code. This can be compared to the PASS, FAIL, TIMEOUT and
- *           NOTRUN properties on the test object
- *   message: A message indicating the reason for failure. In the future this
- *            will always be a string
- *
- *  The status object gives the overall status of the harness. It has the
- *  following properties:
- *    status: Can be compared to the OK, ERROR and TIMEOUT properties
- *    message: An error message set when the status is ERROR
- *
- * == External API ==
- *
- * In order to collect the results of multiple pages containing tests, the test
- * harness will, when loaded in a nested browsing context, attempt to call
- * certain functions in each ancestor and opener browsing context:
- *
- * start - start_callback
- * result - result_callback
- * complete - completion_callback
- *
- * These are given the same arguments as the corresponding internal callbacks
- * described above.
- *
- * == External API through cross-document messaging ==
- *
- * Where supported, the test harness will also send messages using
- * cross-document messaging to each ancestor and opener browsing context. Since
- * it uses the wildcard keyword (*), cross-origin communication is enabled and
- * script on different origins can collect the results.
- *
- * This API follows similar conventions as those described above only slightly
- * modified to accommodate message event API. Each message is sent by the harness
- * is passed a single vanilla object, available as the `data` property of the
- * event object. These objects are structures as follows:
- *
- * start - { type: "start" }
- * result - { type: "result", test: Test }
- * complete - { type: "complete", tests: [Test, ...], status: TestsStatus }
- *
- * == List of assertions ==
- *
- * assert_true(actual, description)
- *   asserts that /actual/ is strictly true
- *
- * assert_false(actual, description)
- *   asserts that /actual/ is strictly false
- *
- * assert_equals(actual, expected, description)
- *   asserts that /actual/ is the same value as /expected/
- *
- * assert_not_equals(actual, expected, description)
- *   asserts that /actual/ is a different value to /expected/. Yes, this means
- *   that "expected" is a misnomer
- *
- * assert_in_array(actual, expected, description)
- *   asserts that /expected/ is an Array, and /actual/ is equal to one of the
- *   members -- expected.indexOf(actual) != -1
- *
- * assert_array_equals(actual, expected, description)
- *   asserts that /actual/ and /expected/ have the same length and the value of
- *   each indexed property in /actual/ is the strictly equal to the corresponding
- *   property value in /expected/
- *
- * assert_approx_equals(actual, expected, epsilon, description)
- *   asserts that /actual/ is a number within +/- /epsilon/ of /expected/
- *
- * assert_less_than(actual, expected, description)
- *   asserts that /actual/ is a number less than /expected/
- *
- * assert_greater_than(actual, expected, description)
- *   asserts that /actual/ is a number greater than /expected/
- *
- * assert_less_than_equal(actual, expected, description)
- *   asserts that /actual/ is a number less than or equal to /expected/
- *
- * assert_greater_than_equal(actual, expected, description)
- *   asserts that /actual/ is a number greater than or equal to /expected/
- *
- * assert_regexp_match(actual, expected, description)
- *   asserts that /actual/ matches the regexp /expected/
- *
- * assert_class_string(object, class_name, description)
- *   asserts that the class string of /object/ as returned in
- *   Object.prototype.toString is equal to /class_name/.
- *
- * assert_own_property(object, property_name, description)
- *   assert that object has own property property_name
- *
- * assert_inherits(object, property_name, description)
- *   assert that object does not have an own property named property_name
- *   but that property_name is present in the prototype chain for object
- *
- * assert_idl_attribute(object, attribute_name, description)
- *   assert that an object that is an instance of some interface has the
- *   attribute attribute_name following the conditions specified by WebIDL
- *
- * assert_readonly(object, property_name, description)
- *   assert that property property_name on object is readonly
- *
- * assert_throws(code, func, description)
- *   code - the expected exception:
- *     o string: the thrown exception must be a DOMException with the given
- *               name, e.g., "TimeoutError" (for compatibility with existing
- *               tests, a constant is also supported, e.g., "TIMEOUT_ERR")
- *     o object: the thrown exception must have a property called "name" that
- *               matches code.name
- *     o null:   allow any exception (in general, one of the options above
- *               should be used)
- *   func - a function that should throw
- *
- * assert_unreached(description)
- *   asserts if called. Used to ensure that some codepath is *not* taken e.g.
- *   an event does not fire.
- *
- * assert_any(assert_func, actual, expected_array, extra_arg_1, ... extra_arg_N)
- *   asserts that one assert_func(actual, expected_array_N, extra_arg1, ..., extra_arg_N)
- *   is true for some expected_array_N in expected_array. This only works for assert_func
- *   with signature assert_func(actual, expected, args_1, ..., args_N). Note that tests
- *   with multiple allowed pass conditions are bad practice unless the spec specifically
- *   allows multiple behaviours. Test authors should not use this method simply to hide 
- *   UA bugs.
- *
- * assert_exists(object, property_name, description)
- *   *** deprecated ***
- *   asserts that object has an own property property_name
- *
- * assert_not_exists(object, property_name, description)
- *   *** deprecated ***
- *   assert that object does not have own property property_name
- */
-
-(function ()
-{
-    var debug = false;
-    // default timeout is 5 seconds, test can override if needed
-    var settings = {
-      output:true,
-      timeout:5000,
-      test_timeout:2000
-    };
-
-    var xhtml_ns = "http://www.w3.org/1999/xhtml";
-
-    // script_prefix is used by Output.prototype.show_results() to figure out
-    // where to get testharness.css from.  It's enclosed in an extra closure to
-    // not pollute the library's namespace with variables like "src".
-    var script_prefix = null;
-    (function ()
-    {
-        var scripts = document.getElementsByTagName("script");
-        for (var i = 0; i < scripts.length; i++)
-        {
-            if (scripts[i].src)
-            {
-                var src = scripts[i].src;
-            }
-            else if (scripts[i].href)
-            {
-                //SVG case
-                var src = scripts[i].href.baseVal;
-            }
-            if (src && src.slice(src.length - "testharness.js".length) === "testharness.js")
-            {
-                script_prefix = src.slice(0, src.length - "testharness.js".length);
-                break;
-            }
-        }
-    })();
-
-    /*
-     * API functions
-     */
-
-    var name_counter = 0;
-    function next_default_name()
-    {
-        //Don't use document.title to work around an Opera bug in XHTML documents
-        var prefix = document.getElementsByTagName("title").length > 0 ?
-                         document.getElementsByTagName("title")[0].firstChild.data :
-                         "Untitled";
-        var suffix = name_counter > 0 ? " " + name_counter : "";
-        name_counter++;
-        return prefix + suffix;
-    }
-
-    function test(func, name, properties)
-    {
-        var test_name = name ? name : next_default_name();
-        properties = properties ? properties : {};
-        var test_obj = new Test(test_name, properties);
-        test_obj.step(func);
-        if (test_obj.status === test_obj.NOTRUN) {
-            test_obj.done();
-        }
-    }
-
-    function async_test(func, name, properties)
-    {
-        if (typeof func !== "function") {
-            properties = name;
-            name = func;
-            func = null;
-        }
-        var test_name = name ? name : next_default_name();
-        properties = properties ? properties : {};
-        var test_obj = new Test(test_name, properties);
-        if (func) {
-            test_obj.step(func, test_obj, test_obj);
-        }
-        return test_obj;
-    }
-
-    function setup(func_or_properties, maybe_properties)
-    {
-        var func = null;
-        var properties = {};
-        if (arguments.length === 2) {
-            func = func_or_properties;
-            properties = maybe_properties;
-        } else if (func_or_properties instanceof Function){
-            func = func_or_properties;
-        } else {
-            properties = func_or_properties;
-        }
-        tests.setup(func, properties);
-        output.setup(properties);
-    }
-
-    function done() {
-        tests.end_wait();
-    }
-
-    function generate_tests(func, args, properties) {
-        forEach(args, function(x, i)
-                {
-                    var name = x[0];
-                    test(function()
-                         {
-                             func.apply(this, x.slice(1));
-                         }, 
-                         name, 
-                         Array.isArray(properties) ? properties[i] : properties);
-                });
-    }
-
-    function on_event(object, event, callback)
-    {
-      object.addEventListener(event, callback, false);
-    }
-
-    expose(test, 'test');
-    expose(async_test, 'async_test');
-    expose(generate_tests, 'generate_tests');
-    expose(setup, 'setup');
-    expose(done, 'done');
-    expose(on_event, 'on_event');
-
-    /*
-     * Return a string truncated to the given length, with ... added at the end
-     * if it was longer.
-     */
-    function truncate(s, len)
-    {
-        if (s.length > len) {
-            return s.substring(0, len - 3) + "...";
-        }
-        return s;
-    }
-
-    /*
-     * Convert a value to a nice, human-readable string
-     */
-    function format_value(val)
-    {
-        if (Array.isArray(val))
-        {
-            return "[" + val.map(format_value).join(", ") + "]";
-        }
-
-        switch (typeof val)
-        {
-        case "string":
-            val = val.replace("\\", "\\\\");
-            for (var i = 0; i < 32; i++)
-            {
-                var replace = "\\";
-                switch (i) {
-                case 0: replace += "0"; break;
-                case 1: replace += "x01"; break;
-                case 2: replace += "x02"; break;
-                case 3: replace += "x03"; break;
-                case 4: replace += "x04"; break;
-                case 5: replace += "x05"; break;
-                case 6: replace += "x06"; break;
-                case 7: replace += "x07"; break;
-                case 8: replace += "b"; break;
-                case 9: replace += "t"; break;
-                case 10: replace += "n"; break;
-                case 11: replace += "v"; break;
-                case 12: replace += "f"; break;
-                case 13: replace += "r"; break;
-                case 14: replace += "x0e"; break;
-                case 15: replace += "x0f"; break;
-                case 16: replace += "x10"; break;
-                case 17: replace += "x11"; break;
-                case 18: replace += "x12"; break;
-                case 19: replace += "x13"; break;
-                case 20: replace += "x14"; break;
-                case 21: replace += "x15"; break;
-                case 22: replace += "x16"; break;
-                case 23: replace += "x17"; break;
-                case 24: replace += "x18"; break;
-                case 25: replace += "x19"; break;
-                case 26: replace += "x1a"; break;
-                case 27: replace += "x1b"; break;
-                case 28: replace += "x1c"; break;
-                case 29: replace += "x1d"; break;
-                case 30: replace += "x1e"; break;
-                case 31: replace += "x1f"; break;
-                }
-                val = val.replace(RegExp(String.fromCharCode(i), "g"), replace);
-            }
-            return '"' + val.replace(/"/g, '\\"') + '"';
-        case "boolean":
-        case "undefined":
-            return String(val);
-        case "number":
-            // In JavaScript, -0 === 0 and String(-0) == "0", so we have to
-            // special-case.
-            if (val === -0 && 1/val === -Infinity)
-            {
-                return "-0";
-            }
-            return String(val);
-        case "object":
-            if (val === null)
-            {
-                return "null";
-            }
-
-            // Special-case Node objects, since those come up a lot in my tests.  I
-            // ignore namespaces.  I use duck-typing instead of instanceof, because
-            // instanceof doesn't work if the node is from another window (like an
-            // iframe's contentWindow):
-            // http://www.w3.org/Bugs/Public/show_bug.cgi?id=12295
-            if ("nodeType" in val
-            && "nodeName" in val
-            && "nodeValue" in val
-            && "childNodes" in val)
-            {
-                switch (val.nodeType)
-                {
-                case Node.ELEMENT_NODE:
-                    var ret = "<" + val.tagName.toLowerCase();
-                    for (var i = 0; i < val.attributes.length; i++)
-                    {
-                        ret += " " + val.attributes[i].name + '="' + val.attributes[i].value + '"';
-                    }
-                    ret += ">" + val.innerHTML + "</" + val.tagName.toLowerCase() + ">";
-                    return "Element node " + truncate(ret, 60);
-                case Node.TEXT_NODE:
-                    return 'Text node "' + truncate(val.data, 60) + '"';
-                case Node.PROCESSING_INSTRUCTION_NODE:
-                    return "ProcessingInstruction node with target " + format_value(truncate(val.target, 60)) + " and data " + format_value(truncate(val.data, 60));
-                case Node.COMMENT_NODE:
-                    return "Comment node <!--" + truncate(val.data, 60) + "-->";
-                case Node.DOCUMENT_NODE:
-                    return "Document node with " + val.childNodes.length + (val.childNodes.length == 1 ? " child" : " children");
-                case Node.DOCUMENT_TYPE_NODE:
-                    return "DocumentType node";
-                case Node.DOCUMENT_FRAGMENT_NODE:
-                    return "DocumentFragment node with " + val.childNodes.length + (val.childNodes.length == 1 ? " child" : " children");
-                default:
-                    return "Node object of unknown type";
-                }
-            }
-
-            // Fall through to default
-        default:
-            return typeof val + ' "' + truncate(String(val), 60) + '"';
-        }
-    }
-    expose(format_value, "format_value");
-
-    /*
-     * Assertions
-     */
-
-    function assert_true(actual, description)
-    {
-        assert(actual === true, "assert_true", description,
-                                "expected true got ${actual}", {actual:actual});
-    };
-    expose(assert_true, "assert_true");
-
-    function assert_false(actual, description)
-    {
-        assert(actual === false, "assert_false", description,
-                                 "expected false got ${actual}", {actual:actual});
-    };
-    expose(assert_false, "assert_false");
-
-    function same_value(x, y) {
-        if (y !== y)
-        {
-            //NaN case
-            return x !== x;
-        }
-        else if (x === 0 && y === 0) {
-            //Distinguish +0 and -0
-            return 1/x === 1/y;
-        }
-        else
-        {
-            //typical case
-            return x === y;
-        }
-    }
-
-    function assert_equals(actual, expected, description)
-    {
-         /*
-          * Test if two primitives are equal or two objects
-          * are the same object
-          */
-        if (typeof actual != typeof expected)
-        {
-            assert(false, "assert_equals", description,
-                          "expected (" + typeof expected + ") ${expected} but got (" + typeof actual + ") ${actual}",
-                          {expected:expected, actual:actual});
-            return;
-        }
-        assert(same_value(actual, expected), "assert_equals", description,
-                                             "expected ${expected} but got ${actual}",
-                                             {expected:expected, actual:actual});
-    };
-    expose(assert_equals, "assert_equals");
-
-    function assert_not_equals(actual, expected, description)
-    {
-         /*
-          * Test if two primitives are unequal or two objects
-          * are different objects
-          */
-        assert(!same_value(actual, expected), "assert_not_equals", description,
-                                              "got disallowed value ${actual}",
-                                              {actual:actual});
-    };
-    expose(assert_not_equals, "assert_not_equals");
-
-    function assert_in_array(actual, expected, description)
-    {
-        assert(expected.indexOf(actual) != -1, "assert_in_array", description,
-                                               "value ${actual} not in array ${expected}",
-                                               {actual:actual, expected:expected});
-    }
-    expose(assert_in_array, "assert_in_array");
-
-    function assert_object_equals(actual, expected, description)
-    {
-         //This needs to be improved a great deal
-         function check_equal(actual, expected, stack)
-         {
-             stack.push(actual);
-
-             var p;
-             for (p in actual)
-             {
-                 assert(expected.hasOwnProperty(p), "assert_object_equals", description,
-                                                    "unexpected property ${p}", {p:p});
-
-                 if (typeof actual[p] === "object" && actual[p] !== null)
-                 {
-                     if (stack.indexOf(actual[p]) === -1)
-                     {
-                         check_equal(actual[p], expected[p], stack);
-                     }
-                 }
-                 else
-                 {
-                     assert(same_value(actual[p], expected[p]), "assert_object_equals", description,
-                                                       "property ${p} expected ${expected} got ${actual}",
-                                                       {p:p, expected:expected, actual:actual});
-                 }
-             }
-             for (p in expected)
-             {
-                 assert(actual.hasOwnProperty(p),
-                        "assert_object_equals", description,
-                        "expected property ${p} missing", {p:p});
-             }
-             stack.pop();
-         }
-         check_equal(actual, expected, []);
-    };
-    expose(assert_object_equals, "assert_object_equals");
-
-    function assert_array_equals(actual, expected, description)
-    {
-        assert(actual.length === expected.length,
-               "assert_array_equals", description,
-               "lengths differ, expected ${expected} got ${actual}",
-               {expected:expected.length, actual:actual.length});
-
-        for (var i=0; i < actual.length; i++)
-        {
-            assert(actual.hasOwnProperty(i) === expected.hasOwnProperty(i),
-                   "assert_array_equals", description,
-                   "property ${i}, property expected to be $expected but was $actual",
-                   {i:i, expected:expected.hasOwnProperty(i) ? "present" : "missing",
-                   actual:actual.hasOwnProperty(i) ? "present" : "missing"});
-            assert(same_value(expected[i], actual[i]),
-                   "assert_array_equals", description,
-                   "property ${i}, expected ${expected} but got ${actual}",
-                   {i:i, expected:expected[i], actual:actual[i]});
-        }
-    }
-    expose(assert_array_equals, "assert_array_equals");
-
-    function assert_approx_equals(actual, expected, epsilon, description)
-    {
-        /*
-         * Test if two primitive numbers are equal withing +/- epsilon
-         */
-        assert(typeof actual === "number",
-               "assert_approx_equals", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(Math.abs(actual - expected) <= epsilon,
-               "assert_approx_equals", description,
-               "expected ${expected} +/- ${epsilon} but got ${actual}",
-               {expected:expected, actual:actual, epsilon:epsilon});
-    };
-    expose(assert_approx_equals, "assert_approx_equals");
-
-    function assert_less_than(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is less than another
-         */
-        assert(typeof actual === "number",
-               "assert_less_than", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual < expected,
-               "assert_less_than", description,
-               "expected a number less than ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_less_than, "assert_less_than");
-
-    function assert_greater_than(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is greater than another
-         */
-        assert(typeof actual === "number",
-               "assert_greater_than", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual > expected,
-               "assert_greater_than", description,
-               "expected a number greater than ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_greater_than, "assert_greater_than");
-
-    function assert_less_than_equal(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is less than or equal to another
-         */
-        assert(typeof actual === "number",
-               "assert_less_than_equal", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual <= expected,
-               "assert_less_than", description,
-               "expected a number less than or equal to ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_less_than_equal, "assert_less_than_equal");
-
-    function assert_greater_than_equal(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is greater than or equal to another
-         */
-        assert(typeof actual === "number",
-               "assert_greater_than_equal", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual >= expected,
-               "assert_greater_than_equal", description,
-               "expected a number greater than or equal to ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_greater_than_equal, "assert_greater_than_equal");
-
-    function assert_regexp_match(actual, expected, description) {
-        /*
-         * Test if a string (actual) matches a regexp (expected)
-         */
-        assert(expected.test(actual),
-               "assert_regexp_match", description,
-               "expected ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    }
-    expose(assert_regexp_match, "assert_regexp_match");
-
-    function assert_class_string(object, class_string, description) {
-        assert_equals({}.toString.call(object), "[object " + class_string + "]",
-                      description);
-    }
-    expose(assert_class_string, "assert_class_string");
-
-
-    function _assert_own_property(name) {
-        return function(object, property_name, description)
-        {
-            assert(property_name in object,
-                   name, description,
-                   "expected property ${p} missing", {p:property_name});
-        };
-    }
-    expose(_assert_own_property("assert_exists"), "assert_exists");
-    expose(_assert_own_property("assert_own_property"), "assert_own_property");
-
-    function assert_not_exists(object, property_name, description)
-    {
-        assert(!object.hasOwnProperty(property_name),
-               "assert_not_exists", description,
-               "unexpected property ${p} found", {p:property_name});
-    };
-    expose(assert_not_exists, "assert_not_exists");
-
-    function _assert_inherits(name) {
-        return function (object, property_name, description)
-        {
-            assert(typeof object === "object",
-                   name, description,
-                   "provided value is not an object");
-
-            assert("hasOwnProperty" in object,
-                   name, description,
-                   "provided value is an object but has no hasOwnProperty method");
-
-            assert(!object.hasOwnProperty(property_name),
-                   name, description,
-                   "property ${p} found on object expected in prototype chain",
-                   {p:property_name});
-
-            assert(property_name in object,
-                   name, description,
-                   "property ${p} not found in prototype chain",
-                   {p:property_name});
-        };
-    }
-    expose(_assert_inherits("assert_inherits"), "assert_inherits");
-    expose(_assert_inherits("assert_idl_attribute"), "assert_idl_attribute");
-
-    function assert_readonly(object, property_name, description)
-    {
-         var initial_value = object[property_name];
-         try {
-             //Note that this can have side effects in the case where
-             //the property has PutForwards
-             object[property_name] = initial_value + "a"; //XXX use some other value here?
-             assert(same_value(object[property_name], initial_value),
-                    "assert_readonly", description,
-                    "changing property ${p} succeeded",
-                    {p:property_name});
-         }
-         finally
-         {
-             object[property_name] = initial_value;
-         }
-    };
-    expose(assert_readonly, "assert_readonly");
-
-    function assert_throws(code, func, description)
-    {
-        try
-        {
-            func.call(this);
-            assert(false, "assert_throws", description,
-                   "${func} did not throw", {func:func});
-        }
-        catch(e)
-        {
-            if (e instanceof AssertionError) {
-                throw(e);
-            }
-            if (code === null)
-            {
-                return;
-            }
-            if (typeof code === "object")
-            {
-                assert(typeof e == "object" && "name" in e && e.name == code.name,
-                       "assert_throws", description,
-                       "${func} threw ${actual} (${actual_name}) expected ${expected} (${expected_name})",
-                                    {func:func, actual:e, actual_name:e.name,
-                                     expected:code,
-                                     expected_name:code.name});
-                return;
-            }
-
-            var code_name_map = {
-                INDEX_SIZE_ERR: 'IndexSizeError',
-                HIERARCHY_REQUEST_ERR: 'HierarchyRequestError',
-                WRONG_DOCUMENT_ERR: 'WrongDocumentError',
-                INVALID_CHARACTER_ERR: 'InvalidCharacterError',
-                NO_MODIFICATION_ALLOWED_ERR: 'NoModificationAllowedError',
-                NOT_FOUND_ERR: 'NotFoundError',
-                NOT_SUPPORTED_ERR: 'NotSupportedError',
-                INVALID_STATE_ERR: 'InvalidStateError',
-                SYNTAX_ERR: 'SyntaxError',
-                INVALID_MODIFICATION_ERR: 'InvalidModificationError',
-                NAMESPACE_ERR: 'NamespaceError',
-                INVALID_ACCESS_ERR: 'InvalidAccessError',
-                TYPE_MISMATCH_ERR: 'TypeMismatchError',
-                SECURITY_ERR: 'SecurityError',
-                NETWORK_ERR: 'NetworkError',
-                ABORT_ERR: 'AbortError',
-                URL_MISMATCH_ERR: 'URLMismatchError',
-                QUOTA_EXCEEDED_ERR: 'QuotaExceededError',
-                TIMEOUT_ERR: 'TimeoutError',
-                INVALID_NODE_TYPE_ERR: 'InvalidNodeTypeError',
-                DATA_CLONE_ERR: 'DataCloneError'
-            };
-
-            var name = code in code_name_map ? code_name_map[code] : code;
-
-            var name_code_map = {
-                IndexSizeError: 1,
-                HierarchyRequestError: 3,
-                WrongDocumentError: 4,
-                InvalidCharacterError: 5,
-                NoModificationAllowedError: 7,
-                NotFoundError: 8,
-                NotSupportedError: 9,
-                InvalidStateError: 11,
-                SyntaxError: 12,
-                InvalidModificationError: 13,
-                NamespaceError: 14,
-                InvalidAccessError: 15,
-                TypeMismatchError: 17,
-                SecurityError: 18,
-                NetworkError: 19,
-                AbortError: 20,
-                URLMismatchError: 21,
-                QuotaExceededError: 22,
-                TimeoutError: 23,
-                InvalidNodeTypeError: 24,
-                DataCloneError: 25,
-
-                UnknownError: 0,
-                ConstraintError: 0,
-                DataError: 0,
-                TransactionInactiveError: 0,
-                ReadOnlyError: 0,
-                VersionError: 0
-            };
-
-            if (!(name in name_code_map))
-            {
-                throw new AssertionError('Test bug: unrecognized DOMException code "' + code + '" passed to assert_throws()');
-            }
-
-            var required_props = { code: name_code_map[name] };
-
-            if (required_props.code === 0
-            || ("name" in e && e.name !== e.name.toUpperCase() && e.name !== "DOMException"))
-            {
-                // New style exception: also test the name property.
-                required_props.name = name;
-            }
-
-            //We'd like to test that e instanceof the appropriate interface,
-            //but we can't, because we don't know what window it was created
-            //in.  It might be an instanceof the appropriate interface on some
-            //unknown other window.  TODO: Work around this somehow?
-
-            assert(typeof e == "object",
-                   "assert_throws", description,
-                   "${func} threw ${e} with type ${type}, not an object",
-                   {func:func, e:e, type:typeof e});
-
-            for (var prop in required_props)
-            {
-                assert(typeof e == "object" && prop in e && e[prop] == required_props[prop],
-                       "assert_throws", description,
-                       "${func} threw ${e} that is not a DOMException " + code + ": property ${prop} is equal to ${actual}, expected ${expected}",
-                       {func:func, e:e, prop:prop, actual:e[prop], expected:required_props[prop]});
-            }
-        }
-    }
-    expose(assert_throws, "assert_throws");
-
-    function assert_unreached(description) {
-         assert(false, "assert_unreached", description,
-                "Reached unreachable code");
-    }
-    expose(assert_unreached, "assert_unreached");
-
-    function assert_any(assert_func, actual, expected_array) 
-    {
-        var args = [].slice.call(arguments, 3)
-        var errors = []
-        var passed = false;
-        forEach(expected_array, 
-                function(expected)
-                {
-                    try {
-                        assert_func.apply(this, [actual, expected].concat(args))
-                        passed = true;
-                    } catch(e) {
-                        errors.push(e.message);
-                    }
-                });
-        if (!passed) {
-            throw new AssertionError(errors.join("\n\n"));
-        }
-    }
-    expose(assert_any, "assert_any");
-
-    function Test(name, properties)
-    {
-        this.name = name;
-        this.status = this.NOTRUN;
-        this.timeout_id = null;
-        this.is_done = false;
-
-        this.properties = properties;
-        this.timeout_length = properties.timeout ? properties.timeout : settings.test_timeout;
-
-        this.message = null;
-
-        var this_obj = this;
-        this.steps = [];
-
-        tests.push(this);
-    }
-
-    Test.statuses = {
-        PASS:0,
-        FAIL:1,
-        TIMEOUT:2,
-        NOTRUN:3
-    };
-
-    Test.prototype = merge({}, Test.statuses);
-
-    Test.prototype.structured_clone = function()
-    {
-        if(!this._structured_clone)
-        {
-            var msg = this.message;
-            msg = msg ? String(msg) : msg;
-            this._structured_clone = merge({
-                name:String(this.name),
-                status:this.status,
-                message:msg
-            }, Test.statuses);
-        }
-        return this._structured_clone;
-    };
-
-    Test.prototype.step = function(func, this_obj)
-    {
-        //In case the test has already failed
-        if (this.status !== this.NOTRUN)
-        {
-          return;
-        }
-
-        tests.started = true;
-
-        if (this.timeout_id === null) {
-            this.set_timeout();
-        }
-
-        this.steps.push(func);
-
-        if (arguments.length === 1)
-        {
-            this_obj = this;
-        }
-
-        try
-        {
-            return func.apply(this_obj, Array.prototype.slice.call(arguments, 2));
-        }
-        catch(e)
-        {
-            //This can happen if something called synchronously invoked another
-            //step
-            if (this.status !== this.NOTRUN)
-            {
-                return;
-            }
-            this.status = this.FAIL;
-            this.message = (typeof e === "object" && e !== null) ? e.message : e;
-            if (typeof e.stack != "undefined" && typeof e.message == "string") {
-                //Try to make it more informative for some exceptions, at least
-                //in Gecko and WebKit.  This results in a stack dump instead of
-                //just errors like "Cannot read property 'parentNode' of null"
-                //or "root is null".  Makes it a lot longer, of course.
-                this.message += "(stack: " + e.stack + ")";
-            }
-            this.done();
-            if (debug && e.constructor !== AssertionError) {
-                throw e;
-            }
-        }
-    };
-
-    Test.prototype.step_func = function(func, this_obj)
-    {
-        var test_this = this;
-
-        if (arguments.length === 1)
-        {
-            this_obj = test_this;
-        }
-
-        return function()
-        {
-            test_this.step.apply(test_this, [func, this_obj].concat(
-                Array.prototype.slice.call(arguments)));
-        };
-    };
-
-    Test.prototype.step_func_done = function(func, this_obj)
-    {
-        var test_this = this;
-
-        if (arguments.length === 1)
-        {
-            this_obj = test_this;
-        }
-
-        return function()
-        {
-            test_this.step.apply(test_this, [func, this_obj].concat(
-                Array.prototype.slice.call(arguments)));
-            test_this.done();
-        };
-    };
-
-    Test.prototype.set_timeout = function()
-    {
-        var this_obj = this;
-        this.timeout_id = setTimeout(function()
-                                     {
-                                         this_obj.timeout();
-                                     }, this.timeout_length);
-    };
-
-    Test.prototype.timeout = function()
-    {
-        this.status = this.TIMEOUT;
-        this.timeout_id = null;
-        this.message = "Test timed out";
-        this.done();
-    };
-
-    Test.prototype.done = function()
-    {
-        if (this.is_done) {
-            return;
-        }
-        clearTimeout(this.timeout_id);
-        if (this.status === this.NOTRUN)
-        {
-            this.status = this.PASS;
-        }
-        this.is_done = true;
-        tests.result(this);
-    };
-
-
-    /*
-     * Harness
-     */
-
-    function TestsStatus()
-    {
-        this.status = null;
-        this.message = null;
-    }
-
-    TestsStatus.statuses = {
-        OK:0,
-        ERROR:1,
-        TIMEOUT:2
-    };
-
-    TestsStatus.prototype = merge({}, TestsStatus.statuses);
-
-    TestsStatus.prototype.structured_clone = function()
-    {
-        if(!this._structured_clone)
-        {
-            var msg = this.message;
-            msg = msg ? String(msg) : msg;
-            this._structured_clone = merge({
-                status:this.status,
-                message:msg
-            }, TestsStatus.statuses);
-        }
-        return this._structured_clone;
-    };
-
-    function Tests()
-    {
-        this.tests = [];
-        this.num_pending = 0;
-
-        this.phases = {
-            INITIAL:0,
-            SETUP:1,
-            HAVE_TESTS:2,
-            HAVE_RESULTS:3,
-            COMPLETE:4
-        };
-        this.phase = this.phases.INITIAL;
-
-        this.properties = {};
-
-        //All tests can't be done until the load event fires
-        this.all_loaded = false;
-        this.wait_for_finish = false;
-        this.processing_callbacks = false;
-
-        this.timeout_length = settings.timeout;
-        this.timeout_id = null;
-
-        this.start_callbacks = [];
-        this.test_done_callbacks = [];
-        this.all_done_callbacks = [];
-
-        this.status = new TestsStatus();
-
-        var this_obj = this;
-
-        on_event(window, "load",
-                 function()
-                 {
-                     this_obj.all_loaded = true;
-                     if (this_obj.all_done())
-                     {
-                         this_obj.complete();
-                     }
-                 });
-
-        this.set_timeout();
-    }
-
-    Tests.prototype.setup = function(func, properties)
-    {
-        if (this.phase >= this.phases.HAVE_RESULTS)
-        {
-            return;
-        }
-        if (this.phase < this.phases.SETUP)
-        {
-            this.phase = this.phases.SETUP;
-        }
-
-        for (var p in properties)
-        {
-            if (properties.hasOwnProperty(p))
-            {
-                this.properties[p] = properties[p];
-            }
-        }
-
-        if (properties.timeout)
-        {
-            this.timeout_length = properties.timeout;
-        }
-        if (properties.explicit_done)
-        {
-            this.wait_for_finish = true;
-        }
-        if (properties.explicit_timeout) {
-            this.timeout_length = null;
-        }
-
-        if (func)
-        {
-            try
-            {
-                func();
-            } catch(e)
-            {
-                this.status.status = this.status.ERROR;
-                this.status.message = e;
-            };
-        }
-        this.set_timeout();
-    };
-
-    Tests.prototype.set_timeout = function()
-    {
-        var this_obj = this;
-        clearTimeout(this.timeout_id);
-        if (this.timeout_length !== null)
-        {
-            this.timeout_id = setTimeout(function() {
-                                             this_obj.timeout();
-                                         }, this.timeout_length);
-        }
-    };
-
-    Tests.prototype.timeout = function() {
-        this.status.status = this.status.TIMEOUT;
-        this.complete();
-    };
-
-    Tests.prototype.end_wait = function()
-    {
-        this.wait_for_finish = false;
-        if (this.all_done()) {
-            this.complete();
-        }
-    };
-
-    Tests.prototype.push = function(test)
-    {
-        if (this.phase < this.phases.HAVE_TESTS) {
-            this.start();
-        }
-        this.num_pending++;
-        this.tests.push(test);
-    };
-
-    Tests.prototype.all_done = function() {
-        return (this.all_loaded && this.num_pending === 0 &&
-                !this.wait_for_finish && !this.processing_callbacks);
-    };
-
-    Tests.prototype.start = function() {
-        this.phase = this.phases.HAVE_TESTS;
-        this.notify_start();
-    };
-
-    Tests.prototype.notify_start = function() {
-        var this_obj = this;
-        forEach (this.start_callbacks,
-                 function(callback)
-                 {
-                     callback(this_obj.properties);
-                 });
-        forEach_windows(
-                function(w, is_same_origin)
-                {
-                    if(is_same_origin && w.start_callback)
-                    {
-                        try
-                        {
-                            w.start_callback(this_obj.properties);
-                        }
-                        catch(e)
-                        {
-                            if (debug)
-                            {
-                                throw(e);
-                            }
-                        }
-                    }
-                    if (supports_post_message(w) && w !== self)
-                    {
-                        w.postMessage({
-                            type: "start",
-                            properties: this_obj.properties
-                        }, "*");
-                    }
-                });
-    };
-
-    Tests.prototype.result = function(test)
-    {
-        if (this.phase > this.phases.HAVE_RESULTS)
-        {
-            return;
-        }
-        this.phase = this.phases.HAVE_RESULTS;
-        this.num_pending--;
-        this.notify_result(test);
-    };
-
-    Tests.prototype.notify_result = function(test) {
-        var this_obj = this;
-        this.processing_callbacks = true;
-        forEach(this.test_done_callbacks,
-                function(callback)
-                {
-                    callback(test, this_obj);
-                });
-
-        forEach_windows(
-                function(w, is_same_origin)
-                {
-                    if(is_same_origin && w.result_callback)
-                    {
-                        try
-                        {
-                            w.result_callback(test);
-                        }
-                        catch(e)
-                        {
-                            if(debug) {
-                                throw e;
-                            }
-                        }
-                    }
-                    if (supports_post_message(w) && w !== self)
-                    {
-                        w.postMessage({
-                            type: "result",
-                            test: test.structured_clone()
-                        }, "*");
-                    }
-                });
-        this.processing_callbacks = false;
-        if (this_obj.all_done())
-        {
-            this_obj.complete();
-        }
-    };
-
-    Tests.prototype.complete = function() {
-        if (this.phase === this.phases.COMPLETE) {
-            return;
-        }
-        this.phase = this.phases.COMPLETE;
-        var this_obj = this;
-        this.tests.forEach(
-            function(x)
-            {
-                if(x.status === x.NOTRUN)
-                {
-                    this_obj.notify_result(x);
-                }
-            }
-        );
-        this.notify_complete();
-    };
-
-    Tests.prototype.notify_complete = function()
-    {
-        clearTimeout(this.timeout_id);
-        var this_obj = this;
-        var tests = map(this_obj.tests,
-                        function(test)
-                        {
-                            return test.structured_clone();
-                        });
-        if (this.status.status === null)
-        {
-            this.status.status = this.status.OK;
-        }
-
-        forEach (this.all_done_callbacks,
-                 function(callback)
-                 {
-                     callback(this_obj.tests, this_obj.status);
-                 });
-
-        forEach_windows(
-                function(w, is_same_origin)
-                {
-                    if(is_same_origin && w.completion_callback)
-                    {
-                        try
-                        {
-                            w.completion_callback(this_obj.tests, this_obj.status);
-                        }
-                        catch(e)
-                        {
-                            if (debug)
-                            {
-                                throw e;
-                            }
-                        }
-                    }
-                    if (supports_post_message(w) && w !== self)
-                    {
-                        w.postMessage({
-                            type: "complete",
-                            tests: tests,
-                            status: this_obj.status.structured_clone()
-                        }, "*");
-                    }
-                });
-    };
-
-    var tests = new Tests();
-
-    function timeout() {
-        if (tests.timeout_length === null)
-        {
-            tests.timeout();
-        }
-    }
-    expose(timeout, 'timeout');
-
-    function add_start_callback(callback) {
-        tests.start_callbacks.push(callback);
-    }
-
-    function add_result_callback(callback)
-    {
-        tests.test_done_callbacks.push(callback);
-    }
-
-    function add_completion_callback(callback)
-    {
-       tests.all_done_callbacks.push(callback);
-    }
-
-    expose(add_start_callback, 'add_start_callback');
-    expose(add_result_callback, 'add_result_callback');
-    expose(add_completion_callback, 'add_completion_callback');
-
-    /*
-     * Output listener
-    */
-
-    function Output() {
-      this.output_document = document;
-      this.output_node = null;
-      this.done_count = 0;
-      this.enabled = settings.output;
-      this.phase = this.INITIAL;
-    }
-
-    Output.prototype.INITIAL = 0;
-    Output.prototype.STARTED = 1;
-    Output.prototype.HAVE_RESULTS = 2;
-    Output.prototype.COMPLETE = 3;
-
-    Output.prototype.setup = function(properties) {
-        if (this.phase > this.INITIAL) {
-            return;
-        }
-
-        //If output is disabled in testharnessreport.js the test shouldn't be
-        //able to override that
-        this.enabled = this.enabled && (properties.hasOwnProperty("output") ?
-                                        properties.output : settings.output);
-    };
-
-    Output.prototype.init = function(properties)
-    {
-        if (this.phase >= this.STARTED) {
-            return;
-        }
-        if (properties.output_document) {
-            this.output_document = properties.output_document;
-        } else {
-            this.output_document = document;
-        }
-        this.phase = this.STARTED;
-    };
-
-    Output.prototype.resolve_log = function()
-    {
-        var output_document;
-        if (typeof this.output_document === "function")
-        {
-            output_document = this.output_document.apply(undefined);
-        } else
-        {
-            output_document = this.output_document;
-        }
-        if (!output_document)
-        {
-            return;
-        }
-        var node = output_document.getElementById("log");
-        if (node)
-        {
-            this.output_document = output_document;
-            this.output_node = node;
-        }
-    };
-
-    Output.prototype.show_status = function(test)
-    {
-        if (this.phase < this.STARTED)
-        {
-            this.init();
-        }
-        if (!this.enabled)
-        {
-            return;
-        }
-        if (this.phase < this.HAVE_RESULTS)
-        {
-            this.resolve_log();
-            this.phase = this.HAVE_RESULTS;
-        }
-        this.done_count++;
-        if (this.output_node)
-        {
-            if (this.done_count < 100
-            || (this.done_count < 1000 && this.done_count % 100 == 0)
-            || this.done_count % 1000 == 0) {
-                this.output_node.textContent = "Running, "
-                    + this.done_count + " complete, "
-                    + tests.num_pending + " remain";
-            }
-        }
-    };
-
-    Output.prototype.show_results = function (tests, harness_status)
-    {
-        if (this.phase >= this.COMPLETE) {
-            return;
-        }
-        if (!this.enabled)
-        {
-            return;
-        }
-        if (!this.output_node) {
-            this.resolve_log();
-        }
-        this.phase = this.COMPLETE;
-
-        var log = this.output_node;
-        if (!log)
-        {
-            return;
-        }
-        var output_document = this.output_document;
-
-        while (log.lastChild)
-        {
-            log.removeChild(log.lastChild);
-        }
-
-        if (script_prefix != null) {
-            var stylesheet = output_document.createElementNS(xhtml_ns, "link");
-            stylesheet.setAttribute("rel", "stylesheet");
-            stylesheet.setAttribute("href", script_prefix + "testharness.css");
-            var heads = output_document.getElementsByTagName("head");
-            if (heads.length) {
-                heads[0].appendChild(stylesheet);
-            }
-        }
-
-        var status_text = {};
-        status_text[Test.prototype.PASS] = "Pass";
-        status_text[Test.prototype.FAIL] = "Fail";
-        status_text[Test.prototype.TIMEOUT] = "Timeout";
-        status_text[Test.prototype.NOTRUN] = "Not Run";
-
-        var status_number = {};
-        forEach(tests, function(test) {
-                    var status = status_text[test.status];
-                    if (status_number.hasOwnProperty(status))
-                    {
-                        status_number[status] += 1;
-                    } else {
-                        status_number[status] = 1;
-                    }
-                });
-
-        function status_class(status)
-        {
-            return status.replace(/\s/g, '').toLowerCase();
-        }
-
-        var summary_template = ["section", {"id":"summary"},
-                                ["h2", {}, "Summary"],
-                                ["p", {}, "Found ${num_tests} tests"],
-                                function(vars) {
-                                    var rv = [["div", {}]];
-                                    var i=0;
-                                    while (status_text.hasOwnProperty(i)) {
-                                        if (status_number.hasOwnProperty(status_text[i])) {
-                                            var status = status_text[i];
-                                            rv[0].push(["div", {"class":status_class(status)},
-                                                        ["label", {},
-                                                         ["input", {type:"checkbox", checked:"checked"}],
-                                                         status_number[status] + " " + status]]);
-                                        }
-                                        i++;
-                                    }
-                                    return rv;
-                                }];
-
-        log.appendChild(render(summary_template, {num_tests:tests.length}, output_document));
-
-        forEach(output_document.querySelectorAll("section#summary label"),
-                function(element)
-                {
-                    on_event(element, "click",
-                             function(e)
-                             {
-                                 if (output_document.getElementById("results") === null)
-                                 {
-                                     e.preventDefault();
-                                     return;
-                                 }
-                                 var result_class = element.parentNode.getAttribute("class");
-                                 var style_element = output_document.querySelector("style#hide-" + result_class);
-                                 var input_element = element.querySelector("input");
-                                 if (!style_element && !input_element.checked) {
-                                     style_element = output_document.createElementNS(xhtml_ns, "style");
-                                     style_element.id = "hide-" + result_class;
-                                     style_element.textContent = "table#results > tbody > tr."+result_class+"{display:none}";
-                                     output_document.body.appendChild(style_element);
-                                 } else if (style_element && input_element.checked) {
-                                     style_element.parentNode.removeChild(style_element);
-                                 }
-                             });
-                });
-
-        // This use of innerHTML plus manual escaping is not recommended in
-        // general, but is necessary here for performance.  Using textContent
-        // on each individual <td> adds tens of seconds of execution time for
-        // large test suites (tens of thousands of tests).
-        function escape_html(s)
-        {
-            return s.replace(/\&/g, "&amp;")
-                .replace(/</g, "&lt;")
-                .replace(/"/g, "&quot;")
-                .replace(/'/g, "&#39;");
-        }
-
-        function has_assertions()
-        {
-            for (var i = 0; i < tests.length; i++) {
-                if (tests[i].properties.hasOwnProperty("assert")) {
-                    return true;
-                }
-            }
-            return false;
-        }
-        
-        function get_assertion(test)
-        {
-            if (test.properties.hasOwnProperty("assert")) {
-                if (Array.isArray(test.properties.assert)) {
-                    return test.properties.assert.join(' ');
-                }
-                return test.properties.assert;
-            }
-            return '';
-        }
-        
-        log.appendChild(document.createElementNS(xhtml_ns, "section"));
-        var assertions = has_assertions();
-        var html = "<h2>Details</h2><table id='results' " + (assertions ? "class='assertions'" : "" ) + ">"
-            + "<thead><tr><th>Result</th><th>Test Name</th>"
-            + (assertions ? "<th>Assertion</th>" : "")
-            + "<th>Message</th></tr></thead>"
-            + "<tbody>";
-        for (var i = 0; i < tests.length; i++) {
-            html += '<tr class="'
-                + escape_html(status_class(status_text[tests[i].status]))
-                + '"><td>'
-                + escape_html(status_text[tests[i].status])
-                + "</td><td>"
-                + escape_html(tests[i].name)
-                + "</td><td>"
-                + (assertions ? escape_html(get_assertion(tests[i])) + "</td><td>" : "")
-                + escape_html(tests[i].message ? tests[i].message : " ")
-                + "</td></tr>";
-        }
-        html += "</tbody></table>";
-        try {
-            log.lastChild.innerHTML = html;
-        } catch (e) {
-            log.appendChild(document.createElementNS(xhtml_ns, "p"))
-               .textContent = "Setting innerHTML for the log threw an exception.";
-            log.appendChild(document.createElementNS(xhtml_ns, "pre"))
-               .textContent = html;
-        }
-    };
-
-    var output = new Output();
-    add_start_callback(function (properties) {output.init(properties);});
-    add_result_callback(function (test) {output.show_status(tests);});
-    add_completion_callback(function (tests, harness_status) {output.show_results(tests, harness_status);});
-
-    /*
-     * Template code
-     *
-     * A template is just a javascript structure. An element is represented as:
-     *
-     * [tag_name, {attr_name:attr_value}, child1, child2]
-     *
-     * the children can either be strings (which act like text nodes), other templates or
-     * functions (see below)
-     *
-     * A text node is represented as
-     *
-     * ["{text}", value]
-     *
-     * String values have a simple substitution syntax; ${foo} represents a variable foo.
-     *
-     * It is possible to embed logic in templates by using a function in a place where a
-     * node would usually go. The function must either return part of a template or null.
-     *
-     * In cases where a set of nodes are required as output rather than a single node
-     * with children it is possible to just use a list
-     * [node1, node2, node3]
-     *
-     * Usage:
-     *
-     * render(template, substitutions) - take a template and an object mapping
-     * variable names to parameters and return either a DOM node or a list of DOM nodes
-     *
-     * substitute(template, substitutions) - take a template and variable mapping object,
-     * make the variable substitutions and return the substituted template
-     *
-     */
-
-    function is_single_node(template)
-    {
-        return typeof template[0] === "string";
-    }
-
-    function substitute(template, substitutions)
-    {
-        if (typeof template === "function") {
-            var replacement = template(substitutions);
-            if (replacement)
-            {
-                var rv = substitute(replacement, substitutions);
-                return rv;
-            }
-            else
-            {
-                return null;
-            }
-        }
-        else if (is_single_node(template))
-        {
-            return substitute_single(template, substitutions);
-        }
-        else
-        {
-            return filter(map(template, function(x) {
-                                  return substitute(x, substitutions);
-                              }), function(x) {return x !== null;});
-        }
-    }
-
-    function substitute_single(template, substitutions)
-    {
-        var substitution_re = /\${([^ }]*)}/g;
-
-        function do_substitution(input) {
-            var components = input.split(substitution_re);
-            var rv = [];
-            for (var i=0; i<components.length; i+=2)
-            {
-                rv.push(components[i]);
-                if (components[i+1])
-                {
-                    rv.push(String(substitutions[components[i+1]]));
-                }
-            }
-            return rv;
-        }
-
-        var rv = [];
-        rv.push(do_substitution(String(template[0])).join(""));
-
-        if (template[0] === "{text}") {
-            substitute_children(template.slice(1), rv);
-        } else {
-            substitute_attrs(template[1], rv);
-            substitute_children(template.slice(2), rv);
-        }
-
-        function substitute_attrs(attrs, rv)
-        {
-            rv[1] = {};
-            for (var name in template[1])
-            {
-                if (attrs.hasOwnProperty(name))
-                {
-                    var new_name = do_substitution(name).join("");
-                    var new_value = do_substitution(attrs[name]).join("");
-                    rv[1][new_name] = new_value;
-                };
-            }
-        }
-
-        function substitute_children(children, rv)
-        {
-            for (var i=0; i<children.length; i++)
-            {
-                if (children[i] instanceof Object) {
-                    var replacement = substitute(children[i], substitutions);
-                    if (replacement !== null)
-                    {
-                        if (is_single_node(replacement))
-                        {
-                            rv.push(replacement);
-                        }
-                        else
-                        {
-                            extend(rv, replacement);
-                        }
-                    }
-                }
-                else
-                {
-                    extend(rv, do_substitution(String(children[i])));
-                }
-            }
-            return rv;
-        }
-
-        return rv;
-    }
-
- function make_dom_single(template, doc)
- {
-     var output_document = doc || document;
-     if (template[0] === "{text}")
-     {
-         var element = output_document.createTextNode("");
-         for (var i=1; i<template.length; i++)
-         {
-             element.data += template[i];
-         }
-     }
-     else
-     {
-         var element = output_document.createElementNS(xhtml_ns, template[0]);
-         for (var name in template[1]) {
-             if (template[1].hasOwnProperty(name))
-             {
-                 element.setAttribute(name, template[1][name]);
-             }
-         }
-         for (var i=2; i<template.length; i++)
-         {
-             if (template[i] instanceof Object)
-             {
-                 var sub_element = make_dom(template[i]);
-                 element.appendChild(sub_element);
-             }
-             else
-             {
-                 var text_node = output_document.createTextNode(template[i]);
-                 element.appendChild(text_node);
-             }
-         }
-     }
-
-     return element;
- }
-
-
-
- function make_dom(template, substitutions, output_document)
-    {
-        if (is_single_node(template))
-        {
-            return make_dom_single(template, output_document);
-        }
-        else
-        {
-            return map(template, function(x) {
-                           return make_dom_single(x, output_document);
-                       });
-        }
-    }
-
- function render(template, substitutions, output_document)
-    {
-        return make_dom(substitute(template, substitutions), output_document);
-    }
-
-    /*
-     * Utility funcions
-     */
-    function assert(expected_true, function_name, description, error, substitutions)
-    {
-        if (expected_true !== true)
-        {
-            throw new AssertionError(make_message(function_name, description,
-                                                  error, substitutions));
-        }
-    }
-
-    function AssertionError(message)
-    {
-        this.message = message;
-    }
-
-    function make_message(function_name, description, error, substitutions)
-    {
-        for (var p in substitutions) {
-            if (substitutions.hasOwnProperty(p)) {
-                substitutions[p] = format_value(substitutions[p]);
-            }
-        }
-        var node_form = substitute(["{text}", "${function_name}: ${description}" + error],
-                                   merge({function_name:function_name,
-                                          description:(description?description + " ":"")},
-                                          substitutions));
-        return node_form.slice(1).join("");
-    }
-
-    function filter(array, callable, thisObj) {
-        var rv = [];
-        for (var i=0; i<array.length; i++)
-        {
-            if (array.hasOwnProperty(i))
-            {
-                var pass = callable.call(thisObj, array[i], i, array);
-                if (pass) {
-                    rv.push(array[i]);
-                }
-            }
-        }
-        return rv;
-    }
-
-    function map(array, callable, thisObj)
-    {
-        var rv = [];
-        rv.length = array.length;
-        for (var i=0; i<array.length; i++)
-        {
-            if (array.hasOwnProperty(i))
-            {
-                rv[i] = callable.call(thisObj, array[i], i, array);
-            }
-        }
-        return rv;
-    }
-
-    function extend(array, items)
-    {
-        Array.prototype.push.apply(array, items);
-    }
-
-    function forEach (array, callback, thisObj)
-    {
-        for (var i=0; i<array.length; i++)
-        {
-            if (array.hasOwnProperty(i))
-            {
-                callback.call(thisObj, array[i], i, array);
-            }
-        }
-    }
-
-    function merge(a,b)
-    {
-        var rv = {};
-        var p;
-        for (p in a)
-        {
-            rv[p] = a[p];
-        }
-        for (p in b) {
-            rv[p] = b[p];
-        }
-        return rv;
-    }
-
-    function expose(object, name)
-    {
-        var components = name.split(".");
-        var target = window;
-        for (var i=0; i<components.length - 1; i++)
-        {
-            if (!(components[i] in target))
-            {
-                target[components[i]] = {};
-            }
-            target = target[components[i]];
-        }
-        target[components[components.length - 1]] = object;
-    }
-
-    function forEach_windows(callback) {
-        // Iterate of the the windows [self ... top, opener]. The callback is passed
-        // two objects, the first one is the windows object itself, the second one
-        // is a boolean indicating whether or not its on the same origin as the
-        // current window.
-        var cache = forEach_windows.result_cache;
-        if (!cache) {
-            cache = [[self, true]];
-            var w = self;
-            var i = 0;
-            var so;
-            var origins = location.ancestorOrigins;
-            while (w != w.parent)
-            {
-                w = w.parent;
-                // In WebKit, calls to parent windows' properties that aren't on the same
-                // origin cause an error message to be displayed in the error console but
-                // don't throw an exception. This is a deviation from the current HTML5
-                // spec. See: https://bugs.webkit.org/show_bug.cgi?id=43504
-                // The problem with WebKit's behavior is that it pollutes the error console
-                // with error messages that can't be caught.
-                //
-                // This issue can be mitigated by relying on the (for now) proprietary
-                // `location.ancestorOrigins` property which returns an ordered list of
-                // the origins of enclosing windows. See:
-                // http://trac.webkit.org/changeset/113945.
-                if(origins) {
-                    so = (location.origin == origins[i]);
-                }
-                else
-                {
-                    so = is_same_origin(w);
-                }
-                cache.push([w, so]);
-                i++;
-            }
-            w = window.opener;
-            if(w)
-            {
-                // window.opener isn't included in the `location.ancestorOrigins` prop.
-                // We'll just have to deal with a simple check and an error msg on WebKit
-                // browsers in this case.
-                cache.push([w, is_same_origin(w)]);
-            }
-            forEach_windows.result_cache = cache;
-        }
-
-        forEach(cache,
-                function(a)
-                {
-                    callback.apply(null, a);
-                });
-    }
-
-    function is_same_origin(w) {
-        try {
-            'random_prop' in w;
-            return true;
-        } catch(e) {
-            return false;
-        }
-    }
-
-    function supports_post_message(w)
-    {
-        var supports;
-        var type;
-        // Given IE  implements postMessage across nested iframes but not across
-        // windows or tabs, you can't infer cross-origin communication from the presence
-        // of postMessage on the current window object only.
-        //
-        // Touching the postMessage prop on a window can throw if the window is
-        // not from the same origin AND post message is not supported in that
-        // browser. So just doing an existence test here won't do, you also need
-        // to wrap it in a try..cacth block.
-        try
-        {
-            type = typeof w.postMessage;
-            if (type === "function")
-            {
-                supports = true;
-            }
-            // IE8 supports postMessage, but implements it as a host object which
-            // returns "object" as its `typeof`.
-            else if (type === "object")
-            {
-                supports = true;
-            }
-            // This is the case where postMessage isn't supported AND accessing a
-            // window property across origins does NOT throw (e.g. old Safari browser).
-            else
-            {
-                supports = false;
-            }
-        }
-        catch(e) {
-            // This is the case where postMessage isn't supported AND accessing a
-            // window property across origins throws (e.g. old Firefox browser).
-            supports = false;
-        }
-        return supports;
-    }
-})();
-
-/*
- *For blacklist
- */
-
-function is_platform_supported(name)
-{
-    var ret = true;
-
-    if (not_support_list.indexOf(name) >= 0)
-        ret = false;
-
-    return ret;
-}
-
-// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharnessreport.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * This file is intended for vendors to implement
- * code needed to integrate testharness.js tests with their own test systems.
- *
- * The default implementation extracts metadata from the tests and validates 
- * it against the cached version that should be present in the test source 
- * file. If the cache is not found or is out of sync, source code suitable for
- * caching the metadata is optionally generated.
- *
- * The cached metadata is present for extraction by test processing tools that
- * are unable to execute javascript.
- *
- * Metadata is attached to tests via the properties parameter in the test
- * constructor. See testharness.js for details.
- *
- * Typically test system integration will attach callbacks when each test has
- * run, using add_result_callback(callback(test)), or when the whole test file
- * has completed, using 
- * add_completion_callback(callback(tests, harness_status)).
- *
- * For more documentation about the callback functions and the
- * parameters they are called with see testharness.js
- */
-
-
-
-var metadata_generator = {
-
-    currentMetadata: {},
-    cachedMetadata: false,
-    metadataProperties: ['help', 'assert', 'author'],
-    
-    error: function(message) {
-        var messageElement = document.createElement('p');
-        messageElement.setAttribute('class', 'error');
-        this.appendText(messageElement, message);
-        
-        var summary = document.getElementById('summary');
-        if (summary) {
-            summary.parentNode.insertBefore(messageElement, summary);
-        }
-        else {
-            document.body.appendChild(messageElement);
-        }
-    },
-
-    /**
-     * Ensure property value has contact information
-     */
-    validateContact: function(test, propertyName) {
-        var result = true;
-        var value = test.properties[propertyName];
-        var values = Array.isArray(value) ? value : [value];
-        for (var index = 0; index < values.length; index++) {
-            value = values[index];
-            var re = /(\S+)(\s*)<(.*)>(.*)/;
-            if (! re.test(value)) {
-                re = /(\S+)(\s+)(http[s]?:\/\/)(.*)/
-                if (! re.test(value)) {
-                    this.error('Metadata property "' + propertyName + 
-                        '" for test: "' + test.name +
-                        '" must have name and contact information ' +
-                        '("name <email>" or "name http(s)://")');
-                    result = false;
-                }
-            }
-        }
-        return result;
-    },
-    
-    /**
-     * Extract metadata from test object
-     */
-    extractFromTest: function(test) {
-        var testMetadata = {};
-        // filter out metadata from other properties in test
-        for (var metaIndex = 0; metaIndex < this.metadataProperties.length;
-             metaIndex++) {
-            var meta = this.metadataProperties[metaIndex];
-            if (test.properties.hasOwnProperty(meta)) {
-                if ('author' == meta) {
-                    this.validateContact(test, meta);
-                }
-                testMetadata[meta] = test.properties[meta];
-            }
-        }
-        return testMetadata;
-    },
-    
-    /**
-     * Compare cached metadata to extracted metadata
-     */
-    validateCache: function() {
-        for (var testName in this.currentMetadata) {
-            if (! this.cachedMetadata.hasOwnProperty(testName)) {
-                return false;
-            }
-            var testMetadata = this.currentMetadata[testName];
-            var cachedTestMetadata = this.cachedMetadata[testName];
-            delete this.cachedMetadata[testName];
-            
-            for (var metaIndex = 0; metaIndex < this.metadataProperties.length;
-                 metaIndex++) {
-                var meta = this.metadataProperties[metaIndex];
-                if (cachedTestMetadata.hasOwnProperty(meta) && 
-                    testMetadata.hasOwnProperty(meta)) {
-                    if (Array.isArray(cachedTestMetadata[meta])) {
-                      if (! Array.isArray(testMetadata[meta])) {
-                          return false;
-                      }
-                      if (cachedTestMetadata[meta].length == 
-                          testMetadata[meta].length) {
-                          for (var index = 0; 
-                               index < cachedTestMetadata[meta].length; 
-                               index++) {
-                              if (cachedTestMetadata[meta][index] != 
-                                  testMetadata[meta][index]) {
-                                  return false;
-                              }
-                          }
-                      }
-                      else {
-                          return false;
-                      }
-                    }
-                    else {
-                      if (Array.isArray(testMetadata[meta])) {
-                        return false;
-                      }
-                      if (cachedTestMetadata[meta] != testMetadata[meta]) {
-                        return false;
-                      }
-                    }
-                }
-                else if (cachedTestMetadata.hasOwnProperty(meta) || 
-                         testMetadata.hasOwnProperty(meta)) {
-                    return false;
-                }
-            }
-        }
-        for (var testName in this.cachedMetadata) {
-            return false;
-        }
-        return true;
-    },
-  
-    appendText: function(elemement, text) {
-        elemement.appendChild(document.createTextNode(text));
-    },
-  
-    jsonifyArray: function(arrayValue, indent) {
-        var output = '[';
-
-        if (1 == arrayValue.length) {
-            output += JSON.stringify(arrayValue[0]);
-        }
-        else {
-            for (var index = 0; index < arrayValue.length; index++) {
-                if (0 < index) {
-                    output += ',\n  ' + indent;
-                }
-                output += JSON.stringify(arrayValue[index]);
-            }
-        }
-        output += ']';
-        return output;
-    },
-    
-    jsonifyObject: function(objectValue, indent) {
-        var output = '{';
-        
-        var count = 0;
-        for (var property in objectValue) {
-            ++count;
-            if (Array.isArray(objectValue[property]) || 
-                ('object' == typeof(value))) {
-                ++count;
-            }
-        }
-        if (1 == count) {
-            for (var property in objectValue) {
-                output += ' "' + property + '": '
-                          + JSON.stringify(objectValue[property])
-                          + ' ';
-            }
-        }
-        else {
-            var first = true;
-            for (var property in objectValue) {
-                if (! first) {
-                    output += ',';
-                }
-                first = false;
-                output += '\n  ' + indent + '"' + property + '": ';
-                var value = objectValue[property];
-                if (Array.isArray(value)) {
-                    output += this.jsonifyArray(value, indent + 
-                        '                '.substr(0, 5 + property.length));
-                }
-                else if ('object' == typeof(value)) {
-                    output += this.jsonifyObject(value, indent + '  ');
-                }
-                else {
-                    output += JSON.stringify(value);
-                }
-            }
-            if (1 < output.length) {
-                output += '\n' + indent;
-            }
-        }
-        output += '}';
-        return output;
-    },
-  
-    /**
-     * Generate javascript source code for captured metadata
-     * Metadata is in pretty-printed JSON format
-     */
-    generateSource: function() {
-        var source = 
-            '<script id="metadata_cache">/*\n' + 
-            this.jsonifyObject(this.currentMetadata, '') + '\n' + 
-            '*/</script>\n';
-        return source;
-    },
-    
-    /**
-     * Add element containing metadata source code
-     */
-    addSourceElement: function(event) {
-        var sourceWrapper = document.createElement('div');
-        sourceWrapper.setAttribute('id', 'metadata_source');
-
-        var instructions = document.createElement('p');
-        if (this.cachedMetadata) {
-            this.appendText(instructions, 
-                'Replace the existing <script id="metadata_cache"> element ' + 
-                'in the test\'s <head> with the following:');
-        }
-        else {
-            this.appendText(instructions, 
-                'Copy the following into the <head> element of the test ' +
-                'or the test\'s metadata sidecar file:');
-        }
-        sourceWrapper.appendChild(instructions);
-        
-        var sourceElement = document.createElement('pre');
-        this.appendText(sourceElement, this.generateSource());
-
-        sourceWrapper.appendChild(sourceElement);
-        
-        var messageElement = document.getElementById('metadata_issue');
-        messageElement.parentNode.insertBefore(sourceWrapper, 
-                                               messageElement.nextSibling);
-        messageElement.parentNode.removeChild(messageElement);
-
-        (event.preventDefault) ? event.preventDefault() : 
-                                 event.returnValue = false;
-    },
-    
-    /**
-     * Extract the metadata cache from the cache element if present
-     */
-    getCachedMetadata: function() {
-        var cacheElement = document.getElementById('metadata_cache');
-        
-        if (cacheElement) {
-            var cacheText = cacheElement.firstChild.nodeValue;
-            var openBrace = cacheText.indexOf('{');
-            var closeBrace = cacheText.lastIndexOf('}');
-            if ((-1 < openBrace) && (-1 < closeBrace)) {
-                cacheText = cacheText.slice(openBrace, closeBrace + 1);
-                try {
-                    this.cachedMetadata = JSON.parse(cacheText);
-                }
-                catch (exc) {
-                    this.cachedMetadata = 'Invalid JSON in Cached metadata. ';
-                }
-            }
-            else {
-                this.cachedMetadata = 'Metadata not found in cache element. ';
-            }
-        }
-    },
-    
-    /**
-     * Main entry point, extract metadata from tests, compare to cached version
-     * if present.
-     * If cache not present or differs from extrated metadata, generate an error
-     */
-    process: function(tests, harness_status) {
-        for (var index = 0; index < tests.length; index++) {
-            var test = tests[index];
-            if (this.currentMetadata.hasOwnProperty(test.name)) {
-                this.error('Duplicate test name: ' + test.name);
-            }
-            else {
-                this.currentMetadata[test.name] = this.extractFromTest(test);
-            }
-        }
-
-        this.getCachedMetadata();
-        
-        var message = null;
-        var messageClass = 'warning';
-        var showSource = false;
-        
-        if (0 == tests.length) {
-            if (this.cachedMetadata) {
-                message = 'Cached metadata present but no tests. ';
-            }
-        }
-        else if (1 == tests.length) {
-            if (this.cachedMetadata) {
-                message = 'Single test files should not have cached metadata. ';
-            }
-            else {
-                var testMetadata = this.currentMetadata[tests[0].name];
-                var hasMetadata = false;
-                for (var meta in testMetadata) {
-                    hasMetadata |= testMetadata.hasOwnProperty(meta);
-                }
-                if (hasMetadata) {
-                    message = 'Single tests should not have metadata. ' +
-                              'Move metadata to <head>. ';
-                }
-            }
-        }
-        else {
-            if (this.cachedMetadata) {
-                messageClass = 'error';
-                if ('string' == typeof(this.cachedMetadata)) {
-                    message = this.cachedMetadata;
-                    showSource = true;
-                }
-                else if (! this.validateCache()) {
-                    message = 'Cached metadata out of sync. ';
-                    showSource = true;
-                }
-            }
-        }
-        
-        if (message) {
-            var messageElement = document.createElement('p');
-            messageElement.setAttribute('id', 'metadata_issue');
-            messageElement.setAttribute('class', messageClass);
-            this.appendText(messageElement, message);
-            
-            if (showSource) {
-                var link = document.createElement('a');
-                this.appendText(link, 'Click for source code.');
-                link.setAttribute('href', '#');
-                link.setAttribute('onclick', 
-                                  'metadata_generator.addSourceElement(event)');
-                messageElement.appendChild(link);
-            }
-            
-            var summary = document.getElementById('summary');
-            if (summary) {
-                summary.parentNode.insertBefore(messageElement, summary);
-            }
-            else {
-                var log = document.getElementById('log');
-                if (log) {
-                    log.appendChild(messageElement);
-                }
-            }
-        }
-    },
-
-    setup: function() {
-        add_completion_callback(
-            function (tests, harness_status) { 
-                metadata_generator.process(tests, harness_status)
-            });
-    }
-}
-
-metadata_generator.setup();
-// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/unitcommon.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/unitcommon.js
deleted file mode 100755 (executable)
index 31c63ae..0000000
+++ /dev/null
@@ -1,562 +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;
-            case 'double':
-                assert_equals(typeof (obj), 'number', description);
-                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/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl.js
deleted file mode 100755 (executable)
index 93744f6..0000000
+++ /dev/null
@@ -1,54 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(),
-        appControl;
-
-    assert_true("appControl" in reqAppControl, "RequestedApplicationControl should have appControl attribute");
-
-    appControl = reqAppControl.appControl;
-    assert_type(appControl, "object", "incorrect type of appControl");
-    assert_true("operation" in appControl, "ApplicationControl should have operation attribute");
-    assert_true("uri" in appControl, "ApplicationControl should have uri attribute");
-    assert_true("mime" in appControl, "ApplicationControl should have mime attribute");
-    assert_true("category" in appControl, "ApplicationControl should have category attribute");
-    assert_true("data" in appControl, "ApplicationControl should have data attribute");
-
-    reqAppControl.appControl = {
-        operation: "dummy",
-        uri: "dummy",
-        mime: "dummy",
-        category: "dummy",
-        data: []
-    };
-
-    assert_equals(reqAppControl.appControl.operation, appControl.operation, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.uri, appControl.uri, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.mime, appControl.mime, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.category, appControl.category, "appControl is not readonly");
-    if(appControl.data) {
-        assert_equals(reqAppControl.appControl.data.length, appControl.data.length, "appControl is not readonly");
-    } else {
-        assert_equals(reqAppControl.appControl.data, appControl.data, "appControl is not readonly");
-    }
-
-}, "Application_getRequestedAppControl");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl_extra_argument.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl_extra_argument.js
deleted file mode 100755 (executable)
index 2e660dc..0000000
+++ /dev/null
@@ -1,57 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-*/
-
-test(function () {
-    var i, argumentsList = [null, undefined, "string", 1, false, ["one", "two"], {arg: 1}, function () {}],
-        reqAppControl, appControl;
-
-    for (i = 0; i < argumentsList.length; i++) {
-        reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(argumentsList[i]),
-        assert_true("appControl" in reqAppControl, "RequestedApplicationControl should have appControl attribute");
-
-        appControl = reqAppControl.appControl;
-        assert_type(appControl, "object", "incorrect type of appControl");
-        assert_true("operation" in appControl, "ApplicationControl should have operation attribute");
-        assert_true("uri" in appControl, "ApplicationControl should have uri attribute");
-        assert_true("mime" in appControl, "ApplicationControl should have mime attribute");
-        assert_true("category" in appControl, "ApplicationControl should have category attribute");
-        assert_true("data" in appControl, "ApplicationControl should have data attribute");
-
-        reqAppControl.appControl = new tizen.ApplicationControl(
-            "operation",
-            "uri",
-            "mime",
-            "category",
-            [ new tizen.ApplicationControlData("key", [ "value" ]) ]
-        );
-
-        assert_equals(reqAppControl.appControl.operation, appControl.operation, "appControl is not readonly");
-        assert_equals(reqAppControl.appControl.uri, appControl.uri, "appControl is not readonly");
-        assert_equals(reqAppControl.appControl.mime, appControl.mime, "appControl is not readonly");
-        assert_equals(reqAppControl.appControl.category, appControl.category, "appControl is not readonly");
-        if(appControl.data) {
-            assert_equals(reqAppControl.appControl.data.length, appControl.data.length, "appControl is not readonly");
-        } else {
-            assert_equals(reqAppControl.appControl.data, appControl.data, "appControl is not readonly");
-        }
-    }
-
-}, "Application_getRequestedAppControl_extra_argument");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide.js
deleted file mode 100755 (executable)
index f3fccf3..0000000
+++ /dev/null
@@ -1,28 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-*/
-
-test(function () {
-    var retVal, currentApplication = tizen.application.getCurrentApplication();
-
-    retVal = currentApplication.hide();
-    assert_equals(retVal, undefined, "wrong returned value");
-
-}, "Application_hide");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide_extra_argument.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide_extra_argument.js
deleted file mode 100755 (executable)
index d7f164a..0000000
+++ /dev/null
@@ -1,26 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var currentApplication = tizen.application.getCurrentApplication();
-
-    checkExtraArgument(currentApplication, "hide");
-
-}, "Application_hide_extra_argument");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_appControl_attribute.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_appControl_attribute.js
deleted file mode 100755 (executable)
index 517ced9..0000000
+++ /dev/null
@@ -1,53 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(),
-        appControl;
-
-    assert_true("appControl" in reqAppControl, "RequestedApplicationControl should have appControl attribute");
-
-    appControl = reqAppControl.appControl;
-    assert_type(appControl, "object", "incorrect type of appControl");
-    assert_true("operation" in appControl, "ApplicationControl should have operation attribute");
-    assert_true("uri" in appControl, "ApplicationControl should have uri attribute");
-    assert_true("mime" in appControl, "ApplicationControl should have mime attribute");
-    assert_true("category" in appControl, "ApplicationControl should have category attribute");
-    assert_true("data" in appControl, "ApplicationControl should have data attribute");
-
-    reqAppControl.appControl = {
-        operation: "dummy",
-        uri: "dummy",
-        mime: "dummy",
-        category: "dummy",
-        data: []
-    };
-
-    assert_equals(reqAppControl.appControl.operation, appControl.operation, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.uri, appControl.uri, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.mime, appControl.mime, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.category, appControl.category, "appControl is not readonly");
-    if(appControl.data) {
-        assert_equals(reqAppControl.appControl.data.length, appControl.data.length, "appControl is not readonly");
-    } else {
-        assert_equals(reqAppControl.appControl.data, appControl.data, "appControl is not readonly");
-    }
-
-}, "RequestedApplicationControl_appControl_attribute");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_callerAppId_attribute.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_callerAppId_attribute.js
deleted file mode 100755 (executable)
index 03fce65..0000000
+++ /dev/null
@@ -1,27 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-
-    assert_true("callerAppId" in reqAppControl, "RequestedApplicationControl should have callerAppId attribute");
-    check_readonly(reqAppControl, "callerAppId", reqAppControl.callerAppId, "string", "dummy");
-
-}, "RequestedApplicationControl_callerAppId_attribute");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_extend.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_extend.js
deleted file mode 100755 (executable)
index 5538511..0000000
+++ /dev/null
@@ -1,24 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-    check_extensibility(reqAppControl);
-}, "RequestedApplicationControl_extend");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyFailure_exist.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyFailure_exist.js
deleted file mode 100755 (executable)
index 7b948fc..0000000
+++ /dev/null
@@ -1,24 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-    check_method_exists(reqAppControl, "replyFailure");
-}, "RequestedApplicationControl_replyFailure_exist");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_data_TypeMismatch.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_data_TypeMismatch.js
deleted file mode 100755 (executable)
index 3890d8e..0000000
+++ /dev/null
@@ -1,36 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(),
-        conversionTable, exceptionName, i, data;
-
-    conversionTable = getTypeConversionExceptions("array", true);
-
-    for(i = 0; i < conversionTable.length; i++) {
-        data = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                reqAppControl.replyResult(data);
-            }, exceptionName + " should be thrown.");
-    }
-}, "RequestedApplicationControl_replyResult_data_TypeMismatch");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_exist.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_exist.js
deleted file mode 100755 (executable)
index 3185926..0000000
+++ /dev/null
@@ -1,28 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-
-    assert_true("replyResult" in reqAppControl, "reqAppControl should have replyResult method");
-    assert_type(reqAppControl.replyResult, "function", "incorrect type of replyResult");
-
-    check_method_exists(reqAppControl, "replyResult");
-}, "RequestedApplicationControl_replyResult_exist");
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/appcontrol_launch_explicit.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/appcontrol_launch_explicit.html
deleted file mode 100755 (executable)
index 3f4c042..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-<meta name="description" content="tct-application-tizen-tests"/>
-
-<title>TCTAppControlMock</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-<header>
-    <hgroup>
-      <h1>TCTAppControlMock</h1>
-      <h2>appcontrol_launch_explicit.html</h2>
-    </hgroup>
-</header>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/config.xml b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/config.xml
deleted file mode 100755 (executable)
index 8471334..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppControlMock" version="1.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch_explicit.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch/explicit"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:application id="api1appli2.TCTAppControlMock" package="api1appli2" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppControlMock</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/css/style.css b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/index.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/index.html
deleted file mode 100755 (executable)
index 754cbcc..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControlMock</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-    <script src="js/main.js"></script>
-</head>
-
-<body bgcolor="FFFFFF"  onload="init()">
-  <header>
-    <hgroup>
-      <h1>TCTAppControlMock</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/js/main.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/js/main.js
deleted file mode 100755 (executable)
index 5126963..0000000
+++ /dev/null
@@ -1,28 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-var init = function () {
-    console.log("init() called");
-};
-
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/manifest.json b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/manifest.json
deleted file mode 100755 (executable)
index ca18cb2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppControlMock", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppControlMock", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/config.xml b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/config.xml
deleted file mode 100755 (executable)
index b955098..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppInfoEventTest" version="1.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:application id="api1appli3.TCTAppInfoEventTest" package="api1appli3" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppInfoEventTest1</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/css/style.css b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/index.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/index.html
deleted file mode 100755 (executable)
index 308edf6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppInfoEventTest</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body bgcolor="FFFFFF" >
-  <header>
-    <hgroup>
-      <h1>TCTAppInfoEventTest</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/manifest.json b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/manifest.json
deleted file mode 100755 (executable)
index 09f2aa7..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppInfoEventTest1", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppInfoEventTest1", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/config.xml b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/config.xml
deleted file mode 100755 (executable)
index aba5347..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppInfoEventTest" version="2.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:application id="api1appli3.TCTAppInfoEventTest" package="api1appli3" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppInfoEventTest2</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/css/style.css b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/index.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/index.html
deleted file mode 100755 (executable)
index 308edf6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppInfoEventTest</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body bgcolor="FFFFFF" >
-  <header>
-    <hgroup>
-      <h1>TCTAppInfoEventTest</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/manifest.json b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/manifest.json
deleted file mode 100755 (executable)
index bab21b0..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppInfoEventTest2", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppInfoEventTest2", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/config.xml b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/config.xml
deleted file mode 100755 (executable)
index 2a69e8b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/TCTbroadcastApp" version="1.0.0" viewmodes="maximized">
-    <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*" subdomains="true"/>
-    <tizen:application id="api1appli4.TCTbroadcastApp" package="api1appli4" required_version="2.3"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTbroadcastApp</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
-
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/css/style.css b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/index.html b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/index.html
deleted file mode 100755 (executable)
index 678400c..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
-
-    <title>Tizen Web IDE - Tizen - Tizen basic Application</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-    <script src="js/main.js"></script>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>Tizen app</h1>
-      <h2>An broadcast sender tizen app</h2>
-    </hgroup>
-  </header>
-
-  <nav>
-    <ul>
-       <li><a href="#">Home</a></li>
-       <li><a href="#">About Us</a></li>
-       <li><a href="#">Contact Us</a></li>
-    </ul>
-  </nav>
-
-  <article>
-    <header>
-      <h1>
-        <img src="images/tizen_32.png" width="32"/> Application Name
-      </h1>
-    </header>
-    <p>This is an Tizen Web Application</p>
-    <ul>
-      <li>smartphones, tablets and smart TVs
-      <li>netbooks, in-vehicle infotainment devices
-    </ul>
-    <section>
-      <p>This is a broadcast app for TCT suit.</p>
-      <p>The following button to send a broadcast to test case</p>
-      <div id="divbutton1">
-        <button onclick="sendBroadcast();">Send</button>
-      </div>
-    </section>
-  </article>
-
-  <footer>
-    <p>&copy; 2015 Samsung Company. All rights reserved.</p>
-  </footer>    
-</body>
-</html>
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/js/main.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/js/main.js
deleted file mode 100755 (executable)
index ee8520f..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-var startTime;
-var checkTime;
-var myCustomData = {type: 'bar', value: 'val'};
-//Initialize function
-var init = function () {
-       // TODO:: Do your initialization job
-       console.log("init() called");
-
-       // add eventListener for tizenhwkey
-       document.addEventListener('tizenhwkey', function(e) {
-               if(e.keyName == "back") {
-                       try {
-                               tizen.application.getCurrentApplication().exit();
-                       } catch (error) {
-                               console.error("getCurrentApplication(): " + error.message);
-                       }
-               }
-       });
-       sendBroadcaset();
-};
-// window.onload can work without <body onload="">
-window.onload = init;
-
-function sendBroadcaset() {
-        var app = tizen.application.getCurrentApplication();
-        app.broadcastEvent({"appId": app.appInfo.id, "name": "broadcast_event"}, myCustomData);
-        tizen.application.getCurrentApplication().exit();
-}
-
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/manifest.json b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/manifest.json
deleted file mode 100755 (executable)
index 5d5d296..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTbroadcastApp", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTbroadcastApp", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/app_common.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/app_common.js
deleted file mode 100755 (executable)
index 657f546..0000000
+++ /dev/null
@@ -1,224 +0,0 @@
-/*
-Copyright (c) 2014 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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Mariusz Polasinski <m.polasinski@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-*/
-
-
-var METADATA_KEY = "testKey";
-var METADATA_VALUE = "testValue";
-var TCT_APPCONTROL_APPID_METADATA = {
-    testKey1: "testValue1",
-    testKey2: "testValue2"
-}
-
-var THIS_APP_ID = "api1appli0.WebAPITizenApplicationTests";
-var INVALID_APP_ID = "api1appli0.WebAPITizenApplicationTestsInvalid";
-var APP_INFO_TEST_APP_ID = "api1appli3.TCTAppInfoEventTest";
-var APP_BROAD_TEST_APP_ID = "api1appli4.TCTbroadcastApp";
-
-var APP_BROAD_TEST_EVENT_NAME = "broadcast_event";
-var APP_BROAD_TEST_APP_NAME = "TCTbroadcastApp";
-
-var TCT_APPCONTROL_APPID = "api1appli1.TCTAppControl";
-var TCT_APPCONTROL_MOCK_APPID = "api1appli2.TCTAppControlMock";
-
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION = "http://tizen.org/appcontrol/operation/tct/launch";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_URI = "tct://launch_appcontrol.html";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME = "text/html";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME_INVALID = "invalid/invalid";
-
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_OPERATION = "http://tizen.org/appcontrol/operation/tct/launch/explicit";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_URI = "tct://launch_appcontrol.html";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_MIME = "text/html";
-
-var TCT_APPCONTROL_REPLY_RESULT_OPERATION = "http://tizen.org/appcontrol/operation/tct/reply_result";
-var TCT_APPCONTROL_REPLY_RESULT_WITH_DATA_OPERATION = "http://tizen.org/appcontrol/operation/tct/reply_result/data";
-var TCT_APPCONTROL_REPLY_FAILURE_OPERATION = "http://tizen.org/appcontrol/operation/tct/reply_failure";
-
-var TCT_APPCONTROL_RUN_TEST_OPERATION = "http://tizen.org/appcontrol/operation/tct/run_test";
-var TCT_APPCONTROL_RUN_TEST_URI_PREFIX = "tct://";
-var TCT_APPCONTROL_RUN_TEST_MIME = "application/javascript";
-
-var TCT_APPCONTROL_EXIT_OPERATION = "http://tizen.org/appcontrol/operation/tct/exit";
-
-var TYPE_MISMATCH_ERR = {name: 'TypeMismatchError'};
-
-var TIMEOUT_AUTO_TEST = 30000;
-
-var TCT_WGT_LOCATION = "/opt/usr/home/owner/share/tct/opt/tct-deprecatedapi-tizen-tests/mediasrc/";
-var TCT_APPINFOEVENT1_PKG_NAME = "api1appli3";
-var TCT_TCTAPPINFOEVENTTEST1_NAME = "TCTAppInfoEventTest1.wgt";
-var TCT_TCTAPPINFOEVENTTEST2_NAME = "TCTAppInfoEventTest2.wgt";
-
-setup({timeout: TIMEOUT_AUTO_TEST});
-
-/**
- * Function runs test in other application (TCTAppControl) and receives
- * the results.
- *
- * @param testName name of the test
- */
-function runTestAtTCTAppControl(testName) {
-    var t = async_test(testName, { timeout: TIMEOUT_AUTO_TEST }),
-    appControl, onreply, onerror, data;
-
-    setup_launch(t, TCT_APPCONTROL_APPID, function () {
-        appControl = new tizen.ApplicationControl(
-                        TCT_APPCONTROL_RUN_TEST_OPERATION,
-                        TCT_APPCONTROL_RUN_TEST_URI_PREFIX+testName,
-                        TCT_APPCONTROL_RUN_TEST_MIME);
-
-        onreply = {
-            onsuccess: t.step_func(function (dataArray) {
-                assert_true(dataArray.length == 2, "Unexpected dataArray");
-
-                for (data in dataArray) {
-                    if (dataArray[data].key === "status") {
-                        t.status = parseInt(dataArray[data].value[0]);
-                    } else if (dataArray[data].key === "message") {
-                        t.message = dataArray[data].value[0];
-                    } else {
-                        assert_unreached("Unexpected key in data");
-                        return;
-                    }
-                }
-
-                t.done();
-            }),
-            onfailure: t.step_func(function () {
-                assert_unreached("Unexpected onfailure");
-            })
-        };
-
-        onerror = t.step_func(function (error) {
-            assert_unreached("launchAppControl failure: " + error.message);
-        });
-
-        tizen.application.launchAppControl(appControl, null, null, onerror, onreply);
-    });
-}
-
-function setup_launch(t, appId, onready) {
-    t.step(function() {
-        onready = t.step_func(onready);
-      
-        tizen.application.getAppsContext(
-            t.step_func(function (contexts) {
-                for (var i in contexts) {
-                    if (contexts[i].appId === appId) {
-                        tizen.application.kill(contexts[i].id, onready, onready);
-                        return;
-                    }
-                }
-                onready();
-            }),
-            t.step_func(function (error) {
-                assert_unreached("setup_launch fails: " + error.name + " with message: " + error.message);
-            })
-        );  
-    });
-}
-
-function assert_launch(t, appId, onsuccess) {
-    var intervalId = setInterval(t.step_func(function() {
-        tizen.application.getAppsContext(
-            t.step_func(function (contexts) {
-                for (var i in contexts) {
-                    if (contexts[i].appId === appId) {
-                        clearInterval(intervalId);
-                        t.step_func(onsuccess)(contexts[i]);
-                        return;
-                    }
-                }
-            }),
-            t.step_func(function (error) {
-                assert_unreached("assert_launch fails: " + error.name + " with message: " + error.message);
-            })
-        );
-    }), 5000);
-}
-
-function assert_not_launch(t, appId, onsuccess) {
-    tizen.application.getAppsContext(
-        t.step_func(function (contexts) {
-            for (var i in contexts) {
-                if (contexts[i].appId === appId) {
-                    assert_unreached("assert_not_launch fails: "+appId+" has launched");
-                    return;
-                }
-            }
-            t.step_func(onsuccess)();
-        }),
-        t.step_func(function (error) {
-            assert_unreached("assert_not_launch fails: " + error.name + " with message: " + error.message);
-        })
-    );
-}
-
-function assert_kill(t, appId, onsuccess) {
-    var intervalId = setInterval(t.step_func(function() {
-        tizen.application.getAppsContext(
-            t.step_func(function (contexts) {
-                for (var i in contexts) {
-                    if (contexts[i].appId === appId) {
-                        return;
-                    }
-                }
-                clearInterval(intervalId);
-                t.step_func(onsuccess)();
-            }),
-            t.step_func(function (error) {
-                assert_unreached("assert_kill fails: " + error.name + " with message: " + error.message);
-            })
-        );
-    }), 1000);
-}
-
-function assert_not_kill(t, appId, onsuccess) {
-    tizen.application.getAppsContext(
-        t.step_func(function (contexts) {
-            for (var i in contexts) {
-                if (contexts[i].appId === appId) {
-                    t.step_func(onsuccess)();
-                    return;
-                }
-            }
-            assert_unreached("assert_not_kill fails: " + appId + " is not found");
-        }),
-        t.step_func(function (error) {
-            assert_unreached("assert_not_kill fails: " + error.name + " with message: " + error.message);
-        })
-    );
-}
-
-function assert_exit(t, appId, onsuccess) {
-    assert_kill(t, appId, onsuccess);
-}
-
-function installApplicationCommand(appName, path) {
-    path = path.slice(-1) == "/" ? path : path + "/";
-    return "pkgcmd -i -t wgt -q -p" + path + appName;
-}
-
-function uninstallApplicationCommand(appName) {
-    return "pkgcmd -u -n" + appName;
-}
-
-document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/content_common.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/content_common.js
deleted file mode 100755 (executable)
index c29930d..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-/*
-
-Copyright (c) 2014 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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-        Xiaoyan Qian <xy.qian@samsung.com>
-*/
-
-var TIMEOUT_ASYNC_TEST = 30000;
-setup({timeout: TIMEOUT_ASYNC_TEST});
-
-var TEST_CONTENT_PATH = "";
-var CONTENT_PATH = "";
-document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
-document.write('<script src="support/getJsonConf.js"></script>');
-var TEST_CONTENT_IMAGES = [
-    "tct-content-tizen-tests_image_default.jpg",
-    "tct-content-tizen-tests_image_geolocation.jpg",
-    "tct-content-tizen-tests_image_orientation_1.jpg",
-    "tct-content-tizen-tests_image_orientation_2.jpg",
-    "tct-content-tizen-tests_image_orientation_3.jpg",
-    "tct-content-tizen-tests_image_orientation_4.jpg",
-    "tct-content-tizen-tests_image_orientation_5.jpg",
-    "tct-content-tizen-tests_image_orientation_6.jpg",
-    "tct-content-tizen-tests_image_orientation_7.jpg",
-    "tct-content-tizen-tests_image_orientation_8.jpg"
-]
-
-var TEST_CONTENT_AUDIOS = [
-    "tct-content-tizen-tests_audio_default.mp3",
-    "tct-content-tizen-tests_audio_lyrics.mp3",
-    "tct-content-tizen-tests_audio_no_tag.mp3"
-]
-
-var TEST_CONTENT_VIDEOS = [
-    "tct-content-tizen-tests_video.mp4",
-    "tct-content-tizen-tests_video_tagged.mp4"
-]
-
-function setup_contents(async_test, onscaned) {
-    var contents = [];
-    contents = contents.concat(TEST_CONTENT_IMAGES);
-    contents = contents.concat(TEST_CONTENT_AUDIOS);
-    contents = contents.concat(TEST_CONTENT_VIDEOS);
-
-    function scanFiles(files, oncompleted) {
-        var file = files.shift();
-
-        tizen.content.scanFile(
-            "file://"+CONTENT_PATH+file,
-            async_test.step_func(function (content) {
-                if (files.length) {
-                    scanFiles(files, oncompleted);
-                } else {
-                    oncompleted();
-                }
-            }),
-            async_test.step_func(function (error) {
-                assert_unreached("setup_contents fails: " + error.name + " with message: " + error.message);
-            })
-        );
-    }
-
-    scanFiles(contents, onscaned);
-}
-
-function check_content_object(content) {
-    assert_type(content.editableAttributes, "array", "editableAttributes should be an array");
-    assert_type(content.id, "string", "id should be a string");
-    assert_type(content.name, "string", "name shoud be a string");
-    assert_type(content.type, "string", "type should be a string");
-    assert_type(content.mimeType, "string", "mimeType should be a string");
-    assert_type(content.title, "string", "title should be a string");
-    assert_type(content.contentURI, "string", "contentURI should be a string");
-    assert_type(content.size, "number", "size should be a number");
-    assert_type(content.rating, "number", "rating should be a number");
-    if(content.thumbnailURIs !== null) {
-        assert_type(content.thumbnailURIs, "array", "thumbnailURIs should be an array");
-    }
-    if(content.releaseDate !== null) {
-        assert_type(content.releaseDate, "date", "releaseDate should be a date");
-    }
-    if(content.modifiedDate !== null) {
-        assert_type(content.modifiedDate, "date", "modifiedDate should be a date");
-    }
-    if(content.description !== null) {
-        assert_type(content.description, "string", "description should be a string");
-    }
-}
-
-function prepare_file_for_scan(addedImagePath, onCopySuccess) {
-    var onCopyError = t.step_func(function (error) {
-        assert_unreached("Failed to copy a file to " + addedImagePath + " with message: " + error.message);
-    });
-
-    var copyContentFile = t.step_func(function () {
-        tizen.filesystem.resolve(
-            "file://" + CONTENT_PATH,
-            function (contentDirectory){
-                contentDirectory.copyTo(CONTENT_PATH + TEST_CONTENT_IMAGES[0], addedImagePath, true, onCopySuccess, onCopyError);
-            },
-            function (error) {
-                assert_unreached("Failed to resolve a directory: " + error.message);
-            },
-            "r"
-        );
-    });
-
-    var onDeleteSuccess = t.step_func(function () {
-        tizen.content.scanFile("file://" + addedImagePath, function (){
-            copyContentFile();
-        });
-    });
-
-    var onDeleteError = t.step_func(function () {
-        copyContentFile();
-    });
-
-    tizen.filesystem.resolve(
-        "file://" + TEST_CONTENT_PATH,
-        function (directory){
-            var sharedDirectory = directory;
-            sharedDirectory.deleteFile(addedImagePath, onDeleteSuccess, onDeleteError);
-        },
-        function (error) {
-            assert_unreached("Failed to resolve a directory: " + error.message);
-        },
-        "rw"
-    );
-}
-
-function randomString(len) {
-    len = len || 32;
-    var $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
-    var maxPos = $chars.length;
-    var pwd = '';
-    var i;
-    for (i = 0; i < len; i++) {
-        pwd += $chars.charAt(Math.floor(Math.random() * maxPos));
-    }
-    return pwd;
-}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/filesystem_common.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/filesystem_common.js
new file mode 100755 (executable)
index 0000000..e833de4
--- /dev/null
@@ -0,0 +1,201 @@
+/*
+
+Copyright (c) 2014 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:
+
+
+
+*/
+
+var TEST_ROOT_LOCATION = "downloads";
+
+var FILE_AND_DIR_NAME_PREFIX = "tizen_WebAPI_test_";
+var UNKNOWN_ERR              = "UnknownError";
+var TYPE_MISMATCH_ERR        = "TypeMismatchError";
+var IO_ERR                   = "IOError";
+var INVALID_VALUES_ERR       = "InvalidValuesError";
+var SECURITY_ERR             = "SecurityError";
+var NOT_FOUND_ERR            = "NotFoundError";
+
+var globalCounter = 1;
+
+var CONTENT_DIR = "";
+document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
+document.write('<script src="support/getJsonConf.js"></script>');
+
+function isFileObject(obj) {
+    return true;
+}
+
+function isFile(obj) {
+    return (isFileObject(obj) && !obj.isDirectory);
+}
+
+function isDir(obj) {
+    return (isFileObject(obj) && obj.isDirectory);
+}
+
+function isFilestream(obj) {
+    return true;
+}
+
+function deleteDirectory(parent, dir) {
+    function onError(err) {
+        assert_false("deleteDirectory() [" + err.name + "]", "directory wasn't deleted");
+    }
+
+    function onSuccess() {
+    }
+    parent.deleteDirectory(dir.fullPath, true, onSuccess, onError);
+}
+
+function deleteFile(parent, file) {
+    function onError(err) {
+        assert_false("deleteFile [" + err.name + "]", "file wasn't deleted");
+    }
+
+    function onSuccess() {
+    }
+    parent.deleteFile(file.fullPath, onSuccess, onError);
+}
+
+function resolve_root_location(handler) {
+    function on_resolve_error(err) {
+        assert_false("resolve error: [" + err.name + "]", "error during resolving the root location");
+    }
+
+    function on_resolve_success(file) {
+        assert_true(isFileObject(file), "resolve()");
+        handler(file);
+    }
+    tizen.filesystem.resolve(TEST_ROOT_LOCATION, on_resolve_success, on_resolve_error);
+}
+
+function getFileName(fileName) {
+    return FILE_AND_DIR_NAME_PREFIX + "_" + fileName;
+}
+
+function getDirName(dirName) {
+    return FILE_AND_DIR_NAME_PREFIX + "_" + dirName;
+}
+
+function createFileForParent(parent) {
+    var result = parent.createFile(getFileName());
+    assert_true(isFile(result), "createFile");
+    return result;
+}
+
+function createDirForParent(parent) {
+    var result = parent.createDirectory(getDirName());
+    assert_true(isDir(result), "createDirectory()");
+    return result;
+}
+
+function deleteFileAndDone(test, file) {
+    if(file === undefined) {
+        throw new Error("deleteFileAndDone: file is undefined");
+    }
+    if(file.parent === null){
+        throw new Error("deleteFileAndDone: parent directory is null");
+    }
+    file.parent.deleteFile(file.fullPath,
+        test.step_func(function() {
+            test.done();
+        }),
+        test.step_func(function(err) {
+            assert_unreached("deleteFileAndDone: delete onError " + err.message);
+        }));
+}
+
+function prepareForTesting(test, successCallback) {
+    var i, j, toRemoveCounter = 0, dirCounter = 0, deleteSuccess, deleteError, filesToRemove = 0,
+        resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+        filterRegExp = new RegExp("^" + FILE_AND_DIR_NAME_PREFIX),
+        rootDirectories = ["documents", "images", "music", "videos", "downloads", "camera"];
+
+    deleteError = test.step_func(function (error) {
+        assert_unreached("delete() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteSuccess = test.step_func(function () {
+        filesToRemove--;
+        toRemoveCounter--;
+        if ((dirCounter === rootDirectories.length) && (toRemoveCounter === 0) && (filesToRemove === 0)) {
+            test.step_func(successCallback)();
+        }
+    });
+
+    listFilesSuccess = test.step_func(function (files) {
+        dirCounter++;
+        filesToRemove += files.length;
+        for (j = 0; j < files.length; j++) {
+            if (files[j].name.search(filterRegExp) > -1) {
+                toRemoveCounter++;
+                if (files[j].isDirectory) {
+                    files[j].parent.deleteDirectory(files[j].fullPath, true, deleteSuccess, deleteError);
+                } else {
+                    files[j].parent.deleteFile(files[j].fullPath, deleteSuccess, deleteError);
+                }
+            } else {
+                filesToRemove--;
+            }
+        }
+        if ((dirCounter === rootDirectories.length) && (toRemoveCounter === 0) && (filesToRemove === 0)) {
+            test.step_func(successCallback)();
+        }
+    });
+
+    listFilesError = test.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = test.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = test.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    for (i =0; i < rootDirectories.length; i++) {
+        tizen.filesystem.resolve(rootDirectories[i], resolveSuccess, resolveError, "rw");
+    }
+}
+
+function checkOwnProperties(fileHandle) {
+    var i, len, fileProperties = ["parent", "readOnly", "isFile", "isDirectory", "created", "modified", "path",
+                                  "name", "fullPath", "fileSize", "length"];
+    for (i = 0, len = fileProperties.length; i < len; i++) {
+        assert_own_property(fileHandle, fileProperties[i], "object does not have its own " + fileProperties[i] + " property");
+    }
+}
+
+function getTypeStringExceptions(conversionType, isOptional) {
+    var exceptionName = "InvalidValuesError",
+        conversionTable;
+    switch (conversionType) {
+        case "string":
+            conversionTable = [
+                [undefined, exceptionName]
+            ];
+            break;
+        default:
+            assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+    };
+    return conversionTable;
+}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/power_common.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/power_common.js
deleted file mode 100755 (executable)
index 5234d13..0000000
+++ /dev/null
@@ -1,29 +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:
-
-*/
-
-var TYPE_MISMATCH_ERR = 'TypeMismatchError';
-var INVALID_VALUES_ERR = 'InvalidValuesError';
-var NOT_SUPPORTED_ERR = 'NotSupportedError';
-var NOT_FOUND_ERR = 'NotFoundError';
-
-var PowerScreenStates = [ "SCREEN_OFF", "SCREEN_DIM", "SCREEN_NORMAL" ];
-
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/push_common.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/push_common.js
deleted file mode 100755 (executable)
index 284f85c..0000000
+++ /dev/null
@@ -1,23 +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.
-
-
-
-*/
-
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharness.js\"><\/script>");
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharnessreport.js\"><\/script>");
-
-var service = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_test");
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/systeminfo_common.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/systeminfo_common.js
deleted file mode 100755 (executable)
index 832322b..0000000
+++ /dev/null
@@ -1,71 +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.
-
-
- */
-
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharness.js\"><\/script>");
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharnessreport.js\"><\/script>");
-
-var attribute = "";
-var status_value = "";
-var isRoaming = false;
-
-var SYSTEM_INFO_NETWORK_TYPE = ["NONE", "2G", "2.5G", "3G", "4G", "WIFI", "ETHERNET", "NET_PROXY", "UNKNOWN"];
-var SystemInfoDeviceCapability = ["bluetooth", "nfc", "nfcReservedPush", "multiTouchCount", "inputKeyboard", "inputKeyboardLayout", "wifi", "wifiDirect", "opengles", "openglestextureFormat", "openglesVersion1_1", "openglesVersion2_0", "fmRadio", "platformVersion", "webApiVersion", "nativeApiVersion", "platformName", "camera", "cameraFront", "cameraFrontFlash", "cameraBack", "cameraBackFlash", "location", "locationGps", "locationWps", "microphone", "usbHost", "usbAccessory", "screenOutputRca", "screenOutputHdmi", "platformCoreCpuArch", "platformCoreFpuArch", "sipVoip", "duid", "speechRecognition", "speechSynthesis", "accelerometer", "accelerometerWakeup", "barometer", "barometerWakeup", "gyroscope", "gyroscopeWakeup", "magnetometer", "magnetometerWakeup", "photometer", "photometerWakeup", "proximity", "proximityWakeup", "tiltmeter", "tiltmeterWakeup", "dataEncryption", "graphicsAcceleration", "push", "telephony", "telephonyMms", "telephonySms", "screenSizeNormal", "screenSize480_800", "screenSize720_1280", "autoRotation", "shellAppWidget", "visionImageRecognition", "visionQrcodeGeneration", "visionQrcodeRecognition", "visionFaceRecognition", "secureElement", "nativeOspCompatible", "profile"];
-var SystemInfoStorageUnit = ["type", "capacity", "availableCapacity", "isRemovable"];
-var systemInfoPropertyId = ["BATTERY", "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "LOCALE", "NETWORK", "WIFI_NETWORK", "CELLULAR_NETWORK", "SIM", "PERIPHERAL", "CAMERA_FLASH", "ADS"];
-var SYSTEM_INFO_DEVICE_ORIENTATION_STATUS = ["PORTRAIT_PRIMARY", "PORTRAIT_SECONDARY", "LANDSCAPE_PRIMARY", "LANDSCAPE_SECONDARY"];
-var SYSTEM_INFO_SIM_STATE = ["ABSENT", "INITIALIZING", "READY", "PIN_REQUIRED", "PUK_REQUIRED", "NETWORK_LOCKED", "SIM_LOCKED", "UNKNOWN"];
-var PLATFROM_CORE_CPU_ARCH = ["armv6", "armv7", "x86", "llvm"];
-var PLATFROM_CORE_FPU_ARCH = ["vfpv3", "sse2", "sse3", "ssse3"];
-var SYSTEM_INFO_PROFILE = ["WEARABLE", "MOBILE", "MOBILE_FULL"];
-
-var INVALID_VALUES_ERR = {
-    name: "InvalidValuesError"
-};
-var TYPE_MISMATCH_ERR = {
-    name: "TypeMismatchError"
-};
-
-function assert_value_in_range(minValue, maxValue, attributeValue, description) {
-    var expected, epsilon;
-
-    assert_type(attributeValue, "number", "attributeValue is not a number.");
-
-    epsilon = Math.abs((Number(maxValue) - Number(minValue)) / 2);
-    expected = Number(maxValue) - epsilon;
-    assert_approx_equals(attributeValue, expected, epsilon, description)
-}
-function getTypeExceptions(conversionType) {
-    var exceptionName = "TypeMismatchError",
-        conversionTable;
-    switch (conversionType) {
-        case "unsigned long":
-            conversionTable = [
-                [undefined, exceptionName],
-                [NaN, exceptionName],
-                [Number.POSITIVE_INFINITY, exceptionName],
-                [Number.NEGATIVE_INFINITY, exceptionName],
-                ["TIZEN", exceptionName],
-                [{ name : "TIZEN" }, exceptionName],
-                [function () { }, exceptionName]
-            ];
-            break;
-        default:
-            assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
-    };
-    return conversionTable;
-}
diff --git a/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/time_common.js b/tv/tct-deprecatedapi-tizen-tests/deprecatedapi/support/time_common.js
deleted file mode 100755 (executable)
index c4a5b4e..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-
-
-*/
-
-var NOT_SUPPORTED_ERR     = "NotSupportedError";
-var UNKNOWN_ERR           = "UnknownError";
-var TYPE_MISMATCH_ERR     = "TypeMismatchError";
-var INVALID_VALUES_ERR    = "InvalidValuesError";
-var NOT_FOUND_ERR         = "NotFoundError";
-var PERMISSION_DENIED_ERR = "SecurityError";
-var IO_ERR                = "IOError";
-var ERROR_STR             = "Error";
-var ERROR_NUM             = 3;
-
-var expected_year         = 2011;
-var expected_month        = 10;
-var expected_date         = 11;
-var expected_hours        = 4;
-var expected_minutes      = 55;
-var expected_seconds      = 54;
-var expected_milliseconds = 12;
-var expected_time_zone    = "Asia/Seoul";//GMT+9
-var expected_time_zone_offset = 9;
-
-var date = new tizen.TZDate(
-    expected_year,          //year
-    expected_month,         //month
-    expected_date,          //day
-    expected_hours,         //hours
-    expected_minutes,       //minutes
-    expected_seconds,       //seconds
-    expected_milliseconds,  //milliseconds
-    expected_time_zone      //timeZone
-);
-var invalidArgument = [
-    true,
-    false,
-    undefined,
-    null,
-    ["one", "two"],
-    {argument: 1},
-    function () {}
-];
-
-var testAdditionalParamArray = [ERROR_NUM, null, undefined];
-
-
-
index ebc701ceb43ff3336faab35f9a0191a3fd9812d3..94ef60e334094a2d4fb1acadcc91f619cf91db1a 100755 (executable)
@@ -41,8 +41,10 @@ MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
 TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
 NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
 INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+UNKNOWN_EXCEPTION = {name: 'UnknownError'};
 IO_EXCEPTION = {name: 'IOError'};
 SECURITY_EXCEPTION = {name: 'SecurityError'};
+NOT_SUPPORTED_EXCEPTION = {name: 'NotSupportedError'};
 
 
 (function () {
@@ -137,6 +139,14 @@ function getTypeConversionExceptions(conversionType, isOptional) {
                 [function () { }, exceptionName]
             ];
             break;
+        case "long":
+            conversionTable = [
+                [undefined, exceptionName],
+                ["TIZEN", exceptionName],
+                [{ name : "TIZEN" }, exceptionName],
+                [function () { }, exceptionName]
+            ];
+            break;
         case "object":
             conversionTable = [
                 [true, exceptionName],
@@ -574,4 +584,5 @@ function executeCommand(command) {
     });
     //This log provides console output after executing shell command.
     console.log(JSON.stringify(response));
+    return response
 }
\ No newline at end of file
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3 b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3
deleted file mode 100755 (executable)
index c41d536..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3 and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3 b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3
deleted file mode 100755 (executable)
index 28d6324..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3 and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3 b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3
deleted file mode 100755 (executable)
index 7aa44e8..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3 and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg
deleted file mode 100755 (executable)
index c090428..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg
deleted file mode 100755 (executable)
index 6abe1ed..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg
deleted file mode 100755 (executable)
index 1326236..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg
deleted file mode 100755 (executable)
index d9336b5..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg
deleted file mode 100755 (executable)
index 330c088..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg
deleted file mode 100755 (executable)
index 8aaed3f..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg
deleted file mode 100755 (executable)
index 945a83d..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg
deleted file mode 100755 (executable)
index da8c2c3..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg
deleted file mode 100755 (executable)
index dfa93ca..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg
deleted file mode 100755 (executable)
index 6fdd2e8..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4 b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4
deleted file mode 100755 (executable)
index e203ae2..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4 and /dev/null differ
diff --git a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4 b/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4
deleted file mode 100755 (executable)
index a6b7048..0000000
Binary files a/tv/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4 and /dev/null differ
index aa925ec1fd4459c25a500ad44406df0f3424ab38..7c47d74783e60de261b238bb16a1adbee287c35a 100755 (executable)
                 "shellmanager.py": "shellmanager.py",
                 "Queue.py": "Queue.py",
                 "askpolicy.sh": "askpolicy.sh",
-                "media": "media",
                 "tests.xml": "tests.xml"
             },
             "pkg-app": {
                 "sign-flag": "true"
-            },
-            "subapp-list": {
-                "deprecatedapi/support/TCTAppControl": {
-                    "app-name": "TCTAppControl",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTAppControlMock": {
-                    "app-name": "TCTAppControlMock",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTbroadcastApp": {
-                    "app-name": "TCTbroadcastApp",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTAppInfoEventTest1": {
-                    "app-name": "TCTAppInfoEventTest1",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "mediasrc",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTAppInfoEventTest2": {
-                    "app-name": "TCTAppInfoEventTest2",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "mediasrc",
-                    "sign-flag": "true"
-                }
             }
         }
     },
index 3dbd1a98969214251360598398851711d414cd1f..f148d5ea033de97659a0da7cda42dda3431a8fef 100755 (executable)
 <?xml-stylesheet type="text/xsl"  href="./testcase.xsl"?>
 <test_definition>
   <suite name="tct-deprecatedapi-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
-    <set name="deprecatedapi_SystemInfo" type="js">
-      <testcase purpose="Check if attribute isRemoveable of SystemInfoStorageUnit exists, has type Boolean and is readonly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoStorageUnit_isRemoveable_attribute">
+    <set name="deprecatedapi_Filesystem" type="js">
+      <testcase purpose="Interface FileStreamSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStreamSuccessCallback_notexist">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="SystemInfoStorageUnit" element_type="attribute" element_name="isRemoveable" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+            <spec_assertion interface="FileStreamSuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Application" type="js">
-      <testcase purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with argument of proper type" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStreamSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStreamSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_FileStreamSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStreamSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::bytesAvailable attribute exist, is of proper type" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_bytesAvailable_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="attribute" element_name="bytesAvailable" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_close">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="close" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_close_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="close" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method can be called with extra arguments" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_close_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="close" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::eof attribute exists, is Boolean" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_eof_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="attribute" element_name="eof" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether instance of FileStream can be extended with new attribute" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_extend">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileStream should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::position attribute exists, is of proper type, can be changed" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_position_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="attribute" element_name="position" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_read">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws exception with missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws an exception when given wrong type of charCount" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() method works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_readBase64">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_readBase64_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() throws exception when reading from a file opened in 'w' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_readBytes">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_readBytes_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() throws exception when reading from a file opened in 'w' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() with missing mandatory argument throws exception" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_read_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws exception when reading from a file opened in 'w' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_write">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="write" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBase64">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_writeBase64_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() throws exception when writing to a file opened in 'r' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() throws exception for wrong type of byteData" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBytes_byteData_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_writeBytes_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method properly writes the specified bytes to file" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() throws exception when writing to a file opened in 'r' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_write_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="write" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() throws exception when writing to a file opened in 'r' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="write" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileArraySuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileArraySuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileArraySuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileArraySuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileArraySuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileStringSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStringSuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStringSuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileStringSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStringSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStringSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method can be called with only mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_documents">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Downloads virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_downloads">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if errorcallback of FileSystemManager::resolve() method can be invoked when location is wrong type" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_errorCallback_invoked">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument (absolute)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_error_invoked">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_resolve_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_images">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method work for invalid location" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_location_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_resolve_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong value of mode argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Music virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_music">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Videos virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_videos">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-package' virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_package">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private' virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_private">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private-tmp' virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_private_tmp">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root with mode 'rw'" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_with_mode">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method can be called with onerror argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents and onsuccess is invoked with proper argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_works_correctly">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if instance of File can be extended with new property" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_extend">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface File should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::parent attribute exists, has type File and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_parent_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="parent" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::parent attribute is set by resolve() for subdirectory of Documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_parent_attribute_notnull_using_resolve">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="parent" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readOnly attribute exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readOnly_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="readOnly" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::fileSize attribute exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_fileSize_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="fileSize" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::fullPath attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_fullPath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="fullPath" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::isDirectory attribute exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_isDirectory_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="isDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::isFile attribute exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_isFile_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="isFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::length attribute exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_length_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="length" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::created attribute exists, has type Date and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_created_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="created" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::modified attribute exists, has type Date and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_modified_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="modified" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::path attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_path_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="path" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::path attribute has proper value limitation" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_path_attribute_limitation">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+          <spec_assertion interface="File" element_type="attribute" element_name="path" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::name attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_name_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="name" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_toURI">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_toURI_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_toURI_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method throws exception when get a URI of non-existing 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-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new directory and then list 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-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_listFiles_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() method throws exception for wrong type of filter" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() can be called with empty object as filter argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_empty">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() with missing mandatory argument throws exception" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() works with filter argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_filter">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() calls errorCallback (listing files of a file)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() call onsuccess callback" 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-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() throws an exception for invalid encoding value" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_encoding_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_openStream_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() throws exception for wrong type of mode argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method can be called with valid encoding argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream_with_encoding">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method calls errorCallback when invoked for file which was already removed" 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method calls errorCallback properly (openStream used on directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong mode" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method works properly when the encoding is ISO-8859-1" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_with_encoding_not_default">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works properly without errorCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for invalid encoding value" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_encoding_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_readAsText_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDocumentsFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Downloads" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDownloadsFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Images" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listImagesFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Music" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listMusicFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Videos" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listVideosFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() throws exception for missing mandatory parameter" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works with encoding argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_with_encoding">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() properly calls errorCallback (called on a directory instead of file)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works properly when the encoding is ISO-8859-1" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_with_encoding_not_default">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method 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-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() method ends successfully (copy file from documents/ to images/)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a directory to another location where directory of that name already exists (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can copy a directory to another location where directory of that name already exists (overwrite is true)" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_copyTo_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a file to another directory where a file of that name already exists (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can copy a file to another directory where a file of that name already exists (overwrite is true)" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a file to the same location (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a file to the same location (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception when type of errorCallback is wrong" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception for wrong errorCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception when type of successCallback is wrong" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception for wrong successCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() calls errorCallback when called for object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() can be invoked with null successCallback and errorCallback" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() calls errorCallback (nonexisting originFilePath)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() with onSuccess creates a file copy" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, same directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_newName">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if when create a new empty file, write content into it, then request a copy of it over existing file invokes errorCallback (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, different directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_subdir">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() can be called" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="filesystem_File_copyTo">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if copyTo method called with invalid destinationFilePath does what it should" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_destinationFilePath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if copyTo method called with invalid originFilePath does what it should" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_originFilePath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() can be called successfully" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when originFilePath and destinationFilePath are empty" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_moveTo_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onsuccess_TypeMismatch">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
+      <testcase purpose="Check if File::moveTo() throws exception for wrong onsuccess" 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-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method addAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_addAppInfoEventListener_exist">
+      <testcase purpose="Check if File::moveTo() method can be invoked with extra null parameter" 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-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_missarg">
+      <testcase purpose="Check if File::moveTo() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
+      <testcase purpose="Check if File::moveTo() calls errorCallback (source file does not exist)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_onerror">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
+      <testcase purpose="Check if File::moveTo() calls successCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_onsuccess">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
+      <testcase purpose="Check if File::moveTo() calls errorCallback (NotFound) when destinationFilePath is in non-existing directory" 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-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_removeAppInfoEventListener">
+      <testcase purpose="Check if you can create a new file, write content to it, and then move the file to the same directory 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-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="removeAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method removeAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_removeAppInfoEventListener_exist">
+      <testcase purpose="Check if File::moveTo() calls errorCallback when originFilePath and destinationFilePath is the same path (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-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="removeAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Time">
-      <testcase purpose="Check if getTimezoneAbbreviation() method exists in TZDate" type="compliance" status="approved" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P0" id="TZDate_getTimezoneAbbreviation_exist">
+      <testcase purpose="Check if you can create a new file, write content to it, and then move the file to a subdirectory keeping the name of the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_subdir">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="TZDate" element_type="method" element_name="getTimezoneAbbreviation" specification="Time" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if TZDate::getTimezoneAbbreviation() method accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P2" id="TZDate_getTimezoneAbbreviation_extra_argument">
+      <testcase purpose="Check if File::createDirectory() method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_createDirectory">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="TZDate" element_type="method" element_name="getTimezoneAbbreviation" specification="Time" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if TZDate.getTimezoneAbbreviation() works properly" type="compliance" status="approved" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_getTimezoneAbbreviation_summerMonth">
+      <testcase purpose="Check if File::createDirectory() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_createDirectory_exist">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="TZDate" element_type="method" element_name="getTimezoneAbbreviation" specification="Time" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Content">
-      <testcase purpose="Check if setChangeListener exists" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_setChangeListener_exist">
+      <testcase purpose="Check if File::createDirectory() works for non-existing intermediate directory (creates 2 levels of directories)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_level2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if setChangeListener method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_missarg">
+      <testcase purpose="Check if createDirectory method throws exception with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_misarg">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_TypeMismatch">
+      <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_dirPath_invalid">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is invalid listener" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_invalid_cb">
+      <testcase purpose="Check if File::createFile() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_createFile">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener exists" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_unsetChangeListener_exist">
+      <testcase purpose="Check if File::createFile() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_createFile_exist">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="unsetChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener method can be invoked with extra argument" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_unsetChangeListener_extra_argument">
+      <testcase purpose="Check if File::createFile() throws exception when the file already exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_existing_file">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="unsetChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Push">
-      <capabilities>
-        <capability name="http://tizen.org/feature/network.push"/>
-      </capabilities>
-      <testcase purpose="Check if method connectService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_connectService_exist">
+      <testcase purpose="Check if File::createFile() with missing mandatory argument throws exceptions" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Documents, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_createFile">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_resolve">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_resolve_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() throws exception when resolving 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-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() method called for a file returns 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-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() throws exception with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_filePath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method can be called" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Documents and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_documents">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Downloads and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_downloads">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Images and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_images">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Music and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_music">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Videos and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_videos">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_deleteDirectory_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty" 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-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method can be called with null onsuccess and onerror" 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-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method calls onerror properly (when removing non-existing directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method with onsuccess optional argument works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception with missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteFile() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Document, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_downloads">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Images, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_images">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Music, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_music">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Video, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_videos">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteFile() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_deleteFile_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create directories and file in Documents, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDocumentsFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="connectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for notificationCallback argument of PushManager.connectService method" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_connectService_notificationCallback_TypeMismatch">
+      <testcase purpose="Check if you can create directories and file in Downloads, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDownloadsFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="connectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.connectService method throws exception when notificationCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_connectService_notificationCallback_invalid_cb">
+      <testcase purpose="Check if you can create directories and file in Images, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listImagsFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="connectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method disconnectService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_disconnectService_exist">
+      <testcase purpose="Check if you can create directories and file in Music, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listMusicFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="disconnectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method disconnectService of PushManager accepts extra argument" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P1" id="PushManager_disconnectService_extra_argument">
+      <testcase purpose="Check if you can create directories and file in Videos, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listVideosfiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="disconnectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for appControl argument of PushManager.registerService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_appControl_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onerror_TypeMismatch">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.registerService method throws exception when appControl is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_appControl_invalid_obj">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onerror_invalid_cb">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for errorCallback argument of PushManager.registerService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_errorCallback_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onsuccess_TypeMismatch">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.registerService method throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_errorCallback_invalid_cb">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onsuccess_invalid_cb">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method registerService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_registerService_exist">
+      <testcase purpose="Check if File::deleteFile() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method registerService throws exception when non-optional argument is missing" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P1" id="PushManager_registerService_misargs">
+      <testcase purpose="Check if File::deleteFile() calls errorCallback when given filePath does 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for successCallback argument of PushManager.registerService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_successCallback_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() method calls errorCallback properly (when removing non-existing file)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_onerror">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.registerService method throws exception when successCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_successCallback_invalid_cb">
+      <testcase purpose="Check if File::deleteFile() method calls given onsuccess callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_onsuccess">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for errorCallback argument of PushManager.unregisterService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_errorCallback_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() can be called with onsuccess and onerror" 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.unregisterService method throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_errorCallback_invalid_cb">
+      <testcase purpose="Check if File::deleteFile() method can be called without onsuccess" 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method unregisterService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_unregisterService_exist">
+      <testcase purpose="Check if you can create a new file in Camera, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_camera">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for successCallback argument of PushManager.unregisterService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_successCallback_TypeMismatch">
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Camera virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_camera">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.unregisterService method throws exception when successCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_successCallback_invalid_cb">
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_camera">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
index 2a7572184bf7ffc10760856d14aacea16511137c..4b29fd41e0125b3b35d82d64db16cc7ea1e621b3 100755 (executable)
 <?xml-stylesheet type="text/xsl"  href="./testcase.xsl"?>
 <test_definition>
   <suite name="tct-deprecatedapi-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
-    <set name="deprecatedapi_SystemInfo" type="js">
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoStorageUnit_isRemoveable_attribute" onload_delay="90" priority="P1" purpose="Check if attribute isRemoveable of SystemInfoStorageUnit exists, has type Boolean and is readonly">
+    <set name="deprecatedapi_Filesystem" type="js">
+      <testcase purpose="Interface FileStreamSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Application" type="js">
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch" priority="P2" purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion">
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with argument of proper type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_onsuccess" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb" priority="P2" purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method">
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_exist" priority="P0" purpose="Check if method addAppInfoEventListener exist">
+      <testcase purpose="Check if FileStream::bytesAvailable attribute exist, is of proper type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_bytesAvailable_attribute" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_missarg" priority="P2" purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument">
+      <testcase purpose="Check if FileStream::close() method works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_oninstalled" priority="P1" purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface">
+      <testcase purpose="Check if FileStream::close() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_onuninstalled" priority="P1" purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface">
+      <testcase purpose="Check if FileStream::close() method can be called with extra arguments" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_extra_argument" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_onupdated" priority="P1" purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface">
+      <testcase purpose="Check if FileStream::eof attribute exists, is Boolean" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_eof_attribute" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener" onload_delay="30" priority="P1" purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface">
+      <testcase purpose="Test whether instance of FileStream can be extended with new attribute" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener_exist" priority="P0" purpose="Check if method removeAppInfoEventListener exist">
+      <testcase purpose="Interface FileStream should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Time">
-      <testcase purpose="Check if TZDate::getTimezoneAbbreviation() returns a string" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation">
+      <testcase purpose="Check if FileStream::position attribute exists, is of proper type, can be changed" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_position_attribute" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if getTimezoneAbbreviation() method exists in TZDate" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation_exist">
+      <testcase purpose="Check if FileStream::read() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if TZDate::getTimezoneAbbreviation() method accepts extra argument" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P2" id="TZDate_getTimezoneAbbreviation_extra_argument">
+      <testcase purpose="Check if FileStream::read() throws exception with missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_misarg" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if TZDate.getTimezoneAbbreviation() works properly" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_getTimezoneAbbreviation_summerMonth">
+      <testcase purpose="Check if FileStream::read() throws an exception when given wrong type of charCount" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_TypeMismatch" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Content">
-      <testcase purpose="Check if setChangeListener exists" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_setChangeListener_exist">
+      <testcase purpose="Check if FileStream::readBase64() method works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if setChangeListener method called with missing non-optional argument throws an exception" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_missarg">
+      <testcase purpose="Check if FileStream::readBase64() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is incorrect" onload_delay="30" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_TypeMismatch">
+      <testcase purpose="Check if FileStream::readBase64() throws exception when reading from a file opened in 'w' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_without_r_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is invalid listener" onload_delay="30" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_invalid_cb">
+      <testcase purpose="Check if you can create a new file, write content to it, and then read the content of the file as base64" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_writeFile" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener exists" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_unsetChangeListener_exist">
+      <testcase purpose="Check if FileStream::readBytes() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener method can be invoked with extra argument" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_unsetChangeListener_extra_argument">
+      <testcase purpose="Check if FileStream::readBytes() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Push" type="js">
-      <capabilities>
-        <capability name="http://tizen.org/feature/network.push"/>
-      </capabilities>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_connectService_exist" priority="P0" purpose="Check if method connectService of PushManager exists">
+      <testcase purpose="Check if FileStream::readBytes() throws exception when reading from a file opened in 'w' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_without_r_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_connectService_notificationCallback_TypeMismatch" priority="P2" purpose="Check type conversions for notificationCallback argument of PushManager.connectService method">
+      <testcase purpose="Check if FileStream::readBytes() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_misarg" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_connectService_notificationCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.connectService method throws exception when notificationCallback is invalid">
+      <testcase purpose="Check if you can create a new file, write content to it, and then read the content of the file as a byte array" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_writeFile" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_disconnectService_exist" priority="P0" purpose="Check if method disconnectService of PushManager exists">
+      <testcase purpose="Check if FileStream::read() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_disconnectService_extra_argument" priority="P1" purpose="Check if method disconnectService of PushManager accepts extra argument">
+      <testcase purpose="Check if FileStream::read() throws exception when reading from a file opened in 'w' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_without_r_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_appControl_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for appControl argument of PushManager.registerService method">
+      <testcase purpose="Check if you can create a new file, write content to it, and then read the content of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_writeFile" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_appControl_invalid_obj" onload_delay="90" priority="P2" purpose="Check if PushManager.registerService method throws exception when appControl is invalid">
+      <testcase purpose="Check if FileStream::write() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for errorCallback argument of PushManager.registerService method">
+      <testcase purpose="Check if FileStream::writeBase64() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.registerService method throws exception when errorCallback is invalid">
+      <testcase purpose="Check if FileStream::writeBase64() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_exist" priority="P0" purpose="Check if method registerService of PushManager exists">
+      <testcase purpose="Check if FileStream::writeBase64() throws exception when writing to a file opened in 'r' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_without_w_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_misargs" priority="P1" purpose="Check if method registerService throws exception when non-optional argument is missing">
+      <testcase purpose="Check if FileStream::writeBytes() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_successCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for successCallback argument of PushManager.registerService method">
+      <testcase purpose="Check if FileStream::writeBytes() throws exception for wrong type of byteData" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_byteData_TypeMismatch" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.registerService method throws exception when successCallback is invalid">
+      <testcase purpose="Check if FileStream::writeBytes() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for errorCallback argument of PushManager.unregisterService method">
+      <testcase purpose="Check if FileStream::writeBytes() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_missarg" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.unregisterService method throws exception when errorCallback is invalid">
+      <testcase purpose="Check if FileStream::writeBytes() method properly writes the specified bytes to file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_with_additional_null_parameter" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_exist" priority="P0" purpose="Check if method unregisterService of PushManager exists">
+      <testcase purpose="Check if FileStream::writeBytes() throws exception when writing to a file opened in 'r' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_without_w_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_successCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for successCallback argument of PushManager.unregisterService method">
+      <testcase purpose="Check if FileStream::write() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.unregisterService method throws exception when successCallback is invalid">
+      <testcase purpose="Check if FileStream::write() throws exception when writing to a file opened in 'r' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_without_w_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html</test_script_entry>
         </description>
       </testcase>
+       <testcase purpose="Interface FileArraySuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Test whether FileArraySuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Interface FileSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Test whether FileSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Interface FileStringSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Test whether FileStringSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method can be called with only mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Downloads virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if errorcallback of FileSystemManager::resolve() method can be invoked when location is wrong type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_errorCallback_invoked" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument (absolute)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_error_invoked" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_images" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method work for invalid location" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_location_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_missarg" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong value of mode argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'r'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Music virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Videos virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory with mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory with mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-package' virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_package" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private' virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private-tmp' virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private_tmp" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_mode" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method can be called with onerror argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_onerror" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents and onsuccess is invoked with proper argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_works_correctly" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html</test_script_entry>
+         </description>
+       </testcase>
+        <testcase purpose="Check if instance of File can be extended with new property" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Interface File should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::parent attribute exists, has type File and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::parent attribute is set by resolve() for subdirectory of Documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute_notnull_using_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readOnly attribute exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readOnly_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::fileSize attribute exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fileSize_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::fullPath attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fullPath_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::isDirectory attribute exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isDirectory_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::isFile attribute exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isFile_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::length attribute exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_length_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::created attribute exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_created_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::modified attribute exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_modified_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::path attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_path_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::path attribute has proper value limitation" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_path_attribute_limitation" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::name attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_name_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method accepts extra argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_extra_argument" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method throws exception when get a URI of non-existing file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_with_nonexist_file" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new directory and then list files in this directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_createFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() method throws exception for wrong type of filter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() can be called with empty object as filter argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_missarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() works with filter argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() calls errorCallback (listing files of a file)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() call onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_valid_successCallback" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() throws an exception for invalid encoding value" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_encoding_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_missarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() throws exception for wrong type of mode argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode r" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method can be called with valid encoding argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_encoding" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method calls errorCallback when invoked for file which was already removed" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_nonexist_file" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method calls errorCallback properly (openStream used on directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method works properly when the encoding is ISO-8859-1" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_encoding_not_default" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works properly without errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for invalid encoding value" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_encoding_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDocumentsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Downloads" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDownloadsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Images" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listImagesFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Music" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listMusicFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Videos" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listVideosFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() throws exception for missing mandatory parameter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_missarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works with encoding argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() properly calls errorCallback (called on a directory instead of file)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works properly when the encoding is ISO-8859-1" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding_not_default" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method reads the content of a file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() method ends successfully (copy file from documents/ to images/)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a directory to another location where directory of that name already exists (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can copy a directory to another location where directory of that name already exists (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a file to another directory where a file of that name already exists (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can copy a file to another directory where a file of that name already exists (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a file to the same location (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a file to the same location (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception when type of errorCallback is wrong" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception for wrong errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception when type of successCallback is wrong" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception for wrong successCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() calls errorCallback when called for object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() can be invoked with null successCallback and errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_null_success_and_error_callbacks" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() calls errorCallback (nonexisting originFilePath)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() with onSuccess creates a file copy" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, same directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_newName" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if when create a new empty file, write content into it, then request a copy of it over existing file invokes errorCallback (overwrite=false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_overwrite_false" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, different directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_subdir" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() can be called" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if copyTo method called with invalid destinationFilePath does what it should" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_destinationFilePath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if copyTo method called with invalid originFilePath does what it should" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_originFilePath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() can be called successfully" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when originFilePath and destinationFilePath are empty" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_empty_destination_source_and_destination_paths" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() method can be invoked with extra null parameter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_additional_null_parameter" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback (source file does not exist)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls successCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback (NotFound) when destinationFilePath is in non-existing directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_path_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file, write content to it, and then move the file to the same directory with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_newName" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback when originFilePath and destinationFilePath is the same path (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_overwrite_false" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file, write content to it, and then move the file to a subdirectory keeping the name of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_subdir" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() works for non-existing intermediate directory (creates 2 levels of directories)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_level2" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if createDirectory method throws exception with missing non-optional argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_dirPath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createFile() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createFile() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createFile() throws exception when the file already exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_existing_file" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html</test_script_entry>
+         </description>
+       </testcase>
+      <testcase purpose="Check if File::createFile() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html</test_script_entry>
+         </description>
+      </testcase>
+       <testcase purpose="Check if you can create a new file in Documents, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_createFile" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() throws exception when resolving a file which not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_nonexist" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() method called for a file returns a file handle" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() throws exception with missing non-optional argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_filePath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method can be called" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Documents and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_documents" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Downloads and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_downloads" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Images and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_images" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Music and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_music" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Videos and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_videos" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_empty_path" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method can be called with null onsuccess and onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_null_callbacks" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method calls onerror properly (when removing non-existing directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method with onsuccess optional argument works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception with missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Document, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_downloads" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Images, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_images" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Music, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_music" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Video, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_videos" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Documents, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDocumentsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Downloads, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDownloadsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Images, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listImagsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Music, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listMusicFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Videos, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listVideosfiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_dir_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() calls errorCallback when given filePath does not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_nonexist" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method calls errorCallback properly (when removing non-existing file)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method calls given onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() can be called with onsuccess and onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_vaild_callbacks" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method can be called without onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html</test_script_entry>
+         </description>
+       </testcase>
+    </set>
+    <set name="deprecatedapi_Filesystem_camera">
+       <capabilities>
+         <capability name="http://tizen.org/feature/camera.back"/>
+       </capabilities>
+       <testcase purpose="Check if you can create a new file in Camera, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_camera" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for camera virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_camera" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_camera" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html</test_script_entry>
+         </description>
+       </testcase>
     </set>
   </suite>
 </test_definition>
index 40fc1d06ff880e6f4f2acee1a51e254db774f2e1..af07a6695fa993f11a49fbe375be86fae26da3e8 100755 (executable)
@@ -15,6 +15,9 @@
   <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
   <tizen:privilege name="http://tizen.org/privilege/push"/>
   <tizen:privilege name="http://tizen.org/privilege/internet"/>
+  <tizen:privilege name="http://tizen.org/privilege/notification"/>
+  <tizen:privilege name="http://tizen.org/privilege/mediastorage"/>
+  <tizen:privilege name="http://tizen.org/privilege/externalstorage"/>
   <icon src="icon.png" height="117" width="117"/>
   <tizen:application id="deprecated.deprecatedAPITests" package="deprecated" required_version="5.0"/>
   <tizen:setting screen-orientation="landscape" />
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html
new file mode 100755 (executable)
index 0000000..e0bd975
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+
+-->
+
+<html>
+<head>
+<title>AlarmAbsolute_constructor_date_period</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: AlarmAbsolute_constructor_date_period
+//==== LABEL Test whether the constructor with date parameter and period parameter are supported
+//==== SPEC Tizen Web API:Application:Alarm:AlarmAbsolute:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRA CONSTRM
+
+test(function () {
+    var alarm, date = new Date(), period = 300;
+    date.setFullYear(date.getFullYear() + 1);
+    date.setMilliseconds(0);
+    alarm = new tizen.AlarmAbsolute(date, period);
+    assert_true(alarm instanceof tizen.AlarmAbsolute, "object was not created properly");
+    assert_equals(alarm.date.getTime(), date.getTime(), "date passed as constructor parameter is different than date in the object");
+    assert_array_equals(alarm.period, period, "period passed as constructor parameter is different than period in the object");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html
new file mode 100755 (executable)
index 0000000..80dc55e
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+
+-->
+
+<html>
+
+<head>
+<title>AlarmAbsolute_period_attribute</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: AlarmAbsolute_period_attribute
+//==== LABEL Check AlarmAbsolute for period attribute
+//==== SPEC Tizen Web API:Application:Alarm:AlarmAbsolute:period A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO ADV
+
+test(function () {
+    var alarm1, alarm2, date = new Date(), period = 60;
+    date.setFullYear(date.getFullYear() + 1);
+    alarm1 = new tizen.AlarmAbsolute(date);
+    assert_true("period" in alarm1, "attribute period doesn't exist in provided object");
+    assert_type(alarm1.period, "null", "default value should be null");
+    alarm2 = new tizen.AlarmAbsolute(date, period);
+    check_readonly(alarm2, "period", alarm2.period, "number", 1);
+    assert_equals(alarm2.period, period, "period passed as constructor parameter is different than period in the object");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 3bccdd0..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch
-//==== LABEL Check non-optional argument 'ApplicationInformationEventCallback' type conversion
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
-    var i, conversionTable = getTypeConversionExceptions("object");
-
-    for (i = 0; i < conversionTable.length; i++) {
-        assert_throws({name: conversionTable[i][1]}, function () {
-            tizen.application.addAppInfoEventListener(conversionTable[i][0]);
-        }, "exception should be thrown");
-    }
-
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html
deleted file mode 100755 (executable)
index ea5a1f5..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb
-//==== LABEL Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTL
-
-test(function () {
-    var i, conversionTable = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
-
-    for (i = 0; i < conversionTable.length; i++) {
-        assert_throws({name: conversionTable[i][1]}, function () {
-            tizen.application.addAppInfoEventListener(conversionTable[i][0]);
-        }, "an exception should be thrown");
-    }
-
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html
deleted file mode 100755 (executable)
index b6cfe36..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_exist</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_exist
-//==== LABEL Check if method addAppInfoEventListener exist
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
-    check_method_exists(tizen.application, "addAppInfoEventListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html
deleted file mode 100755 (executable)
index 3a4d376..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_missarg</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_missarg
-//==== LABEL Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
-    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
-        tizen.application.addAppInfoEventListener();
-    }, "method was called without ApplicationInformationEventCallback but exception was not thrown");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html
deleted file mode 100755 (executable)
index c6f9dc0..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_oninstalled</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/app_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_oninstalled
-//==== LABEL Check using addAppInfoEventListener method (installation process) in ApplicationManager interface
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRE Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)
-//==== STEP Click run and install TCTAppInfoEventTest1.wgt application from My files app (Phone/Others directory).
-//==== EXPECT Pass
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MAST MR
-
-executeCommand(uninstallApplicationCommand(TCT_APPINFOEVENT1_PKG_NAME));
-
-setup({timeout: 300000});
-
-var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            t.done();
-        }),
-        onupdated: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onuninstalled: t.step_func(function () {
-            assert_unreached("This function (onuninstalled) should not be used");
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST1_NAME, TCT_WGT_LOCATION));
-
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html
deleted file mode 100755 (executable)
index cfdc62f..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_onuninstalled</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/app_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_onuninstalled
-//==== LABEL Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from My files app (Phone/Others directory)).
-//==== STEP Click run and uninstall TCTAppInfoEventTest1 application.
-//==== EXPECT Pass
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MAST MR
-
-executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST1_NAME, TCT_WGT_LOCATION));
-
-setup({timeout: 300000});
-
-var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onupdated: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onuninstalled: t.step_func(function () {
-            t.done();
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    executeCommand(uninstallApplicationCommand(TCT_APPINFOEVENT1_PKG_NAME));
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html
deleted file mode 100755 (executable)
index eb01491..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_addAppInfoEventListener_onupdated</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/app_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_addAppInfoEventListener_onupdated
-//==== LABEL Check using addAppInfoEventListener method (updating process) in ApplicationManager interface
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from My files app (Phone/Others directory)).
-//==== STEP Click run and install TCTAppInfoEventTest2.wgt application from My files app (Phone/Others directory).
-//==== EXPECT Pass
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MAST MR
-
-executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST1_NAME, TCT_WGT_LOCATION));
-
-setup({timeout: 300000});
-
-var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            assert_unreached("This function (oninstalled) should not be used");
-        }),
-        onupdated: t.step_func(function () {
-            t.done();
-        }),
-        onuninstalled: t.step_func(function () {
-            assert_unreached("This function (onuninstalled) should not be used");
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    executeCommand(installApplicationCommand(TCT_TCTAPPINFOEVENTTEST2_NAME, TCT_WGT_LOCATION));
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html
deleted file mode 100755 (executable)
index b476309..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_removeAppInfoEventListener</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_removeAppInfoEventListener
-//==== LABEL Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MR
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), appEventCallback, watchId, retVal;
-t.step(function () {
-
-    appEventCallback = {
-        oninstalled: t.step_func(function () {
-            assert_unreached("This function (oninstalled) should not be used");
-        }),
-        onupdated: t.step_func(function () {
-            assert_unreached("This function (onupdated) should not be used");
-        }),
-        onuninstalled: t.step_func(function () {
-            assert_unreached("This function (onuninstalled) should not be used");
-        })
-    };
-
-    watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "long", "wrong listener ID");
-    retVal = tizen.application.removeAppInfoEventListener(watchId);
-    assert_type(retVal, "undefined", "this method should return nothing");
-    t.done();
-
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html
deleted file mode 100755 (executable)
index 92c2bde..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-
--->
-
-<html>
-
-<head>
-<title>ApplicationManager_removeAppInfoEventListener_exist</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: ApplicationManager_removeAppInfoEventListener_exist
-//==== LABEL Check if method removeAppInfoEventListener exist
-//==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
-    check_method_exists(tizen.application, "removeAppInfoEventListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 598db7d..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_changeCallback_TypeMismatch</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_changeCallback_TypeMismatch
-//==== LABEL Check if setChangeListener throws exception when changeCallback is incorrect
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MC
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
-    conversionTable, changeCallback, exceptionName, i;
-
-t.step(function () {
-    conversionTable = getTypeConversionExceptions("object", false);
-
-    for(i = 0; i < conversionTable.length; i++) {
-        changeCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.content.setChangeListener(changeCallback);
-            }, "Given incorrect changeCallback.");
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 5297137..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_changeCallback_invalid_cb</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_changeCallback_invalid_cb
-//==== LABEL Check if setChangeListener throws exception when changeCallback is invalid listener
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MTL
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
-    exceptionName, incorrectListeners, i, changeCallback;
-
-t.step(function () {
-    incorrectListeners = getListenerConversionExceptions(["oncontentadded",
-        "oncontentupdated", "oncontentremoved"]);
-    for(i = 0; i < incorrectListeners.length; i++) {
-        changeCallback  = incorrectListeners[i][0];
-        exceptionName = incorrectListeners[i][1];
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.content.setChangeListener(changeCallback);
-            }, "Given invalid changeCallback.");
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html
deleted file mode 100755 (executable)
index 6b226b5..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_exist</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_exist
-//==== LABEL Check if setChangeListener exists
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("setChangeListener" in tizen.content,
-        "ContentManager should have setChangeListener method");
-    check_method_exists(tizen.content, "setChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html
deleted file mode 100755 (executable)
index 31ca6e6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_setChangeListener_missarg</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_setChangeListener_missarg
-//==== LABEL Check if setChangeListener method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Content:Content:ContentManager:setChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-test(function () {
-    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
-        tizen.content.setChangeListener();
-    }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html
deleted file mode 100755 (executable)
index ee6d18b..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_unsetChangeListener_exist</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_unsetChangeListener_exist
-//==== LABEL Check if unsetChangeListener exists
-//==== SPEC Tizen Web API:Content:Content:ContentManager:unsetChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("unsetChangeListener" in tizen.content,
-        "ContentManager should have unsetChangeListener method");
-    check_method_exists(tizen.content, "unsetChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html
deleted file mode 100755 (executable)
index d12dc90..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_unsetChangeListener_extra_argument</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_unsetChangeListener_extra_argument
-//==== LABEL Check if unsetChangeListener method can be invoked with extra argument
-//==== SPEC Tizen Web API:Content:Content:ContentManager:unsetChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.content, "unsetChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..73f24e5
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileArraySuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileArraySuccessCallback_notexist
+//==== LABEL Interface FileArraySuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..5b39ba4
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileArraySuccessCallback_onsuccess</title>
+<script 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: FileArraySuccessCallback_onsuccess
+//==== LABEL Test whether FileArraySuccessCallback::onsuccess is called with valid argument
+//==== 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(document.title),
+    resolveSuccess, resolveError, listSuccess, i, fsTestFileName, foundValue = false;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem");
+
+    listSuccess = t.step_func(function (files) {
+        assert_type(files, "array", "incorrect received value");
+        assert_greater_than(files.length, 0, "incorrect received array");
+        for (i = 0; i < files.length; i++) {
+            assert_type(files[i], "object", "incorrect received array element");
+            checkOwnProperties(files[i]);
+            if ((files[i].name === fsTestFileName) && (files[i].isFile === true)) {
+                foundValue = true;
+            }
+        }
+        assert_true(foundValue, "new file not found");
+        t.done();
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createFile(fsTestFileName);
+        dir.listFiles(listSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..10f9a1e
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStreamSuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStreamSuccessCallback_notexist
+//==== LABEL Interface FileStreamSuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..dd8d6e9
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileStreamSuccessCallback_onsuccess</title>
+<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 FileStreamSuccessCallback::onsuccess is called with argument of proper type
+//==== 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(document.title),
+    resolveSuccess, resolveError, file, openStreamSuccess,
+    fsTestFileName = getFileName("filesystem.txt");
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_type(fs, "object", "fs isn't an object");
+        assert_own_property(fs, "eof", "fs doesn't have eof property");
+        assert_own_property(fs, "position", "fs doesn't have eof property");
+        assert_own_property(fs, "bytesAvailable", "fs doesn't have eof property");
+        fs.close();
+        t.done();
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html
new file mode 100755 (executable)
index 0000000..6e44b46
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_bytesAvailable_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_bytesAvailable_attribute
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::bytesAvailable attribute exist, is of proper type
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    testStr = "1234", fsTestFileName = getFileName("existFile01.txt");
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(testStr);
+        fs.position = 0;
+        assert_true("bytesAvailable" in fs, "bytesAvailable doesn't exist");
+        check_readonly(fs, "bytesAvailable", fs.bytesAvailable, "long", fs.bytesAvailable + 2);
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html
new file mode 100755 (executable)
index 0000000..7beb4ce
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_close</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_close
+//==== PRIORITY P2
+//==== LABEL Check if FileStream::close() method works
+//==== 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(document.title),
+    fsTestFileName = getFileName("closeFile.txt"), retVal = null,
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        retVal = fs.close();
+        assert_equals(retVal, undefined, "incorrect returned value close()");
+        assert_throws(IO_EXCEPTION, function () {
+                fs.read(2);
+            });
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html
new file mode 100755 (executable)
index 0000000..6d93bdb
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_close_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_close_exist
+//==== LABEL Check if FileStream::close() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile04.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("close" in fs, "No close method in FileStream");
+        check_method_exists(fs, "close");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html
new file mode 100755 (executable)
index 0000000..1fc2d8c
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_close_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_close_extra_argument
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::close() method can be called with extra arguments
+//==== 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 MNAEX
+
+var t = async_test(document.title),
+    fsTestFileName = getFileName("TestFile.txt"),
+    resolveSuccess, resolveError, file, openStreamSuccess, openStreamError;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (stream) {
+        checkExtraArgument(stream, "close");
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html
new file mode 100755 (executable)
index 0000000..fed8041
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_eof_attribute</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_eof_attribute
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::eof attribute exists, is Boolean
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile02.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("eof" in fs, "eof doesn't exist");
+        check_readonly(fs, "eof", false, "boolean", true);
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html
new file mode 100755 (executable)
index 0000000..79fddd5
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileStream_extend</title>
+<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 instance of FileStream can be extended with new attribute
+//==== 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(document.title),
+    fsTestFileName = getFileName("closeFile.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        check_extensibility(fs);
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html
new file mode 100755 (executable)
index 0000000..a8a1f55
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_notexist
+//==== LABEL Interface FileStream should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html
new file mode 100755 (executable)
index 0000000..1205d77
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_position_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_position_attribute
+//==== PRIORITY P2
+//==== LABEL Check if FileStream::position attribute exists, is of proper type, can be changed
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile0.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_own_property(fs, "position", "this FileStream doesn't have own position property");
+        assert_type(fs.position, "long", "incorrect type of position");
+        assert_equals(fs.position, 0, "incorrect default position");
+        fs.write("abcdefg");
+        assert_equals(fs.position, 7, "incorrect default position after write");
+        fs.position = 2;
+        assert_equals(fs.position, 2, "can't change the position");
+        check_not_nullable(fs, "position");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html
new file mode 100755 (executable)
index 0000000..98befd4
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_read</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_read
+//==== LABEL Check if FileStream::read() method 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(document.title),
+    fsTestFileName = getFileName("filesystem01.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = "abcde", text;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        text = fs.read(5);
+        fs.close();
+        assert_equals(text, expected, "read fs failed, read '" + text + "', expected '" + expected + "'");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html
new file mode 100755 (executable)
index 0000000..4c6c02b
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBase64</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBase64
+//==== LABEL Check if FileStream::readBase64() method works
+//==== 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(document.title),
+    fsTestFileName = getFileName("readBaseFile.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
+
+t.step(function (){
+
+    openStreamReadSuccess = t.step_func(function (fs) {
+        base64 = fs.readBase64(256);
+        fs.close();
+        assert_equals(base64, expected, "read fs failed, read " + base64 + ", expected " + expected);
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html
new file mode 100755 (executable)
index 0000000..88a146f
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBase64_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBase64_exist
+//==== LABEL Check if FileStream::readBase64() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile07.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("readBase64" in fs, "readBase64 exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html
new file mode 100755 (executable)
index 0000000..d23f46d
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list 
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice, 
+this list of conditions and the following disclaimer in the documentation 
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors 
+may be used to endorse or promote products derived from this work without 
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>FileStream_readBase64_without_r_permission</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_readBase64_without_r_permission
+//==== LABEL Check if FileStream::readBase64() throws exception when reading from a file opened in 'w' mode
+//==== 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(document.title), testFile,
+    fsTestFileName = getFileName("readBase64WithoutR.txt"), resolveSuccess,
+    resolveError, openStreamSuccess, openStreamError, expected = "IOError";
+
+t.step(function () {
+
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.readBase64(256);
+        }, expected + "exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html
new file mode 100755 (executable)
index 0000000..ee150e9
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBase64_writeFile</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBase64_writeFile
+//==== LABEL Check if you can create a new file, write content to it, 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(document.title),
+    fsTestFileName = getFileName("fileSystem-File03.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        base64 = fs.readBase64(256);
+        fs.close();
+        assert_equals(base64, expected, "read fs failed, read " + base64 + ", expected " + expected);
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html
new file mode 100755 (executable)
index 0000000..b748fc8
--- /dev/null
@@ -0,0 +1,93 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes</title>
+<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 FileStream::readBytes() method 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(document.title), i,
+    fsTestFileName = getFileName("readBytesFile.txt"), stringToWrite = "1234567",
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, len,
+    openStreamReadSuccess, file, bytes;
+
+t.step(function () {
+    openStreamReadSuccess = t.step_func(function (fs) {
+        bytes = fs.readBytes(256);
+        fs.close();
+        assert_type(bytes, "array", "incorrect read type");
+        assert_equals(bytes.length, stringToWrite.length, "read fs failed, read " + bytes.length + ", expected " + stringToWrite.length);
+        for (i = 0, len = bytes.length; i < len; i++) {
+            assert_equals(bytes[i], stringToWrite.charCodeAt(i), "incorrect read value");
+        }
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(stringToWrite);
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html
new file mode 100755 (executable)
index 0000000..401915a
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script> 
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBytes_exist
+//==== LABEL Check if FileStream::readBytes() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile06.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("readBytes" in fs, "readBytes exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html
new file mode 100755 (executable)
index 0000000..f541485
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_readBytes_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_readBytes_misarg
+//==== LABEL Check if FileStream::readBytes() with missing mandatory argument throws exception
+//==== 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 MMA
+
+var t = async_test(document.title), fsTestFileName = getFileName("readBytesFile.txt"), stringToWrite = "1234567", resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, openStreamReadSuccess, file;
+
+t.step(function () {
+    openStreamReadSuccess = t.step_func(function (fs) {
+        assert_throws(INVALID_VALUES_EXCEPTION, function () {
+            fs.readBytes();
+        }, INVALID_VALUES_EXCEPTION + " should be thrown.");
+        fs.close();
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(stringToWrite);
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html
new file mode 100755 (executable)
index 0000000..7bb6cc4
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list 
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice, 
+this list of conditions and the following disclaimer in the documentation 
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors 
+may be used to endorse or promote products derived from this work without 
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes_without_r_permission</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_readBytes_without_r_permission
+//==== LABEL Check if FileStream::readBytes() throws exception when reading from a file opened in 'w' mode
+//==== 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(document.title), testFile,
+    fsTestFileName = getFileName("readBytesWithoutR.txt"),
+    resolveSuccess, resolveError, openStreamSuccess,
+    openStreamError, expected = "IOError";
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.readBytes(2);
+        }, expected + "exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html
new file mode 100755 (executable)
index 0000000..aca39fb
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_readBytes_writeFile</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_readBytes_writeFile
+//==== LABEL Check if you can create a new file, write content to it, 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(document.title),
+    fsTestFileName = getFileName("fileSystem-File04.txt"),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamReadSuccess, file, expected = 7, bytes;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        bytes = fs.readBytes(256);
+        fs.close();
+        assert_equals(bytes.length, expected, "read fs failed, read " + bytes.length + ", expected " + expected);
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..0769106
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_read_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_read_TypeMismatch
+//==== LABEL Check if FileStream::read() throws an exception when given wrong type of charCount
+//==== 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 MC
+
+var t = async_test(document.title), fsTestFileName = getFileName("write03.txt"), testFile, resolveSuccess, resolveError, openStreamSuccess, openStreamError, charCount, conversionTable, i;
+
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("long", false);
+    openStreamSuccess = t.step_func(function (fs) {
+        for (i = 0; i < conversionTable.length; i++) {
+            charCount = conversionTable[i][0];
+            assert_throws(INVALID_VALUES_EXCEPTION,
+                function () {
+                    fs.read(charCount);
+                }, INVALID_VALUES_EXCEPTION + " should be thrown - charCount type mismatch.");
+        }
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html
new file mode 100755 (executable)
index 0000000..87cabfc
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_read_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_read_exist
+//==== LABEL Check if FileStream::read() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    fsTestFileName = getFileName("existFile05.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("read" in fs, "read exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html
new file mode 100755 (executable)
index 0000000..febac77
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_read_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_read_misarg
+//==== LABEL Check if FileStream::read() throws exception with missing mandatory argument
+//==== 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 MMA
+
+var t = async_test(document.title), fsTestFileName = getFileName("filesystem01.txt"), resolveSuccess, resolveError, openStreamError, openStreamSuccess, openStreamReadSuccess, file;
+
+t.step(function (){
+    openStreamReadSuccess = t.step_func(function (fs) {
+        assert_throws(INVALID_VALUES_EXCEPTION, function () {
+            fs.read();
+        }, INVALID_VALUES_EXCEPTION + " should be thrown - missing type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("abcdefg");
+        fs.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html
new file mode 100755 (executable)
index 0000000..0fb0d01
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list 
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice, 
+this list of conditions and the following disclaimer in the documentation 
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors 
+may be used to endorse or promote products derived from this work without 
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_read_without_r_permission</title>
+<meta charset="utf-8" />
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_read_without_r_permission
+//==== LABEL Check if FileStream::read() throws exception when reading from a file opened in 'w' mode
+//==== 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(document.title),
+    fsTestFileName = getFileName("write03.txt"), expected = "IOError", testFile,
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError;
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.read(fs.bytesAvailable);
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html
new file mode 100755 (executable)
index 0000000..a00c7fc
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_read_writeFile</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_read_writeFile
+//==== LABEL Check if you can create a new file, write content to it, 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(document.title),
+    resolveSuccess, resolveError, openStreamError, openStreamSuccess,
+    openStreamRSuccess, file, expected = "test write method", text,
+    fsTestFileName = getFileName("fileSystem-File05.txt");
+
+t.step(function (){
+    openStreamRSuccess = t.step_func(function (fs) {
+        text = fs.read(expected.length);
+        fs.close();
+        assert_equals(text, expected, "read fs failed, read '" + text + "', expected '" + expected + "'");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(expected);
+        fs.close();
+        file.openStream("r", openStreamRSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html
new file mode 100755 (executable)
index 0000000..5e8b08e
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_write</title>
+<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 FileStream::write() method 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamRSuccess, openStreamWSuccess,
+    openStreamError, file, text, testString = "abcde", retVal = null,
+    fsTestFileName = getFileName("GoodFile.txt");
+
+t.step(function () {
+    openStreamRSuccess = t.step_func(function (fs) {
+        text = fs.read(testString.length);
+        fs.close();
+        assert_equals(text, testString, "Invalid characters read");
+        t.done();
+    });
+    openStreamWSuccess = t.step_func(function (fs) {
+        retVal = fs.write(testString);
+        fs.close();
+        assert_equals(retVal, undefined, "incorrect returned value from write()");
+        file.openStream("r", openStreamRSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html
new file mode 100755 (executable)
index 0000000..e651370
--- /dev/null
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBase64</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBase64
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBase64() method works properly
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamWSuccess, openStreamRSuccess, retVal = null,
+    openStreamError, file, base64String = "YWJjZGVmZw==", expected = "abcdefg",
+    readString, fsTestFileName = getFileName("readBaseFile.txt");
+
+t.step(function () {
+    openStreamRSuccess = t.step_func(function (fs) {
+        readString = fs.read(expected.length);
+        fs.close();
+        assert_equals(readString, expected, "Incorrect bytes.");
+        t.done();
+    });
+    openStreamWSuccess = t.step_func(function (fs) {
+        retVal = fs.writeBase64(base64String);
+        assert_equals(retVal, undefined, "incorrect returned value from writeBase64()");
+        fs.close();
+        file.openStream("r", openStreamRSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html
new file mode 100755 (executable)
index 0000000..608d2dd
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBase64_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBase64_exist
+//==== LABEL Check if FileStream::writeBase64() method exists
+//==== PRIORITY P0
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    fsTestFileName = getFileName("readBaseFile.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("writeBase64" in fs, "writeBase64 exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html
new file mode 100755 (executable)
index 0000000..5a7bf27
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBase64_without_w_permission</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBase64_without_w_permission
+//==== LABEL Check if FileStream::writeBase64() throws exception when writing to a file opened in 'r' mode
+//==== 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
+//==== TEST_CRITERIA
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    expected = "IOError",  base = "YWJjZGVmZw==",
+    t = async_test(document.title),
+    fsTestFileName = getFileName("write11.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.writeBase64(base);
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html
new file mode 100755 (executable)
index 0000000..e715ab2
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBytes</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBytes
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBytes() method works properly
+//==== 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 MMINA MR
+
+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");
+
+t.step(function () {
+    openStreamWithRSuccess = t.step_func(function (fs) {
+        bytes = fs.readBytes(file.fileSize);
+        fs.close();
+        assert_array_equals(bytes, testString, "Invalid bytes read");
+        t.done();
+    });
+
+    openStreamWithWSuccess = t.step_func(function (fs) {
+        retVal = fs.writeBytes(testString);
+        assert_equals(retVal, undefined, "incorrect returned value from writeBytes()");
+        fs.close();
+        file.openStream("r", openStreamWithRSuccess, openStreamError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWithWSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..62c40c0
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBytes_byteData_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBytes_byteData_TypeMismatch
+//==== LABEL Check if FileStream::writeBytes() throws exception for wrong type of byteData
+//==== 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 MC
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError,
+    file, conversionTable, bytes, i, exceptionName = "TypeMismatchError",
+    fsTestFileName = getFileName("readBytesFiletest3.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        conversionTable = getTypeConversionExceptions("array", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            bytes = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName}, function () {
+                fs.writeBytes(bytes);
+            }, exceptionName + " should be thrown - given incorrect byteData.");
+        }
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html
new file mode 100755 (executable)
index 0000000..beac177
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBytes_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBytes_exist
+//==== LABEL Check if FileStream::writeBytes() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    fsTestFileName = getFileName("existFile09.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("writeBytes" in fs, "writeBytes exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html
new file mode 100755 (executable)
index 0000000..3915f20
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStream_writeBytes_missarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileStream_writeBytes_missarg
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBytes() method throws exception for missing mandatory argument
+//==== 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 MMA
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    expected = "TypeMismatchError",
+    fsTestFileName = getFileName("readBytesFiletest2.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.writeBytes();
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html
new file mode 100755 (executable)
index 0000000..9d474e0
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>FileStream_writeBytes_with_additional_null_parameter</title>
+<meta charset="utf-8">
+<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_writeBytes_with_additional_null_parameter
+//==== PRIORITY P1
+//==== LABEL Check if FileStream::writeBytes() method properly writes the specified bytes to file
+//==== 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(document.title),
+    file, resolveSuccess, resolveError, openStreamWriteSuccess,
+    openStreamError, openStreamReadSuccess, testString = [1, 2, 3, 4, 5, 6, 7],
+    readString, fsTestFileName = getFileName("readBytesFileTestNull.txt");
+
+t.step(function () {
+    openStreamReadSuccess = t.step_func(function (stream) {
+        readString = stream.readBytes(testString.length, null);
+        stream.close();
+        assert_type(readString, "array", "type read from file");
+        assert_equals(readString.toString(), testString.toString(), "string read from file");
+        t.done();
+    });
+
+    openStreamWriteSuccess = t.step_func(function (stream) {
+        stream.writeBytes(testString, null);
+        stream.close();
+        file.openStream("r", openStreamReadSuccess, openStreamError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamWriteSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError);
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html
new file mode 100755 (executable)
index 0000000..42def46
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_writeBytes_without_w_permission</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_writeBytes_without_w_permission
+//==== LABEL Check if FileStream::writeBytes() throws exception when writing to a file opened in 'r' mode
+//==== 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    bytes = new Array(104, 101, 108), expected = "IOError",
+    fsTestFileName = getFileName("writeBytesWOPerm.txt");
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.writeBytes(bytes);
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html
new file mode 100755 (executable)
index 0000000..045d4ad
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_write_exist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStream_write_exist
+//==== LABEL Check if FileStream::write() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    fsTestFileName = getFileName("existFile08.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_true("write" in fs, "write exists");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html
new file mode 100755 (executable)
index 0000000..1c4751f
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileStream_write_without_w_permission</title>
+<meta charset="utf-8" />
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileStream_write_without_w_permission
+//==== LABEL Check if FileStream::write() throws exception when writing to a file opened in 'r' mode
+//==== 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(document.title),
+    fsTestFileName = getFileName("write09.txt"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    expected = "IOError";
+
+t.step(function (){
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_throws({name: expected}, function () {
+            fs.write("test");
+        }, expected + " exception should be thrown");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..930c970
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileStringSuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileStringSuccessCallback_notexist
+//==== LABEL Interface FileStringSuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..7285ded
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<title>FileStringSuccessCallback_onsuccess</title>
+<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 FileStringSuccessCallback::onsuccess is called with valid argument
+//==== 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(document.title), stringToWrite = "HelloWorld",
+    resolveSuccess, resolveError, readAsTextSuccess, openStreamSuccess, file,
+    fsTestFileName = getFileName("filesystem.txt");
+
+t.step(function () {
+    readAsTextSuccess = t.step_func(function (fileStr) {
+        assert_type(fileStr, "string", "incorrect type of passed argument");
+        assert_equals(fileStr, stringToWrite, "incorrect value of passed argument");
+        t.done();
+    });
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(stringToWrite);
+        fs.close();
+        file.readAsText(readAsTextSuccess);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html
new file mode 100755 (executable)
index 0000000..e619776
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSuccessCallback_notexist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: FileSuccessCallback_notexist
+//==== LABEL Interface FileSuccessCallback should not be accessible
+//==== 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");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..2988c64
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+-->
+
+<html>
+<head>
+<meta charset="utf-8"/>
+<title>FileSuccessCallback_onsuccess</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: FileSuccessCallback_onsuccess
+//==== LABEL Test whether FileSuccessCallback::onsuccess is called with valid argument
+//==== 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_type(dir, "object", "incorrect received argument");
+        checkOwnProperties(dir);
+        assert_equals(dir.path, "images", "incorrect received File object");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html
new file mode 100755 (executable)
index 0000000..80043cc
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method can be called with only mandatory argument
+//==== 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 MMINA MR
+
+var t = async_test(document.title),
+    resolveSuccess, retValue = null;
+t.step(function () {
+    resolveSuccess = t.step_func(function (storage) {
+        assert_not_equals(storage, null, "Null check");
+        assert_equals(retValue, undefined, "resolve returns wrong value");
+
+        t.done();
+    });
+
+    retValue = tizen.filesystem.resolve("documents", resolveSuccess);
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html
new file mode 100755 (executable)
index 0000000..f00027f
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_camera</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_camera
+//==== LABEL Check if FileSystemManager::resolve() method works for camera virtual root
+//==== 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
+//==== PRIORITY P2
+//==== TEST_CRITERIA MOA
+
+var expected = "camera", resolveSuccess, resolveError,
+    t = async_test(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path , expected, "resolve camera to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("camera", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html
new file mode 100755 (executable)
index 0000000..8ba84b0
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_documents</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root
+//==== 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    t = async_test(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve documents to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html
new file mode 100755 (executable)
index 0000000..e4231b9
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_downloads</title>
+<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 FileSystemManager::resolve() method works for Downloads virtual root
+//==== 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html
new file mode 100755 (executable)
index 0000000..667059e
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_errorCallback_invoked</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_errorCallback_invoked
+//==== LABEL Check if errorcallback of FileSystemManager::resolve() method can be invoked when location is wrong type
+//==== 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(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("resolveSuccess was invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        t.done();
+    });
+
+    tizen.filesystem.resolve(undefined, resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html
new file mode 100755 (executable)
index 0000000..d41aa19
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8"/>
+<title>FileSystemManager_resolve_error_invoked</title>
+<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: FileSystemManager_resolve_error_invoked
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument (absolute)
+//==== 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(document.title),
+    resolveSuccess, resolveError;
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "NotFoundError", "incorrect error was thrown");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("/notExistingDirectory", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html
new file mode 100755 (executable)
index 0000000..9a055cb
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_exist</title>
+<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_exist
+//==== PRIORITY P0
+//==== LABEL Check if FileSystemManager::resolve() method exists
+//==== 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 ME
+
+test(function () {
+    assert_true("resolve" in tizen.filesystem, "FileSystemManager has resolve method");
+    check_method_exists(tizen.filesystem, "resolve");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html
new file mode 100755 (executable)
index 0000000..8d4198a
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_images</title>
+<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_images
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Images virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve images to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html
new file mode 100755 (executable)
index 0000000..631310a
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_location_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_location_invalid
+//==== LABEL Check if FileSystemManager::resolve() method work for 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(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("resolveSuccess was invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        t.done();
+    });
+
+    tizen.filesystem.resolve("", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html
new file mode 100755 (executable)
index 0000000..60ce929
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_missarg</title>
+<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_missarg
+//==== LABEL Check if FileSystemManager::resolve() throws exception for missing mandatory argument
+//==== PRIORITY P0
+//==== 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 MMA
+
+test(function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+        tizen.filesystem.resolve();
+    }, "Method should throw an exception");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..7de0648
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_TypeMismatch</title>
+<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_TypeMismatch
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong value of mode argument
+//==== 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 MC
+
+var t = async_test(document.title),
+    conversionTable, resolveSuccess, resolveError, mode, exceptionName, i;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("resolveSuccess was invoked");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    conversionTable = getTypeConversionExceptions("enum", true);
+    for (i = 0; i < conversionTable.length; i++) {
+        mode = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+
+        assert_throws({name: exceptionName},
+            function () {
+                tizen.filesystem.resolve("images", resolveSuccess, resolveError, mode);
+            }, exceptionName + " should be thrown - given incorrect errorCallback.");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html
new file mode 100755 (executable)
index 0000000..119bf39
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_a</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root and 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    t = async_test(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve a location with 'a' mode");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "a");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html
new file mode 100755 (executable)
index 0000000..9428893
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_r</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root and 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
+//==== TEST_CRITERIA MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "r");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html
new file mode 100755 (executable)
index 0000000..a4c808f
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_mode_w</title>
+<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 FileSystemManager::resolve() method works for Documents virtual root and 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "documents",
+    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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "w");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html
new file mode 100755 (executable)
index 0000000..fc2ea31
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_music</title>
+<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 FileSystemManager::resolve() method works for Music virtual root
+//==== 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 MOA
+
+
+var resolveSuccess, resolveError, expected = "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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..27d5f03
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onerror_TypeMismatch</title>
+<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_onerror_TypeMismatch
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong type of onerror
+//==== 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 MC
+
+var t = async_test(document.title), i,
+    resolveSuccess, resolveError, exceptionName, conversionTable;
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("functionObject", true);
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    for(i = 0; i < conversionTable.length; i++) {
+        resolveError = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+
+        assert_throws({name: exceptionName},
+            function () {
+                tizen.filesystem.resolve("images", resolveSuccess, resolveError);
+            }, exceptionName + " should be thrown - given incorrect errorCallback.");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..b934d2b
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onerror_invalid_cb</title>
+<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_onerror_invalid_cb
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong onerror
+//==== 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 MTCB
+
+var t = async_test(document.title),
+    resolveError, resolveSuccess, conversionTable;
+
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("functionObject", true);
+    resolveSuccess = t.step_func(function (storage) {
+    });
+    resolveError = {
+        onerror: t.step_func(function (){
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    assert_throws(TYPE_MISMATCH_EXCEPTION,
+        function () {
+            tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+        }, "given incorrect errorCallback");
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..dad41ab
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong type of onsuccess
+//==== 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 MC
+
+var t = async_test(document.title), i,
+    resolveSuccess, resolveError, exceptionName, conversionTable;
+
+t.step(function () {
+    conversionTable = getTypeConversionExceptions("functionObject", false);
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    for (i = 0; i < conversionTable.length; i++) {
+        resolveSuccess = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+
+        assert_throws({name: exceptionName},
+            function () {
+                tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+            }, exceptionName + " should be thrown - given incorrect onSuccess.");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..e4bc6dd
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_onsuccess_invalid_cb</title>
+<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_onsuccess_invalid_cb
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method throws exception for wrong onsuccess
+//==== 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 MTCB
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = {
+        onsuccess: t.step_func(function (){
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    assert_throws(TYPE_MISMATCH_EXCEPTION,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+        }, "given incorrect error callback");
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html
new file mode 100755 (executable)
index 0000000..1d1004b
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones</title>
+<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_ringtones
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Ringtones virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve ringtones to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "r");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html
new file mode 100755 (executable)
index 0000000..1e4d3f4
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones_invalid_mode_a</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_a
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "a");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html
new file mode 100755 (executable)
index 0000000..1b28b82
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones_invalid_mode_rw</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_rw
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "rw");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html
new file mode 100755 (executable)
index 0000000..e0dd35e
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_ringtones_invalid_mode_w</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_w
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("ringtones", resolveSuccess, resolveError, "w");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html
new file mode 100755 (executable)
index 0000000..f83f6f1
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_videos</title>
+<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 FileSystemManager::resolve() method works for Videos virtual root
+//==== 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 MOA
+
+
+var expected = "videos", resolveSuccess, resolveError,
+    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");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html
new file mode 100755 (executable)
index 0000000..3aa48a8
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt-package_invalid_mode_a</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_a
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "a");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html
new file mode 100755 (executable)
index 0000000..0250e0b
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt-package_invalid_mode_rw</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_rw
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "rw");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html
new file mode 100755 (executable)
index 0000000..be5b218
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt-package_invalid_mode_w</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_w
+//==== LABEL Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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(document.title);
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_unreached("this function shouldn't be invoked");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_equals(error.name, "InvalidValuesError", "error.name");
+        t.done();
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "w");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html
new file mode 100755 (executable)
index 0000000..8bbd819
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt_package</title>
+<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_wgt_package
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for 'wgt-package' virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve wgt-package to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("wgt-package", resolveSuccess, resolveError, "r");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html
new file mode 100755 (executable)
index 0000000..4a87c7f
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt_private</title>
+<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_wgt_private
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for 'wgt-private' virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve wgt-private to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("wgt-private", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html
new file mode 100755 (executable)
index 0000000..02e1736
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_wgt_private_tmp</title>
+<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_wgt_private_tmp
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for 'wgt-private-tmp' virtual root
+//==== 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(document.title);
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_equals(dir.path, expected, "resolve wgt-private-tmp to a file handle");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("wgt-private-tmp", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html
new file mode 100755 (executable)
index 0000000..eb937bc
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>FileSystemManager_resolve_with_mode</title>
+<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_with_mode
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Images virtual root with mode 'rw'
+//==== 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 t = async_test(document.title),
+    resolveSuccess, resolveError, expected;
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        expected="images";
+        assert_equals(dir.path, expected, "resolve a location to a file handle");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html
new file mode 100755 (executable)
index 0000000..aa6d521
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Piotr Czaja <p.czaja@samsung.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>FileSystemManager_resolve_with_onerror</title>
+<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_with_onerror
+//==== PRIORITY P2
+//==== LABEL Check if FileSystemManager::resolve() method can be called with onerror argument
+//==== 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 t = async_test(document.title),
+    resolveSuccess, resolveError;
+t.step(function (){
+    resolveSuccess = t.step_func(function (storage) {
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("images", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html
new file mode 100755 (executable)
index 0000000..69fcf5c
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>FileSystemManager_resolve_works_correctly</title>
+<meta charset="utf-8">
+<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: FileSystemManager_resolve_works_correctly
+//==== PRIORITY P1
+//==== LABEL Check if FileSystemManager::resolve() method works for Documents and onsuccess is invoked with proper argument
+//==== 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 t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+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");
+        assert_false(dir.readOnly, "value of readOnly should be equal to false");
+        assert_true("isDirectory" in dir, "isDirectory don't exist in object");
+        assert_true(dir.isDirectory, "value of isDirectory should be equal to true");
+        assert_true("isFile" in dir, "isFile don't exist in object");
+        assert_false(dir.isFile, "value of isFile should be equal to true");
+        assert_true("created" in dir, "created don't exist in object");
+        assert_true("modified" in dir, "modified don't exist in object");
+        assert_true("name" in dir, "name don't exist in object");
+        assert_equals(dir.name, "", "value of name should be equal to empty string");
+        assert_true("path" in dir, "path don't exist in object");
+        assert_equals(dir.path, "documents", "value of path should be equal to string 'documents'");
+        assert_true("fullPath" in dir, "fullPath don't exist in object");
+        assert_equals(dir.fullPath, "documents", "value of fullPath should be equal to string 'documents'");
+        assert_true("fileSize" in dir, "fileSize don't exist in object");
+        assert_type(dir.fileSize, "undefined", "fileSize should be undefined");
+        assert_true("length" in dir, "length don't exist in object");
+        assert_type(dir.length, "long", "type of length should be number");
+        assert_true(dir.length >= 0, "value of length should be >= 0");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html
new file mode 100755 (executable)
index 0000000..45304fe
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>File_copyTo</title>
+<meta charset="utf-8"/>
+<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: File_copyTo
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() method ends successfully (copy file from documents/ to images/)
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "images/" + fsTestFile.name, true);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html
new file mode 100755 (executable)
index 0000000..a244b98
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_copyTo_destinationFilePath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_copyTo_destinationFilePath_invalid
+//==== LABEL Check if copyTo method called with invalid destinationFilePath does what it should
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName, copyToFileSuccess, copyToFileError;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystemtyh.txt");
+    copytoFileSuccess = t.step_func(function () {
+        assert_unreached("copyTo: should invoke error callback");
+    });
+
+    copytoFileError = t.step_func(function (error) {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "", true, copytoFileSuccess, copytoFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html
new file mode 100755 (executable)
index 0000000..755b0c1
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_overwrite_false
+//==== LABEL Check if error callback is invoked when copy a directory to another location where directory of that name already exists (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 resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    fsTestDir2, fsTestDirName2, fsTestSubDir2, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+    fsTestDirName2 = getDirName("filesystem2");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir2 = dir.createDirectory(fsTestDirName2);
+        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html
new file mode 100755 (executable)
index 0000000..1ce89a5
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_overwrite_true
+//==== LABEL Check if you can copy a directory to another location where directory of that name already exists (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 MOA
+
+
+var resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    fsTestDir2, fsTestDirName2, fsTestSubDir2, copyError,
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+    fsTestDirName2 = getDirName("filesystem2");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir2 = dir.createDirectory(fsTestDirName2);
+        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..564379c
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_samedir_samename_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_samedir_samename_overwrite_false
+//==== LABEL Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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 resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..aa5b8c4
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_dir_samedir_samename_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_samedir_samename_overwrite_true
+//==== LABEL Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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 resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    t = async_test(document.title), copyError, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html
new file mode 100755 (executable)
index 0000000..8a6fb59
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_copyTo_exist
+//==== LABEL Check if File::copyTo() method exists
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("copyTo" in dir, "method copyTo exists");
+        check_method_exists(dir, "copyTo");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html
new file mode 100755 (executable)
index 0000000..366d9d6
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_overwrite_false
+//==== LABEL Check if error callback is invoked when copy a file to another directory where a file of that name already exists (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(document.title), expected = "IOError",
+    resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir,
+    fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestSubDirName1 = getFileName("filesystem1sub");
+    fsTestSubDirName2 = getFileName("filesystem2sub");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
+        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
+        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
+        fsTestSubDir2.createFile(fsTestFileName);
+        fsTestSubDir1.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html
new file mode 100755 (executable)
index 0000000..b5ed0fa
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_overwrite_true
+//==== LABEL Check if you can copy a file to another directory where a file of that name already exists (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 MOA
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, copyError,
+    fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestSubDirName1 = getFileName("filesystem1sub");
+    fsTestSubDirName2 = getFileName("filesystem2sub");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
+        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
+        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
+        fsTestSubDir2.createFile(fsTestFileName);
+        fsTestSubDir1.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..ee9fb22
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_samedir_samename_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_samedir_samename_overwrite_false
+//==== LABEL Check if error callback is invoked when copy a file to the same location (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(document.title), expectedError = "IOError",
+    resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestFile.fullPath, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..3ea0fe3
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+*Neither the name of Intel Corporation nor the names of its contributors
+may be used to endorse or promote products derived from this work without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_file_samedir_samename_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_samedir_samename_overwrite_true
+//==== LABEL Check if error callback is invoked when copy a file to the same location (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(document.title), resolveSuccess, copyError,
+    resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestFile.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..5d29a59
--- /dev/null
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_copyTo_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_copyTo_onerror_TypeMismatch
+//==== LABEL Check if File::copyTo() throws exception when type of errorCallback is wrong
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, copyError, i, copySuccess, fsTestFileName,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            copyError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..414de51
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<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: File_copyTo_onerror_invalid_cb
+//==== LABEL Check if File::copyTo() throws exception for wrong errorCallback
+//==== 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(document.title), resolveSuccess, resolveError,
+    copySuccess, copyError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copyError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..31f4b86
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_copyTo_onsuccess_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_copyTo_onsuccess_TypeMismatch
+//==== LABEL Check if File::copyTo() throws exception when type of successCallback is wrong
+//==== 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(document.title), copySuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            copySuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..b1059b6
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>File_copyTo_onsuccess_invalid_cb</title>
+<meta charset="utf-8"/>
+<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_copyTo_onsuccess_invalid_cb
+//==== LABEL Check if File::copyTo() throws exception for wrong successCallback
+//==== 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(document.title),
+    resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html
new file mode 100755 (executable)
index 0000000..bc5cf5b
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_copyTo_originFilePath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_copyTo_originFilePath_invalid
+//==== LABEL Check if copyTo method called with invalid originFilePath does what it should
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName, copyToFileSuccess, copyToFileError;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    copytoFileSuccess = t.step_func(function () {
+        assert_unreached("copyTo:should invoke error callback");
+    });
+
+    copytoFileError = t.step_func(function (error) {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo("", "images/" + fsTestFile.name, true, copytoFileSuccess, copytoFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html
new file mode 100755 (executable)
index 0000000..6675bc9
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_file_handle</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_with_file_handle
+//==== LABEL Check if File::copyTo() calls errorCallback when called for object representing file, not a directory
+//==== 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(document.title);
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.copyTo(fsTestFile.fullPath, fsTestDir.fullPath, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html
new file mode 100755 (executable)
index 0000000..cb89b69
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_null_success_and_error_callbacks</title>
+<meta charset="utf-8">
+<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_copyTo_with_null_success_and_error_callbacks
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() can be invoked with null successCallback and errorCallback
+//==== 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(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName1, fsTestFileName2,
+    copyPath;
+
+t.step(function () {
+
+    fsTestFileName1 =  getFileName("filesystem1.txt");
+    fsTestFileName2 =  getFileName("filesystem2.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName1);
+        copyPath = dir.fullPath + "/" + fsTestFileName2;
+        dir.copyTo(fsTestFile.fullPath, copyPath, false, null, null);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html
new file mode 100755 (executable)
index 0000000..27b30d7
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_onerror</title>
+<meta charset="utf-8"/>
+<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_copyTo_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() calls errorCallback (nonexisting originFilePath)
+//==== 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(document.title),
+    resolveSuccess, resolveError, copyToSuccess, copyToError, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName =  getFileName("notexistingfile.txt");
+
+    copyToError = t.step_func(function () {
+        t.done();
+    });
+
+    copyToSuccess = t.step_func(function () {
+        assert_unreached("copyToError callback should be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.copyTo(fsTestFileName, "images/" + fsTestFileName, true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..fc28b89
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_with_onsuccess</title>
+<meta charset="utf-8"/>
+<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_copyTo_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::copyTo() with onSuccess creates a file copy
+//==== 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(document.title), resolveSuccess, resolveError, resolveSuccess2, resolveError2,
+    fsTestFileName, fsTestFile, copyToSuccess, retVal = null;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess2 = t.step_func(function (dir) {
+        fsTestFile = dir.resolve(fsTestFileName);
+        assert_equals(fsTestFile.name, fsTestFileName, "file wasn't copied properly");
+        assert_true(fsTestFile.isFile, "file wasn't copied properly");
+        t.done();
+    });
+
+    resolveError2 = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        tizen.filesystem.resolve("images", resolveSuccess2, resolveError2, "rw");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.copyTo(fsTestFile.fullPath, "images/" + fsTestFile.name, true, copyToSuccess);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html
new file mode 100755 (executable)
index 0000000..004bfe5
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+</head>
+<title>File_copyTo_writeFile_newName</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_newName
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new empty file, write content into it, then request a copy of it (different name, same directory)
+//==== 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, copySuccess, copyError, openStreamSuccess, openStreamError,
+    fsTestFileName, fsTestFileName2, fsTestFile, fsTestDirName, fsTestDir,
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+    fsTestDirName = getDirName("filesystem");
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFileName2, true, copySuccess, copyError);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html
new file mode 100755 (executable)
index 0000000..7344b0c
--- /dev/null
@@ -0,0 +1,102 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_writeFile_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_overwrite_false
+//==== PRIORITY P1
+//==== LABEL Check if when create a new empty file, write content into it, then request a copy of it over existing file invokes errorCallback (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(document.title), resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, copyToSuccess, copyToError, fsTestFileName,
+    fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError", mainDir;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestDirName = getDirName("filesystem");
+
+    copyToSuccess = t.step_func(function () {
+        assert_unreached("copyToSuccess callback shouldn't be invoked");
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        mainDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name, false, copyToSuccess, copyToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        mainDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html
new file mode 100755 (executable)
index 0000000..cdbcb35
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_copyTo_writeFile_subdir</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_subdir
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new empty file, write content into it, then request a copy of it (different name, different directory)
+//==== 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(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestDirName = getDirName("filesystem");
+    fsTestSubDirName = getDirName("filesystemSub");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestSubDir.fullPath + "/" + fsTestFile.name, true, copySuccess, copyError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir = fsTestDir.createDirectory(fsTestSubDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html
new file mode 100755 (executable)
index 0000000..19c100b
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createDirectory</title>
+<meta charset="utf-8"/>
+<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_createDirectory
+//==== PRIORITY P1
+//==== LABEL Check if File::createDirectory() method
+//==== 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(document.title),
+    resolveSuccess, resolveError, fsTestDir, fsTestDirName;
+
+t.step(function () {
+    fsTestDirName = getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        assert_type(fsTestDir, "object", "directory wasn't created properly");
+        checkOwnProperties(fsTestDir);
+        assert_equals(fsTestDir.name, fsTestDirName, "directory wasn't created properly");
+        assert_true(fsTestDir.isDirectory, "directory wasn't created properly");
+        fsTestDir = dir.resolve(fsTestDirName);
+        assert_equals(fsTestDir.name, fsTestDirName, "directory wasn't created properly");
+        assert_true(fsTestDir.isDirectory, "directory wasn't created properly");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html
new file mode 100755 (executable)
index 0000000..abc5b61
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_createDirectory_dirPath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_createDirectory_dirPath_invalid
+//==== LABEL Check if File::createDirectory() throws exception when dirPath is invalid.
+//==== 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
+//==== PRIORITY: P2
+//==== TEST_CRITERIA MC
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDir;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(INVALID_VALUES_EXCEPTION,
+            function () {
+                fsTestDir = dir.createDirectory("");
+            }, INVALID_VALUES_EXCEPTION + " should be thrown - invalid dirPath ");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html
new file mode 100755 (executable)
index 0000000..1fc1fb1
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createDirectory_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_createDirectory_exist
+//==== LABEL Check if File::createDirectory() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("createDirectory" in dir, "method createDirectory exists");
+        check_method_exists(dir, "createDirectory");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("Error: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html
new file mode 100755 (executable)
index 0000000..d50af04
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createDirectory_level2</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_createDirectory_level2
+//==== LABEL Check if File::createDirectory() works for non-existing intermediate directory (creates 2 levels of directories)
+//==== 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(document.title), resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir,
+    fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName;
+
+t.step(function (){
+
+    fsTestDirName = getDirName("filesystem");
+    fsTestSubDirName = getDirName("filesystemSub");
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length === 1, "Subdirectory not found.");
+        assert_equals(files[0].name, fsTestSubDirName, "Unexpected subdirectory name: " + files[0].name);
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestSubDir = dir.createDirectory(fsTestDirName + "/" + fsTestSubDirName);
+        fsTestDir = dir.resolve(fsTestDirName);
+        fsTestDir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html
new file mode 100755 (executable)
index 0000000..ed3806d
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_createDirectory_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_createDirectory_misarg
+//==== LABEL Check if createDirectory method throws exception with missing non-optional argument
+//==== 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
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(INVALID_VALUES_EXCEPTION,
+            function () {
+                dir.createDirectory();
+            }, INVALID_VALUES_EXCEPTION + " should be thrown");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html
new file mode 100755 (executable)
index 0000000..84ff33c
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createFile</title>
+<meta charset="utf-8"/>
+<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_createFile
+//==== PRIORITY P1
+//==== LABEL Check if File::createFile() method 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(document.title),
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_type(fsTestFile, "object", "file wasn't created properly");
+        checkOwnProperties(fsTestFile);
+        assert_equals(fsTestFile.name, fsTestFileName, "file wasn't created properly");
+        assert_true(fsTestFile.isFile, "file wasn't created properly");
+        fsTestFile = dir.resolve(fsTestFileName);
+        assert_equals(fsTestFile.name, fsTestFileName, "file wasn't created properly");
+        assert_true(fsTestFile.isFile, "file wasn't created properly");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html
new file mode 100755 (executable)
index 0000000..25317f5
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createFile_exist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_createFile_exist
+//==== LABEL Check if File::createFile() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("createFile" in dir, "method createFile exists");
+        check_method_exists(dir, "createFile");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html
new file mode 100755 (executable)
index 0000000..6adafa6
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_createFile_existing_file</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_createFile_existing_file
+//==== LABEL Check if File::createFile() throws exception when the file already exists
+//==== 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(document.title), expected = "IOError",
+    resolveSuccess, resolveError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createFile(fsTestFileName);
+        assert_throws({name: expected}, function () {
+                dir.createFile(fsTestFileName);
+            }, expected + " should be thrown");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html
new file mode 100755 (executable)
index 0000000..e8e702f
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_createFile_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_createFile_misarg
+//==== LABEL Check if File::createFile() with missing mandatory argument throws exception
+//==== 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 MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(INVALID_VALUES_EXCEPTION, function () {
+            dir.createFile();
+        }, INVALID_VALUES_EXCEPTION + " should be thrown");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html
new file mode 100755 (executable)
index 0000000..21b03e0
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>File_created_attribute</title>
+<meta charset="utf-8"/>
+<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_created_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::created attribute 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(document.title),
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        date = new Date();
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "created", "File does not own created property.");
+        assert_true("created" in fsTestFile, "attribute created doesn't exist in provided object.");
+        assert_type(fsTestFile.created, "Date", "Type of created is different.");
+        tmp = fsTestFile.created;
+        fsTestFile.created = new Date();
+        assert_equals(tmp.getTime(), fsTestFile.created.getTime(), "created can be modified.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html
new file mode 100755 (executable)
index 0000000..cfb85d4
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method can be called
+//==== 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(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+
+t.step(function (){
+
+    fsTestDirName =  getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html
new file mode 100755 (executable)
index 0000000..fc2e6b1
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteDirectory_createDir_camera</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_deleteDirectory_createDir_camera
+//==== LABEL Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it
+//==== 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
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA
+
+var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, cameraDir,
+    t = async_test(document.title);
+
+t.step(function (){
+    fsTestDirName = getDirName("filesystemtest");
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            cameraDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        cameraDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("camera", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html
new file mode 100755 (executable)
index 0000000..b0c5f1c
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_documents</title>
+<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_deleteDirectory_createDir_documents
+//==== PRIORITY P1
+//==== LABEL Check if File::createDirectory() creates a new directory in Documents and File::deleteDirectory() removes it
+//==== 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(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            documentsDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html
new file mode 100755 (executable)
index 0000000..7284ebc
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_downloads</title>
+<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_deleteDirectory_createDir_downloads
+//==== PRIORITY P1
+//==== LABEL Check if File::createDirectory() creates a new directory in Downloads and File::deleteDirectory() removes it
+//==== 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(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            downloadsDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        downloadsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html
new file mode 100755 (executable)
index 0000000..ddab92a
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_images</title>
+<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_deleteDirectory_createDir_images
+//==== LABEL Check if File::createDirectory() creates a new directory in Images and File::deleteDirectory() removes it
+//==== 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, imagesDir,
+    t = async_test(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            imagesDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        imagesDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html
new file mode 100755 (executable)
index 0000000..559eae7
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory_createDir_music</title>
+<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_deleteDirectory_createDir_music
+//==== LABEL Check if File::createDirectory() creates a new directory in Music and File::deleteDirectory() removes it
+//==== 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, musicDir,
+    t = async_test(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            musicDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        musicDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html
new file mode 100755 (executable)
index 0000000..31ccc2e
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_createDir_videos</title>
+<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_deleteDirectory_createDir_videos
+//==== LABEL Check if File::createDirectory() creates a new directory in Videos and File::deleteDirectory() removes it
+//==== 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(document.title);
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            videosDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        videosDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html
new file mode 100755 (executable)
index 0000000..a47ddea
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_exist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_deleteDirectory_exist
+//==== LABEL Check if File::deleteDirectory() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("deleteDirectory" in dir, "method deleteDirectory exists");
+        check_method_exists(dir, "deleteDirectory");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html
new file mode 100755 (executable)
index 0000000..744e86d
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteDirectory_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_deleteDirectory_misarg
+//==== LABEL Check if File::deleteDirectory() throws exception with missing mandatory argument
+//==== 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
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDirName;
+
+t.step(function () {
+    fsTestDirName = getDirName("filesystem");
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createDirectory(fsTestDirName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+            dir.deleteDirectory();
+        }, TYPE_MISMATCH_EXCEPTION + " should be thrown.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..c454485
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onerror_TypeMismatch
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, deleteError, i, deleteSuccess, fsTestDirName, fsTestDir,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteDirectory(fsTestDir.fullPath, deleteSuccess, deleteError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..65af4fe
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteDirectory_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onerror_invalid_cb
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName, fsTestDir;
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteDirectoryError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    deleteDirectorySuccess = t.step_func(function () {
+        assert_unreached("deleteDirectorySuccess should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteDirectory(fsTestDir.fullPath, deleteDirectorySuccess, deleteDirectoryError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..51d14b3
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_onsuccess_TypeMismatch</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onsuccess_TypeMismatch
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong type of onsuccess
+//==== 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(document.title), deleteSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestDirName, fsTestDir;
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..c206633
--- /dev/null
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_onsuccess_invalid_cb</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_onsuccess_invalid_cb
+//==== LABEL Check if File::deleteDirectory() throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, deleteSuccess, fsTestDirName, fsTestDir;
+
+t.step(function (){
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html
new file mode 100755 (executable)
index 0000000..a51e1fd
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_empty_path</title>
+<meta charset="utf-8">
+<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_deleteDirectory_with_empty_path
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty
+//==== 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(document.title), resolveError, resolveSuccess, deleteDirectoryError, deleteDirectorySuccess,
+    expected = "NotFoundError";
+
+t.step(function () {
+
+    deleteDirectorySuccess = t.step_func(function () {
+        assert_unreached("deleteDirectorySuccess: deleteDirectory() should invoke error callback");
+    });
+
+    deleteDirectoryError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (root) {
+        root.deleteDirectory("", false, deleteDirectorySuccess, deleteDirectoryError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve_root_location() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html
new file mode 100755 (executable)
index 0000000..fc20968
--- /dev/null
@@ -0,0 +1,92 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_file_handle</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_deleteDirectory_with_file_handle
+//==== LABEL Check if File::deleteDirectory() calls errorCallback when called on File object representing file, not a directory
+//==== 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 MERRCB
+
+
+var resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestFileName, fsTestFile, documentsDir,
+    expected = "InvalidValuesError", t = async_test(document.title);
+
+t.step(function (){
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    deleteSuccess = t.step_func(function () {
+        assert_unreached("delete a dir with file handle should throw an exception");
+    });
+
+    deleteError = t.step_func(function (error) {
+        fsTestFile = documentsDir.resolve(fsTestFileName);
+        assert_equals(fsTestFile.name, fsTestFileName, "file was deleted");
+        assert_true(fsTestFile.isFile, "file was deleted");
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteDirectory(fsTestFile.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html
new file mode 100755 (executable)
index 0000000..ebbbd01
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_null_callbacks</title>
+<meta charset="utf-8">
+<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_deleteDirectory_with_null_callbacks
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method can be called with null onsuccess and onerror
+//==== 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(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+t.step(function () {
+
+    fsTestDirName =  getDirName("filesystem");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.deleteDirectory(fsTestDir.fullPath, true, null, null);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html
new file mode 100755 (executable)
index 0000000..0b43347
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_onerror</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_deleteDirectory_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method calls onerror properly (when removing non-existing 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 MERRCB
+
+var resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName,
+    expected = "NotFoundError", t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystemNoExist");
+
+    deleteDirectorySuccess = t.step_func(function () {
+        assert_unreached("deleteDirectorySuccess: deleteDirectoryError should be invoked");
+    });
+
+    deleteDirectoryError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.deleteDirectory(fsTestDirName, true, deleteDirectorySuccess, deleteDirectoryError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..b8d69f9
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_deleteDirectory_with_onsuccess</title>
+<meta charset="utf-8"/>
+<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_deleteDirectory_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteDirectory() method with 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(document.title), retVal = null,
+    resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestDirName, fsTestDir, documentsDir;
+
+t.step(function () {
+    fsTestDirName =  getDirName("filesystem");
+
+    deleteSuccess = t.step_func(function () {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            documentsDir.resolve(fsTestDirName);
+        }, "directory wasn't deleted properly");
+        t.done();
+    });
+
+    deleteError = t.step_func(function (error) {
+        assert_unreached("deleteDirectory() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        retVal = dir.deleteDirectory(fsTestDir.fullPath, true, deleteSuccess, deleteError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html
new file mode 100755 (executable)
index 0000000..c20d7d1
--- /dev/null
@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method 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(document.title), fsTestFileName, fsTestFile, i, retVal = null,
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir, deleteSuccess;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].name === fsTestFileName) {
+                assert_unreached("File deletion failed");
+            }
+        }
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteSuccess = t.step_func(function () {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        documentsDir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.deleteFile(fsTestFile.fullPath, deleteSuccess);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html
new file mode 100755 (executable)
index 0000000..1305c21
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_copyFile_camera</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_deleteFile_copyFile_camera
+//==== LABEL Check if you can create a new file in Camera, copy it into Downloads, then request removing it
+//==== 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
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA
+
+var t = async_test(document.title), fsTestFileName, fsTestFile,
+    cameraDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.mp3");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        cameraDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        cameraDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("camera", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html
new file mode 100755 (executable)
index 0000000..7437c6d
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_downloads</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Document, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html
new file mode 100755 (executable)
index 0000000..f4af07c
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_images</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Images, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.png");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html
new file mode 100755 (executable)
index 0000000..a518f3d
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_music</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Music, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.mp3");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html
new file mode 100755 (executable)
index 0000000..1bbb8e5
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_copyFile_videos</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Video, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("fileSystem-File01.mp3");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copyToSuccess = t.step_func(function () {
+        documentsDir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "downloads/", true, copyToSuccess, copyToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html
new file mode 100755 (executable)
index 0000000..b4fd498
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_createFile</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file in Documents, copy it into Downloads, then request removing it
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html
new file mode 100755 (executable)
index 0000000..4168d1a
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_exist</title>
+<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_exist
+//==== LABEL Check if File::deleteFile() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("deleteFile" in dir, "method deleteFile exists");
+        check_method_exists(dir, "deleteFile");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html
new file mode 100755 (executable)
index 0000000..e547cec
--- /dev/null
@@ -0,0 +1,105 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listDocumentsFiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Documents, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html
new file mode 100755 (executable)
index 0000000..4ca52d0
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listDownloadsFiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Downloads, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html
new file mode 100755 (executable)
index 0000000..77780ed
--- /dev/null
@@ -0,0 +1,108 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listImagsFiles</title>
+<meta charset="utf-8" />
+<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_listImagsFiles
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Images, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem");
+    fsTestDirName2 = getDirName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html
new file mode 100755 (executable)
index 0000000..0a6a808
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listMusicFiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Music, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html
new file mode 100755 (executable)
index 0000000..45cc009
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_listVideosfiles</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if you can create directories and file in Videos, list them, then request deleting the directory and 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(document.title), fsTestDirName1, documentsDir,
+    fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
+    fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("inside");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteDirSuccess = t.step_func(function () {
+        fsTestDir1.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    deleteDirError = t.step_func(function (error) {
+        assert_unreached("deleteDir() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestDir1.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..2949b54
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onerror_TypeMismatch</title>
+<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_onerror_TypeMismatch
+//==== LABEL Check if File::deleteFile() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, deleteFileError, i, deleteFileSuccess,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteFileError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteFile("verybadfile.txt", deleteFileSuccess, deleteFileError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..b360486
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onerror_invalid_cb</title>
+<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_onerror_invalid_cb
+//==== LABEL Check if File::deleteFile() throws exception for wrong onerror
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createDirectory(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..e801f60
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== LABEL Check if File::deleteFile() throws exception for wrong type of onsuccess
+//==== 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(document.title), deleteFileSuccess, fsTestFileName,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            deleteFileSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..99b28a1
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_onsuccess_invalid_cb</title>
+<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_onsuccess_invalid_cb
+//==== LABEL Check if File::deleteFile() throws exception for wrong onsuccess
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html
new file mode 100755 (executable)
index 0000000..4473670
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_dir_handle</title>
+<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_with_dir_handle
+//==== LABEL Check if File::deleteFile() calls errorCallback when called on File object representing file, not a directory
+//==== 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(document.title), fsTestDirName, fsTestDir,
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, expected = "InvalidValuesError",
+    documentsDir;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("There is no exception thrown when delete a file with file handle");
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir= dir.createDirectory(fsTestDirName);
+        dir.deleteFile(fsTestDir.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html
new file mode 100755 (executable)
index 0000000..6c87db3
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_nonexist</title>
+<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_with_nonexist
+//==== LABEL Check if File::deleteFile() calls errorCallback when given filePath does 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(document.title),
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("This function should not be invoked");
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "should throw an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.deleteFile("documents/" + fsTestFileName, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html
new file mode 100755 (executable)
index 0000000..f09e44d
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_with_onerror</title>
+<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_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method calls errorCallback properly (when removing non-existing 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 MERRCB
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, deleteFileError, deleteFileSuccess, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    deleteFileError = t.step_func(function () {
+        t.done();
+    });
+    deleteFileSuccess = t.step_func(function () {
+        assert_unreached("onerroroptional callback should be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.deleteFile("documents/" + fsTestFileName, deleteFileSuccess, deleteFileError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..172f452
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_deleteFile_with_onsuccess</title>
+<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_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method calls given onsuccess callback
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, deleteFileSuccess;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        try {
+            dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
+        } catch (e) {
+            assert_unreached("deleteFile() exeption: name: " + e.name + ", msg: " + e.message);
+        }
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html
new file mode 100755 (executable)
index 0000000..06a6483
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_vaild_callbacks</title>
+<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_with_vaild_callbacks
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() can be called with onsuccess and onerror
+//==== 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(document.title),
+    deleteFileSuccess, deleteFileError, documentsDir,
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("delete() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html
new file mode 100755 (executable)
index 0000000..57e12f4
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_deleteFile_with_valid_filePath</title>
+<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_with_valid_filePath
+//==== PRIORITY P1
+//==== LABEL Check if File::deleteFile() method can be called without onsuccess
+//==== 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 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);
+        dir.deleteFile(fsTestFile.fullPath);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html
new file mode 100755 (executable)
index 0000000..1fe4583
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_extend</title>
+<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_extend
+//==== LABEL Check if instance of File can be extended with new property
+//==== 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        check_extensibility(dir);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html
new file mode 100755 (executable)
index 0000000..aea4377
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_fileSize_attribute</title>
+<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_fileSize_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::fileSize attribute 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "fileSize", "File does not own fileSize property.");
+        check_readonly(fsTestFile, "fileSize", 0, "unsigned long long", fsTestFile.fileSize + 512);
+        assert_equals(dir.fileSize, undefined, "fileSize of directory should be undefined");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html
new file mode 100755 (executable)
index 0000000..d43a3f3
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_fullPath_attribute</title>
+<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_fullPath_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::fullPath attribute 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "fullPath", "File does not own fullPath property.");
+        check_readonly(fsTestFile, "fullPath", fsTestFile.fullPath, "string", "images");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html
new file mode 100755 (executable)
index 0000000..ea239aa
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_isDirectory_attribute</title>
+<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_isDirectory_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::isDirectory attribute 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "isDirectory", "File does not own isDirectory property.");
+        check_readonly(dir, "isDirectory", true, "boolean", false);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html
new file mode 100755 (executable)
index 0000000..58678c1
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_isFile_attribute</title>
+<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_isFile_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::isFile attribute 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(document.title),
+    resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "isFile", "File does not own isFile property.");
+        check_readonly(dir, "isFile", false, "boolean", true);
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html
new file mode 100755 (executable)
index 0000000..b58cd30
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_length_attribute</title>
+<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_length_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::length attribute 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(document.title), fsTestFileName =  getFileName("filesystem.txt"),
+    resolveSuccess, resolveError, fsTestFile;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "length", "File does not own length property.");
+        check_readonly(dir, "length", dir.length, "long", dir.length + 10);
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_equals(fsTestFile.length, undefined, "length of file should be undefined");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html
new file mode 100755 (executable)
index 0000000..b57f155
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles</title>
+<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: File_listFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::listFiles() method 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, retVal=null;
+t.step(function () {
+    listFilesSuccess = t.step_func(function (files) {
+        assert_type(files, "array", "files should be array");
+        assert_equals(retVal, undefined, "incorrect returned value");
+        t.done();
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        retVal = dir.listFiles(listFilesSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html
new file mode 100755 (executable)
index 0000000..6616618
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_listFiles_createFiles</title>
+<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_listFiles_createFiles
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new directory and then list 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    fsTestDirName, fsTestDir, documentsDir, fsTestFileName1, fsTestFileName2;
+
+t.step(function () {
+    fsTestDirName = getDirName("filesystem");
+    fsTestFileName1 = getFileName("filesystem1.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_equals(files.length, 2, "list files");
+        t.done();
+    });
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestDir.createFile(fsTestFileName1);
+        fsTestDir.createFile(fsTestFileName2);
+        fsTestDir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html
new file mode 100755 (executable)
index 0000000..d7b3cbe
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_listFiles_exist</title>
+<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: File_listFiles_exist
+//==== LABEL Check if File::listFiles() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("listFiles" in dir, "method listFiles exists");
+        check_method_exists(dir, "listFiles");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..022398f
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_filter_TypeMismatch</title>
+<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: File_listFiles_filter_TypeMismatch
+//==== LABEL Check if File::listFiles() method throws exception for wrong type of filter
+//==== 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(document.title), listFilesSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
+    filter;
+
+t.step(function () {
+    listFilesSuccess = t.step_func(function () {});
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("object", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            filter = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({
+                    name: exceptionName
+                }, function () {
+                    dir.listFiles(listFilesSuccess, null, filter);
+                }, exceptionName + " should be thrown - given incorrect filter.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html
new file mode 100755 (executable)
index 0000000..17d98ca
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_filter_empty</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_listFiles_filter_empty
+//==== LABEL Check if File::listFiles() can be called with empty object as filter argument
+//==== 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(document.title), resolveSuccess, resolveError,
+    listFilesSuccess, listFilesError;
+
+t.step(function () {
+
+    listFilesSuccess = t.step_func(function (files) {
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess, listFilesError, {});
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html
new file mode 100755 (executable)
index 0000000..85f2964
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_missarg</title>
+<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: File_listFiles_missarg
+//==== PRIORITY: P2
+//==== LABEL Check if File::listFiles() with missing mandatory argument throws exception
+//==== 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(document.title), resolveSuccess, resolveError;
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+                dir.listFiles();
+            });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..111c73b
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onerror_TypeMismatch</title>
+<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_listFiles_onerror_TypeMismatch
+//==== LABEL Check if File::listFiles() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, listFilesError, i, fsTestFileName,
+    fsTestFile, listFilesSuccess, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        fsTestFile = dir.createFile(fsTestFileName);
+        for (i = 0; i < conversionTable.length; i++) {
+            listFilesError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    fsTestFile.listFiles(listFilesSuccess, listFilesError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..85fbcea
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onerror_invalid_cb</title>
+<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_listFiles_onerror_invalid_cb
+//==== LABEL Check if File::listFiles() throws exception for wrong onerror
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesError = {
+        onerror: t.step_func(function () {
+            assert_unreached("invalid errorCallback should not be called");
+        })
+    };
+    listFilesSuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                fsTestFile.listFiles(listFilesSuccess, listFilesError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..f3c6208
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onsuccess_TypeMismatch</title>
+<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_listFiles_onsuccess_TypeMismatch
+//==== LABEL Check if File::listFiles() throws exception for wrong type of onsuccess
+//==== 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(document.title), listFilesSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            listFilesSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({
+                    name: exceptionName
+                }, function () {
+                    dir.listFiles(listFilesSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..aa25bd6
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_onsuccess_invalid_cb</title>
+<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_listFiles_onsuccess_invalid_cb
+//==== LABEL Check if File::listFiles() throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess;
+
+t.step(function () {
+    listFilesSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.listFiles(listFilesSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html
new file mode 100755 (executable)
index 0000000..ceb2f38
--- /dev/null
@@ -0,0 +1,83 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_with_file_handle</title>
+<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_listFiles_with_file_handle
+//==== LABEL Check if File::listFiles() calls errorCallback when called on File object representing file, not a directory
+//==== 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 MERRCB
+
+
+var resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile,
+    documentsDir, t = async_test(document.title), expected = "IOError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesSuccess = t.step_func(function () {
+        assert_unreached("There is no exception thrown when listFiles with a file handle");
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "expect thrown an exception");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html
new file mode 100755 (executable)
index 0000000..cf1cd69
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_listFiles_with_filter</title>
+<meta charset="utf-8" />
+<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_listFiles_with_filter
+//==== LABEL Check if File::listFiles() works with filter argument
+//==== 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
+//==== TEST_CRITERIA MOA
+
+
+var filesFilter, listFilesError, resolveSuccess, resolveError, listFilesSuccess, documentsDir,
+    fsTestFileName, fsTestFile, filesRegExp = new RegExp("^" + FILE_AND_DIR_NAME_PREFIX),
+    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_regexp_match(files[0].name, filesRegExp, "bad file was found");
+        t.done();
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError, filesFilter);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html
new file mode 100755 (executable)
index 0000000..acd6640
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_listFiles_with_onerror</title>
+<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_listFiles_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::listFiles() calls errorCallback (listing files of a file)
+//==== 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    listFilesError = t.step_func(function () {
+        t.done();
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_unreached("listFilesSuccess:  listFilesError should be invoked");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html
new file mode 100755 (executable)
index 0000000..0e53c79
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_listFiles_with_valid_successCallback</title>
+<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_listFiles_with_valid_successCallback
+//==== PRIORITY P1
+//==== LABEL Check if File::listFiles() call onsuccess callback
+//==== 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 t = async_test(document.title), resolveSuccess, resolveError,
+    listFilesSuccess;
+t.step(function () {
+
+    listFilesSuccess = t.step_func(function (files) {
+        assert_type(files, "array", "files");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html
new file mode 100755 (executable)
index 0000000..de7830b
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_modified_attribute</title>
+<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_modified_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::modified attribute 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(document.title),
+    resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        date = new Date();
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "modified", "File does not own modified property.");
+        assert_true("modified" in fsTestFile, "attribute modified doesn't exist in provided object.");
+        assert_type(fsTestFile.modified, "Date", "Type of modified is different.");
+        tmp = fsTestFile.modified;
+        fsTestFile.modified = new Date();
+        assert_equals(tmp.getTime(), fsTestFile.modified.getTime(), "created can be modified.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html
new file mode 100755 (executable)
index 0000000..2adbd1b
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() can be called successfully
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, retVal;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.moveTo(fsTestFile.fullPath,
+            "images/"+fsTestFile.name, true);
+        assert_equals(retVal, undefined, "incorrect returned value");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..e4b22b9
--- /dev/null
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_moveTo_dir_samedir_samename_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_moveTo_dir_samedir_samename_overwrite_false
+//==== LABEL Check if File::moveTo() invokes error callback when moving 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
+//==== TEST_CRITERIA MERRCB
+
+
+var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.moveTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, false, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..8e12050
--- /dev/null
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_moveTo_dir_samedir_samename_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_moveTo_dir_samedir_samename_overwrite_true
+//==== LABEL Check if File::moveTo() invokes error callback when moving 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
+//==== TEST_CRITERIA MERRCB
+
+
+var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir1.moveTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html
new file mode 100755 (executable)
index 0000000..d843a6c
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+
+<html>
+<head>
+<title>File_moveTo_empty_destination_source_and_destination_paths</title>
+<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_empty_destination_source_and_destination_paths
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() invokes error callback when originFilePath and destinationFilePath are empty
+//==== 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(document.title),
+    moveToSuccess, moveToError, resolveSuccess, resolveError;
+
+t.step(function () {
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess: moveToError should be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.moveTo("", "", false, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html
new file mode 100755 (executable)
index 0000000..e1939ff
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_exist</title>
+<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_exist
+//==== LABEL Check if File::moveTo() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("moveTo" in dir, "method moveTo exists");
+        check_method_exists(dir, "moveTo");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html
new file mode 100755 (executable)
index 0000000..5ff3f51
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_file_samedir_samename_overwrite_false</title>
+<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 File::moveTo() invokes error callback when moving 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(document.title), resolveSuccess,
+    resolveError, moveToSuccess, moveToError, expectedError = "IOError",
+    fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, fsTestFile;
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem");
+    fsTestDirName2 = getDirName("destination");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback should not be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir2.createFile(fsTestFileName);
+        fsTestDir2.moveTo(fsTestFile.fullPath, "documents/"+fsTestDir1.name+"/"+fsTestDir2.name+"/",
+            false, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html
new file mode 100755 (executable)
index 0000000..22c26cd
--- /dev/null
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_file_samedir_samename_overwrite_true</title>
+<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 File::moveTo() error callback when moving 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(document.title), resolveSuccess,
+    resolveError, moveToSuccess, moveToError, expectedError = "IOError",
+    fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1,
+    fsTestDir2, fsTestFile;
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem");
+    fsTestDirName2 = getDirName("destination");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback should not be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir2.createFile(fsTestFileName);
+        fsTestDir2.moveTo(fsTestFile.fullPath, "documents/" + fsTestDir1.name + "/" + fsTestDir2.name + "/",
+            true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..e57d345
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_onerror_TypeMismatch</title>
+<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_onerror_TypeMismatch
+//==== LABEL Check if File::moveTo() throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, moveToError, i, moveToSuccess,
+    exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            moveToError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({
+                    name: exceptionName
+                }, function () {
+                    dir.moveTo("verybadfile.txt", "images", true, moveToSuccess, moveToError);
+                }, exceptionName + " should be thrown - given incorrect error callback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..d9a29dd
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_onerror_invalid_cb</title>
+<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_onerror_invalid_cb
+//==== LABEL Check if File::moveTo() throws exception for wrong onerror
+//==== 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, moveToSuccess, moveToError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToError = {
+        onerror: t.step_func(function () {
+            assert_unreached("moveTo() error callback invoked");
+        })
+    };
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveTo() success callback invoked");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess, moveToError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..71d9530
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== LABEL Check if File::moveTo() throws exception for wrong type of onsuccess
+//==== 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(document.title), moveToSuccess, fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            moveToSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
+                }, exceptionName + " should be thrown - given incorrect success callback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..7075a5c
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_onsuccess_invalid_cb</title>
+<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_onsuccess_invalid_cb
+//==== LABEL Check if File::moveTo() throws exception for wrong onsuccess
+//==== 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(document.title), resolveSuccess, resolveError,
+    moveToSuccess, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html
new file mode 100755 (executable)
index 0000000..466f85d
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+-->
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_moveTo_with_additional_null_parameter</title>
+<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_with_additional_null_parameter
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() method can be invoked with extra null parameter
+//==== 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 t = async_test(document.title), fsTestFileName2,
+    resolveSuccess, resolveError, file, movedPath, fsTestFileName, moveToSuccess;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    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 = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html
new file mode 100755 (executable)
index 0000000..129d636
--- /dev/null
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_with_file_handle</title>
+<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_with_file_handle
+//==== LABEL Check if File::moveTo() calls errorCallback when called on File object representing file, not a directory
+//==== 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 resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDirName1,
+    fsTestDirName2, fsTestDir1, fsTestDir2, fsTestFileName, fsTestFile,
+    expectedError = "IOError", t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("filesystem2");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("There is no exception thrown when when copyTo with file handle");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, expectedError + " should be thrown");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir2.createFile(fsTestFileName);
+        fsTestFile.moveTo(fsTestFile.fullPath, fsTestDir1.path, true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html
new file mode 100755 (executable)
index 0000000..c210384
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_with_onerror</title>
+<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_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() calls errorCallback (source file does not exist)
+//==== 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(document.title),
+    resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    moveToError = t.step_func(function () {
+        t.done();
+    });
+    moveToSuccess = t.step_func(function (files) {
+        assert_unreached("moveTo() error callback invoked: moveTo() error callback should be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.moveTo("documents/" + fsTestFileName,
+            "images/" + fsTestFileName, true, moveToSuccess, moveToError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html
new file mode 100755 (executable)
index 0000000..16b8047
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_moveTo_with_onsuccess</title>
+<meta charset="utf-8"/>
+<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_with_onsuccess
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() calls successCallback
+//==== 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(document.title), listFilesError, resolveError,
+    resolveSuccess, documentsDir, listFilesSuccess, moveToSuccess, i, fsTestFileName;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].name === fsTestFileName) {
+                try {
+                    documentsDir.moveTo(files[i].fullPath,
+                        "images/" + files[i].name, true, moveToSuccess);
+                } catch (error) {
+                    assert_unreached("listFiles() success callback invoked: name:" + error.name + "msg:" + error.message);
+                }
+            }
+        }
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html
new file mode 100755 (executable)
index 0000000..2726960
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_with_path_invalid</title>
+<meta charset="utf-8" />
+<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_with_path_invalid
+//==== LABEL Check if File::moveTo() calls errorCallback (NotFound) when destinationFilePath is in non-existing directory
+//==== 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(document.title), fsTestDirName, fsTestDir,
+    expected = "NotFoundError", documentsDir, resolveSuccess, resolveError,
+    moveToSuccess, moveToError;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveTo() success callback invoked: No exception be thrown when move file to an invalid path");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "exception is not our expected value");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        dir.moveTo(fsTestDir.fullPath, "hello/" + fsTestDirName, true, moveToSuccess, moveToError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html
new file mode 100755 (executable)
index 0000000..2070357
--- /dev/null
@@ -0,0 +1,98 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_writeFile_newName</title>
+<meta charset="utf-8" />
+<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_writeFile_newName
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file, write content to it, and then move the file to the same directory 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(document.title),
+    openStreamSuccess, openStreamError;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestFileName2 = getFileName("filesystem2.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_unreached("moveTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFileName2,
+            true, moveToSuccess, moveToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html
new file mode 100755 (executable)
index 0000000..74a9bec
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_writeFile_overwrite_false</title>
+<meta charset="utf-8" />
+<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_writeFile_overwrite_false
+//==== PRIORITY P1
+//==== LABEL Check if File::moveTo() calls errorCallback when originFilePath and destinationFilePath is the same path (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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess, mainDir,
+    moveToError, fsTestFileName, fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        mainDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name,
+            false, moveToSuccess, moveToError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        mainDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html
new file mode 100755 (executable)
index 0000000..ac90be6
--- /dev/null
@@ -0,0 +1,98 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_moveTo_writeFile_subdir</title>
+<meta charset="utf-8" />
+<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_writeFile_subdir
+//==== PRIORITY P1
+//==== LABEL Check if you can create a new file, write content to it, and then move the file to a subdirectory keeping the name of the 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 resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess,
+    moveToError, fsTestDirName1, fsTestDirName2, fsTestFileName,
+    fsTestFile, fsTestDir1, fsTestDir2, t = async_test(document.title);
+
+t.step(function () {
+    fsTestDirName1 = getFileName("filesystem");
+    fsTestDirName2 = getFileName("destination");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_unreached("moveTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir1.moveTo(fsTestFile.fullPath, fsTestDir2.fullPath + "/" + fsTestFile.name, true, moveToSuccess, moveToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
+        fsTestFile = fsTestDir1.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html
new file mode 100755 (executable)
index 0000000..9aa72f2
--- /dev/null
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_name_attribute</title>
+<meta charset="utf-8"/>
+<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_name_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::name attribute 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(document.title), fsTestFileName,
+    fsTestFile, resolveSuccess, resolveError;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_own_property(fsTestFile, "name", "File does not own name property.");
+        check_readonly(fsTestFile, "name", fsTestFile.name, "string", fsTestFile.name + "dummyValue");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html
new file mode 100755 (executable)
index 0000000..24d42ac
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_notexist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_notexist
+//==== LABEL Interface File should not be accessible
+//==== 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>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html
new file mode 100755 (executable)
index 0000000..6e0930b
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream</title>
+<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
+//==== PRIORITY P1
+//==== LABEL Check if File::openStream() method 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(document.title), fsTestFileName, fsTestFile,
+    resolveSuccess, resolveError, retVal = null;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = fsTestFile.openStream("w",
+            t.step_func(function (fs) {
+                assert_equals(retVal, undefined, "incorrect returned value");
+                fs.write("HelloWorld");
+                fs.close();
+                t.done();
+            }));
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html
new file mode 100755 (executable)
index 0000000..2ba13cc
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_encoding_invalid</title>
+<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_encoding_invalid
+//==== LABEL Check if File::openStream() throws an exception for invalid encoding value
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError,
+    fsTestFileName, fsTestFile, documentsDir;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("There in no exception thrown when open the file in invalid encoding");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+            fsTestFile.openStream("r", openStreamSuccess, openStreamError, "coding");
+        });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html
new file mode 100755 (executable)
index 0000000..6d6d5b6
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_openStream_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_openStream_exist
+//==== LABEL Check if File::openStream() method exists
+//==== PRIORITY P0
+//==== 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(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("openStream" in dir, "method openStream exists");
+        check_method_exists(dir, "listFiles");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html
new file mode 100755 (executable)
index 0000000..ad756db
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_missarg</title>
+<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: File_openStream_missarg
+//==== PRIORITY: P2
+//==== LABEL Check if File::openStream() method throws exception for missing mandatory argument
+//==== 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(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(TYPE_MISMATCH_EXCEPTION, function () {
+                fsTestFile.openStream();
+            });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..57ca05a
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_mode_TypeMismatch</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: File_openStream_mode_TypeMismatch
+//==== LABEL Check if File::openStream() throws exception for wrong type of mode argument
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
+    openStreamSuccess, mode;
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("openStream() success callback invoked: should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("enum", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            mode = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.openStream(mode, openStreamSuccess);
+                }, exceptionName + " should be thrown - given incorrect mode.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html
new file mode 100755 (executable)
index 0000000..72a408b
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_a</title>
+<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_mode_a
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("a", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html
new file mode 100755 (executable)
index 0000000..676dfaa
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_mode_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_mode_invalid
+//==== LABEL Check if File::openStream() method throws exception for wrong mode
+//==== 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(document.title), resolveSuccess, resolveError, openStreamSuccess;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.openStream(5);
+            }, TYPE_MISMATCH_EXCEPTION + " should be thrown - given invalid mode");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html
new file mode 100755 (executable)
index 0000000..9b45249
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_r</title>
+<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_mode_r
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MAST MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html
new file mode 100755 (executable)
index 0000000..77a3268
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_rw</title>
+<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_mode_rw
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MAST MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html
new file mode 100755 (executable)
index 0000000..7313077
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_mode_w</title>
+<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_mode_w
+//==== LABEL Check if File::openStream() works for 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
+//==== TEST_CRITERIA MAST MOA
+
+
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
+    fsTestFile, documentsDir, t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..6a67bc0
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_onerror_TypeMismatch
+//==== LABEL Check if File::openStream() method throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, openStreamError, i, openStreamSuccess,
+    exceptionName = "TypeMismatchError";
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("openStream() success callback invoked: should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            openStreamError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.openStream("r", openStreamSuccess, openStreamError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..d1ee5fd
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_onerror_invalid_cb
+//==== LABEL Check if File::openStream() method throws exception for wrong onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError;
+t.step(function () {
+    openStreamError = {
+        onerror: t.step_func(function (error) {
+            assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+        })
+    };
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("successCallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.openStream("r", openStreamSuccess, openStreamError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..0065e61
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_openStream_onsuccess_TypeMismatch</title>
+<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_onsuccess_TypeMismatch
+//==== LABEL Check if File::openStream() method throws exception for wrong type of onsuccess
+//==== 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(document.title), openStreamSuccess,
+    resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
+    fsTestFileName, fsTestFile;
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", false);
+        for (i = 0; i < conversionTable.length; i++) {
+            openStreamSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    fsTestFile.openStream("r", openStreamSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..6d67dd9
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_onsuccess_invalid_cb</title>
+<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: File_openStream_onsuccess_invalid_cb
+//==== LABEL Check if File::openStream() method throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, fsTestFileName, fsTestFile;
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("openStream() success callback invoked: Invalid callback invoked.");
+        })
+    };
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                fsTestFile.openStream("r", openStreamSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html
new file mode 100755 (executable)
index 0000000..f0ccde2
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_with_encoding</title>
+<meta charset="utf-8"/>
+<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_encoding
+//==== PRIORITY P1
+//==== LABEL Check if File::openStream() method can be called with valid encoding argument
+//==== 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(document.title), resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, fsTestFileName, fsTestFile;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "ISO-8859-1");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html
new file mode 100755 (executable)
index 0000000..28abef9
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_with_encoding_not_default</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_openStream_with_encoding_not_default
+//==== LABEL Check if File::openStream() method works properly when the encoding is "ISO-8859-1"
+//==== 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(document.title), resolveSuccess, resolveError, openStreamError, openStreamSuccess, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem06.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "ISO-8859-1");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html
new file mode 100755 (executable)
index 0000000..37f9688
--- /dev/null
@@ -0,0 +1,92 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Ma, YueX <yuex.ma@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_openStream_with_nonexist_file</title>
+<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 File::openStream() method calls errorCallback when invoked for file which was already removed
+//==== 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 MERRCB
+
+
+var fsTestFileName, fsTestFile, resolveSuccess, resolveError, deleteFileSuccess,
+    deleteFileError, openStreamSuccess, openStreamError,
+    t = async_test(document.title);
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("openStream() success callback invoked: expect throw an exception when open the file which not exist");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_equals(error.name, "IOError", "expect throw an exception");
+        t.done();
+    });
+
+    deleteFileSuccess = t.step_func(function () {
+        fsTestFile.openStream("r", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html
new file mode 100755 (executable)
index 0000000..3b3a03f
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_openStream_with_onerror</title>
+<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: File_openStream_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::openStream() method calls errorCallback properly (openStream used on directory)
+//==== 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(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError;
+t.step(function (){
+    openStreamError = t.step_func(function () {
+        t.done();
+    });
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.close();
+        assert_unreached("this function should not be executed");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        dir.openStream("r", openStreamSuccess, openStreamError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html
new file mode 100755 (executable)
index 0000000..d7d2f82
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_parent_attribute</title>
+<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: File_parent_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::parent attribute 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(document.title), resolveSuccess, resolveError, fsTestFileName,
+    fsTestFile, fsTestDir, fsTestDirName;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem");
+    fsTestDirName = getDirName("filesystemDir");
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("parent" in dir, "parent attribute doesn't exist");
+        assert_equals(dir.parent, null, "incorrect parent value for root directory");
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        assert_type(fsTestFile.parent, "object", "parent isn't an object");
+        checkOwnProperties(fsTestFile.parent);
+        assert_equals(fsTestFile.parent.name, fsTestDir.name, "incorrect parent");
+        fsTestFile.parent = dir;
+        assert_equals(fsTestFile.parent.name, fsTestDir.name, "parent can be modified");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html
new file mode 100755 (executable)
index 0000000..6b178a9
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Tomasz KuÅ›mierz <t.kusmierz@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>>
+
+-->
+<html>
+<head>
+<title>File_parent_attribute_notnull_using_resolve</title>
+<meta charset="utf-8"/>
+<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_parent_attribute_notnull_using_resolve
+//==== PRIORITY P1
+//==== LABEL Check if File::parent attribute is set by resolve() for subdirectory of Documents
+//==== 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, resolveFileSuccess, fsTestFileName;
+
+t.step(function (){
+    fsTestFileName = getFileName("filesystem.txt");
+
+    resolveFileSuccess = t.step_func(function (file) {
+        assert_not_equals(file.parent, null, "File.parent should not be null.");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        try {
+            dir.createFile(fsTestFileName);
+        } catch (e) {
+            if (e.name !== "IOError") {
+                assert_unreached("createFile() error throw: name: " + e.name + ", msg: " + e.message);
+            }
+        }
+        tizen.filesystem.resolve("documents/" + fsTestFileName, resolveFileSuccess, resolveError, "rw");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html
new file mode 100755 (executable)
index 0000000..fe82f8a
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_path_attribute</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_path_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::path attribute 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(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "path", "file does not have own path property");
+        check_readonly(dir, "path", dir.path, "string", "images");
+        assert_equals(dir.path, "documents", "incorrect path");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html
new file mode 100755 (executable)
index 0000000..64bc328
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Danni Zhao <danni.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_path_attribute_limitation</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_path_attribute_limitation
+//==== LABEL Check if File::path attribute has proper value limitation
+//==== 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
+//==== PRIORITY P1
+//==== TEST_CRITERIA AVL
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_less_than_equal(dir.path.length, tizen.filesystem.maxPathLength, "the length of path should not have value greater than maxPathLength");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html
new file mode 100755 (executable)
index 0000000..a8fcfce
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_readAsText
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works properly without errorCallback
+//==== 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(document.title), resolveSuccess, resolveError, stringInFile = "HelloWorld",
+    readAsTextSuccess, file, fsTestFileName = getFileName("testReadAsTextAgain.txt"), retVal = null;
+
+t.step(function () {
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(retVal, undefined, "incorrect returned value");
+        assert_equals(str, stringInFile, "incorrect read value");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w",
+            t.step_func(function (fs) {
+                fs.write(stringInFile);
+                fs.close();
+                retVal = file.readAsText(readAsTextSuccess);
+            }));
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html
new file mode 100755 (executable)
index 0000000..48f072f
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_readAsText_encoding_invalid</title>
+<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_readAsText_encoding_invalid
+//==== LABEL Check if File::readAsText() method throws exception for invalid encoding value
+//==== 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(document.title), resolveSuccess, resolveError,
+    readAsTextSuccess, documentsDir, expected = "TypeMismatchError", fsTestFileName,
+    fsTestFile, readAsTextError;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_unreached("readAsText() success callback invoked: There is no exception thrown when readAsText() in invalid encoding");
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        documentsDir = dir;
+        fsTestFile = dir.createFile(fsTestFileName);
+        assert_throws({"name": expected}, function () {
+                fsTestFile.readAsText(readAsTextSuccess, readAsTextError, true);
+            });
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html
new file mode 100755 (executable)
index 0000000..018d528
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_exist</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_readAsText_exist
+//==== LABEL Check if File::readAsText() method exists
+//==== PRIORITY P0
+//==== 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(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        assert_true("readAsText" in dir, "method readAsText exists");
+        check_method_exists(dir, "readAsText");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html
new file mode 100755 (executable)
index 0000000..c319e54
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listDocumentsFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listDocumentsFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Documents
+//==== 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 testFile, resolveSuccess, resolveError, readAsTextSuccess,
+    readAsTextError, openStreamSuccess, openStreamError,
+    listFilesSuccess, listFilesError, text = "test write method",
+    t = async_test(document.title),
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html
new file mode 100755 (executable)
index 0000000..8041be8
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listDownloadsFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listDownloadsFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Downloads
+//==== 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(document.title),
+    text = "test write method", testFile, resolveSuccess, resolveError,
+    listFilesSuccess, listFilesError, openStreamSuccess,
+    openStreamError, readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("downloads", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html
new file mode 100755 (executable)
index 0000000..f5ba79c
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+h<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listImagesFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listImagesFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Images
+//==== 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(document.title),
+    testFile, resolveSuccess, resolveError, listFilesSuccess,
+    listFilesError, openStreamSuccess, openStreamError,
+    readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html
new file mode 100755 (executable)
index 0000000..d70ae59
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listMusicFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listMusicFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Music
+//==== 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 testFile, resolveSuccess, resolveError, listFilesSuccess,
+    listFilesError, openStreamSuccess, openStreamError, readAsTextSuccess,
+    readAsTextError, text = "test write method",
+    t = async_test(document.title),
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("music", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html
new file mode 100755 (executable)
index 0000000..9096767
--- /dev/null
@@ -0,0 +1,103 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>File_readAsText_listVideosFiles</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_readAsText_listVideosFiles
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method works for a file created in Videos
+//==== 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(document.title),
+    testFile, resolveSuccess, resolveError, listFilesSuccess,
+    listFilesError, openStreamSuccess, openStreamError,
+    readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        testFile.openStream("rw", openStreamSuccess, openStreamError);
+    });
+
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("videos", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html
new file mode 100755 (executable)
index 0000000..a5b0ed0
--- /dev/null
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_missarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_readAsText_missarg
+//==== PRIORITY: P2
+//==== LABEL Check if File::readAsText() throws exception for missing mandatory parameter
+//==== 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(document.title),
+    resolveSuccess, resolveError, file,
+    fsTestFileName = getFileName("testMissArg.txt");
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w",
+            t.step_func(function (fs) {
+                fs.write("HelloWorld");
+                fs.close();
+                assert_throws(TYPE_MISMATCH_EXCEPTION,
+                    function () {
+                        file.readAsText();
+                    });
+                t.done();
+            }));
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..4ee779d
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onerror_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onerror_TypeMismatch
+//==== LABEL Check if File::readAsText() method throws exception for wrong type of onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, conversionTable, readAsTextError, i,
+    readAsTextSuccess, exceptionName = "TypeMismatchError";
+
+t.step(function () {
+    readAsTextSuccess = t.step_func(function () {
+        assert_unreached("successCalback should not be called");
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        conversionTable = getTypeConversionExceptions("functionObject", true);
+        for (i = 0; i < conversionTable.length; i++) {
+            readAsTextError = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    dir.readAsText(readAsTextSuccess, readAsTextError);
+                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+        }
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html
new file mode 100755 (executable)
index 0000000..eda909a
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onerror_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onerror_invalid_cb
+//==== LABEL Check if File::readAsText() method throws exception for wrong onerror
+//==== 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(document.title),
+    resolveSuccess, resolveError, readAsTextSuccess, readAsTextError;
+
+t.step(function () {
+    readAsTextError = {
+        onerror: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    readAsTextSuccess = t.step_func(function () {
+        assert_unreached("successCallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                dir.readAsText(readAsTextSuccess, readAsTextError);
+            }, "given incorrect errorCallback");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..6fe60a0
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onsuccess_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onsuccess_TypeMismatch
+//==== LABEL Check if File::readAsText() method throws exception for wrong type of onsuccess
+//==== 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(document.title), readAsTextSuccess,
+    resolveSuccess, resolveError, conversionTable, i, file,
+    exceptionName = "TypeMismatchError",
+    fsTestFileName = getFileName("goodFile2.txt");
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        conversionTable = getTypeConversionExceptions("functionObject", false);
+
+        for (i = 0; i < conversionTable.length; i++) {
+            readAsTextSuccess = conversionTable[i][0];
+            exceptionName = conversionTable[i][1];
+
+            assert_throws({name: exceptionName},
+                function () {
+                    file.readAsText(readAsTextSuccess);
+                }, exceptionName + " should be thrown - given incorrect successCallback.");
+        }
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html
new file mode 100755 (executable)
index 0000000..6f8fda4
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_onsuccess_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_onsuccess_invalid_cb
+//==== LABEL Check if File::readAsText() method throws exception for wrong onsuccess
+//==== 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(document.title),
+    resolveSuccess, resolveError, readAsTextSuccess,
+    fsTestFileName = getFileName("goodFile.txt"), file;
+
+t.step(function (){
+    readAsTextSuccess = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("Invalid callback invoked: ");
+        })
+    };
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        assert_throws(TYPE_MISMATCH_EXCEPTION,
+            function () {
+                file.readAsText(readAsTextSuccess);
+            }, "given incorrect successCallback");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html
new file mode 100755 (executable)
index 0000000..ed9d6cc
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_with_encoding</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_with_encoding
+//==== LABEL Check if File::readAsText() method works with encoding argument
+//==== 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 MOA
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+    readAsTextSuccess, readAsTextError, i;
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (text) {
+        t.done();
+    });
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].isDirectory === false){
+                files[i].readAsText(readAsTextSuccess,
+                    readAsTextError, "ISO-8859-1");
+            }
+        }
+    });
+    listFilesError = t.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html
new file mode 100755 (executable)
index 0000000..77d7bb7
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_with_encoding_not_default</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_with_encoding_not_default
+//==== LABEL Check if File::readAsText() method works properly when the encoding is "ISO-8859-1"
+//==== 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(document.title), resolveSuccess, resolveError, readAsTextError, readAsTextSuccess, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem07.txt");
+
+    readAsTextSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() errorcallback should not be called");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.readAsText(readAsTextSuccess, readAsTextError, "ISO-8859-1");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html
new file mode 100755 (executable)
index 0000000..e72b246
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readAsText_with_onerror</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readAsText_with_onerror
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() properly calls errorCallback (called on a directory instead of file)
+//==== 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(document.title),
+    resolveSuccess, resolveError, readAsTextSuccess, readAsTextError;
+
+t.step(function () {
+    readAsTextError = t.step_func(function (error) {
+        assert_equals(error.name, "IOError", "incorrect error name");
+        assert_type(error.message, "string", "incorrect error message type");
+        assert_not_equals(error.message, "", "incorrect error message");
+        t.done();
+    });
+    readAsTextSuccess = t.step_func(function (text) {
+        assert_unreached("readAsTextSuccess: readAsTextError should be invoked");
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        dir.readAsText(readAsTextSuccess, readAsTextError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html
new file mode 100755 (executable)
index 0000000..3c4cd98
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_readOnly_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_readOnly_attribute
+//==== PRIORITY P1
+//==== LABEL Check if File::readOnly attribute 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(document.title),
+    onSuccess, onError;
+t.step(function () {
+    onSuccess = t.step_func(function (dir) {
+        assert_own_property(dir, "readOnly", "File does not own readOnly property.");
+        check_readonly(dir, "readOnly", false, "boolean", true);
+        t.done();
+    });
+    onError = t.step_func(function (error) {
+        assert_unreached("Error: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", onSuccess, onError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html
new file mode 100755 (executable)
index 0000000..301cfb4
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_resolve</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_resolve
+//==== PRIORITY P1
+//==== LABEL Check if File::resolve() method 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(document.title),
+    resolveSuccess, resolveError, listFilesSuccess, i, ds, file,
+    fsTestFileName = getFileName("goodFile2.txt");
+t.step(function () {
+    listFilesSuccess = t.step_func(function (files) {
+        for (i = 0; i < files.length; i++) {
+            if (files[i].name === fsTestFileName) {
+                file = ds.resolve(fsTestFileName);
+                assert_equals(file.name, fsTestFileName, "Attribute check");
+                t.done();
+            }
+        }
+    });
+    resolveSuccess = t.step_func(function (dir) {
+        ds = dir;
+        dir.createFile(fsTestFileName);
+        dir.listFiles(listFilesSuccess);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html
new file mode 100755 (executable)
index 0000000..c18de82
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_resolve_exist</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_resolve_exist
+//==== LABEL Check if File::resolve() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title),
+    onSuccess, onError;
+t.step(function (){
+    onSuccess = t.step_func(function (dir) {
+        assert_true("resolve" in dir, "method resolve exists");
+        check_method_exists(dir, "resolve");
+        t.done();
+    });
+    onError = t.step_func(function (error) {
+        assert_unreached("Error: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", onSuccess, onError, "rw");
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html
new file mode 100755 (executable)
index 0000000..7569289
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_resolve_filePath_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_resolve_filePath_invalid
+//==== LABEL Check if File::resolve() throws exception when filePath is invalid
+//==== 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 MC
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            dir.resolve(true);
+        }, NOT_FOUND_EXCEPTION + " should be thrown - invalid filePath.");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html
new file mode 100755 (executable)
index 0000000..188753b
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Xu Sida <sida.xu@samsung.com>
+
+-->
+<html>
+<head>
+<title>File_resolve_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: File_resolve_misarg
+//==== LABEL Check if File::resolve() throws exception when resolving a file which missing argument
+//==== 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 MMA
+
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName;
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+    resolveSuccess = t.step_func(function (dir) {
+        try {
+            dir.resolve();
+        } catch (error) {
+            t.done();
+        }
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html
new file mode 100755 (executable)
index 0000000..578186a
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<meta charset="utf-8" />
+<title>File_resolve_with_nonexist</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_resolve_with_nonexist
+//==== LABEL Check if File::resolve() throws exception when resolving 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(document.title), resolveSuccess, resolveError, fsTestFileName, expected = "NotFoundError";
+
+t.step(function () {
+    fsTestFileName = getFileName("noExistFile.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        try{
+            dir.resolve(fsTestFileName);
+        }catch(error) {
+            assert_equals(error.name, expected, "expect throw an exception");
+            t.done();
+        }
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html
new file mode 100755 (executable)
index 0000000..26f4e4a
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_toURI</title>
+<meta charset="utf-8"/>
+<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_toURI
+//==== PRIORITY P1
+//==== LABEL Check if File::toURI() method 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(document.title), resolveSuccess, resolveError, returnedValue, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        returnedValue = fsTestFile.toURI();
+        assert_type(returnedValue, "string", "incorrect returned type");
+        assert_not_equals(returnedValue, "", "incorrect returned value");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html
new file mode 100755 (executable)
index 0000000..c32fd1b
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_toURI_exist</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_toURI_exist
+//==== LABEL Check if File::toURI() method exists
+//==== PRIORITY P0
+//==== 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 ME
+
+var t = async_test(document.title), resolveSuccess, resolveError;
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        check_method_exists(dir, "toURI");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html
new file mode 100755 (executable)
index 0000000..8d791b2
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+<head>
+<title>File_toURI_extra_argument</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_toURI_extra_argument
+//==== PRIORITY P1
+//==== LABEL Check if File::toURI() method 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(document.title), resolveSuccess, resolveError;
+
+t.step(function (){
+    resolveSuccess = t.step_func(function (dir) {
+        checkExtraArgument(dir, "toURI");
+        t.done();
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html
new file mode 100755 (executable)
index 0000000..fe26ee6
--- /dev/null
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Ma, YueX <yuex.ma@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html>
+
+<head>
+<title>File_toURI_with_nonexist_file</title>
+<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_toURI_with_nonexist_file
+//==== LABEL Check if File::toURI() method throws exception when get a URI of non-existing 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(document.title),
+    resolveSuccess, resolveError, deleteFileSuccess, deleteFileError , fsTestFileName, fsTestFile, returnedValue;
+
+t.step(function () {
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    deleteFileSuccess = t.step_func(function () {
+        returnedValue = fsTestFile.toURI();
+        assert_type(returnedValue, "string", "wrong type");
+        t.done();
+    });
+
+    deleteFileError = t.step_func(function (error) {
+        assert_unreached("deleteFile() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html
new file mode 100755 (executable)
index 0000000..72fef46
--- /dev/null
@@ -0,0 +1,111 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Lei, ZhanX <zhanx.lei@intel.com>
+        Zhang, GeX <gex.zhang@intel.com>
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_get</title>
+<meta charset="utf-8"/>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: NotificationManager_get
+//==== LABEL Check if the parameter NotificationManager which in get method ok
+//==== PRIORITY P2
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA MR MMINA
+
+var notification, statusType = "PROGRESS", progressTypeToSet = "PERCENTAGE",
+    notificationToPost, postedTime, i;
+test(function () {
+    notificationDict.progressType = progressTypeToSet;
+    notificationToPost = new tizen.StatusNotification(statusType, titleToSet, notificationDict);
+    try {
+        tizen.notification.post(notificationToPost);
+        postedTime = notificationToPost.postedTime;
+
+        notification = tizen.notification.get(notificationToPost.id);
+        assert_true(notification instanceof tizen.StatusNotification, "Incorrect returned value from get method.");
+
+        assert_equals(notification.type, "STATUS", "type is incorrect.");
+        assert_equals(notification.postedTime.toJSON(), postedTime.toJSON(), "postedTime is incorrect.");
+
+        assert_equals(notification.title, titleToSet, "title is incorrect.");
+        assert_equals(notification.content, contentToSet, "content is incorrect.");
+        assert_equals(notification.iconPath, iconPathToSet, "iconPath is incorrect.");
+        assert_equals(notification.soundPath, soundPathToSet, "soundPath is incorrect.");
+        assert_equals(notification.vibration, vibrationToSet, "vibration is incorrect.");
+
+        assert_equals(notification.appId, appIdToSet, "appId is incorrect.");
+        assert_equals(notification.appControl.operation, applicationControl.operation,
+                "appControl.operation is incorrect.");
+        assert_equals(notification.appControl.uri, applicationControl.uri, "appControl.uri is incorrect.");
+        assert_equals(notification.appControl.mime, applicationControl.mime, "appControl.mime is incorrect.");
+        assert_equals(notification.appControl.category, applicationControl.category,
+                "appControl.category is incorrect.");
+        assert_array_equals(notification.appControl.data, applicationControl.data,
+                "appControl.data is incorrect.");
+
+        assert_equals(notification.id, notificationToPost.id, "id is incorrect.");
+        assert_equals(notification.progressValue, progressValueToSet, "progressValue is incorrect.");
+        assert_equals(notification.progressType, progressTypeToSet, "progressType is incorrect.");
+        assert_equals(notification.statusType, statusType, "statusType is incorrect.");
+
+        assert_equals(notification.subIconPath, subIconPathToSet, "subIconPath is incorrect.");
+        assert_equals(notification.number, numberToSet, "number is incorrect.");
+        assert_equals(notification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath is incorrect.");
+
+        assert_array_equals(notification.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+        assert_equals(notification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+        for (i = 0; i < detailInfoToSet.length; i++) {
+            assert_equals(notification.detailInfo[i].mainText, detailInfoToSet[i].mainText,
+                "detailInfo.mainText attribute for index = " + i + ".");
+            assert_equals(notification.detailInfo[i].subText, detailInfoToSet[i].subText,
+                "detailInfo.subText attribute for index = " + i + ".");
+        }
+        assert_own_property(notification, "ledColor", "notification");
+        assert_equals(notification.ledOnPeriod, 0, "notification.ledOnPeriod");
+        assert_equals(notification.ledOffPeriod, 0, "notification.ledOffPeriod");
+    } finally {
+        tizen.notification.removeAll();
+    }
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html
new file mode 100755 (executable)
index 0000000..844a3bc
--- /dev/null
@@ -0,0 +1,118 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>NotificationManager_getAll</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: NotificationManager_getAll
+//==== LABEL Check if NotificationManager.getAll method works
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAll M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNA MR
+
+test(function () {
+
+    var statusTypes = ["SIMPLE", "ONGOING", "PROGRESS", "THUMBNAIL"], i, j,
+        statusNotification, allNotifications, postedNotifications = {},
+        attributesCounter = 0, progressTypeToSet = "BYTE",
+        progressValueToSet = 555, postedNotification;
+    try {
+        notificationDict.progressType = progressTypeToSet;
+        notificationDict.progressValue = progressValueToSet;
+        for (i = 0; i < statusTypes.length; i++) {
+            statusNotification = new tizen.StatusNotification(statusTypes[i], titleToSet, notificationDict);
+            tizen.notification.post(statusNotification);
+            postedNotifications[statusNotification.id] = statusNotification;
+        }
+        allNotifications = tizen.notification.getAll();
+        assert_true(Array.isArray(allNotifications), "Result from getAll is not an Array");
+
+        attributesCounter = Object.getOwnPropertyNames(postedNotifications).length;
+        assert_equals(attributesCounter, statusTypes.length, "IDs are not unique.");
+        assert_equals(allNotifications.length, attributesCounter, "Incorrect number of notifications.");
+
+        for (i = 0; i < allNotifications.length; i++) {
+            statusNotification = allNotifications[i];
+            assert_true(statusNotification.id in postedNotifications, "Unknown id received.");
+            postedNotification = postedNotifications[statusNotification.id];
+            assert_true(statusNotification instanceof tizen.StatusNotification, "Incorrect type.");
+
+            assert_equals(statusNotification.type, "STATUS", "type is incorrect.");
+            assert_equals(statusNotification.postedTime.toJSON(), postedNotification.postedTime.toJSON(), "postedTime is incorrect.");
+
+            assert_equals(statusNotification.title, postedNotification.title, "title is incorrect.");
+            assert_equals(statusNotification.content, contentToSet, "content is incorrect.");
+            assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath is incorrect.");
+            assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath is incorrect.");
+            assert_equals(statusNotification.vibration, vibrationToSet, "vibration is incorrect.");
+
+            assert_equals(statusNotification.appId, appIdToSet, "appId is incorrect.");
+            assert_equals(statusNotification.appControl.operation, applicationControl.operation,
+                    "appControl.operation is incorrect.");
+            assert_equals(statusNotification.appControl.uri, applicationControl.uri, "appControl.uri is incorrect.");
+            assert_equals(statusNotification.appControl.mime, applicationControl.mime, "appControl.mime is incorrect.");
+            assert_equals(statusNotification.appControl.category, applicationControl.category,
+                    "appControl.category is incorrect.");
+            assert_array_equals(statusNotification.appControl.data, applicationControl.data,
+                    "appControl.data is incorrect.");
+
+            assert_equals(statusNotification.id, postedNotification.id, "id is incorrect.");
+
+            assert_equals(statusNotification.progressType, progressTypeToSet, "progressType is incorrect.");
+            assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue is incorrect.");
+            assert_equals(statusNotification.statusType, postedNotification.statusType, "statusType is incorrect.");
+
+            assert_equals(statusNotification.subIconPath, subIconPathToSet, "subIconPath is incorrect.");
+            assert_equals(statusNotification.number, numberToSet, "number is incorrect.");
+            assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath is incorrect.");
+
+            assert_array_equals(statusNotification.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+            assert_equals(statusNotification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+            for (j = 0; j < detailInfoToSet.length; j++) {
+                assert_equals(statusNotification.detailInfo[j].mainText, detailInfoToSet[j].mainText,
+                    "detailInfo.mainText attribute for index = " + j + ".");
+                assert_equals(statusNotification.detailInfo[j].subText, detailInfoToSet[j].subText,
+                    "detailInfo.subText attribute for index = " + j + ".");
+            }
+            assert_own_property(statusNotification, "ledColor", "statusNotification");
+            assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+            assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+        }
+    } finally {
+        tizen.notification.removeAll();
+    }
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html
new file mode 100755 (executable)
index 0000000..e13b120
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Lei, ZhanX <zhanx.lei@intel.com>
+        Zhang, GeX <gex.zhang@intel.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getAll_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: NotificationManager_getAll_exist
+//==== LABEL Check if method getAll which in NotificationManager interface exists.
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAll M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    assert_true("getAll" in tizen.notification, "No getAll method in tizen.notification.");
+    check_method_exists(tizen.notification, "getAll");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html
new file mode 100755 (executable)
index 0000000..79eb967
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getAll_extra_argument</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_getAll_extra_argument
+//==== LABEL Check if method getAll of NotificationManager accepts extra argument
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAll M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+    checkExtraArgument(tizen.notification, "getAll");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html
new file mode 100755 (executable)
index 0000000..30efe1d
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Lei, ZhanX <zhanx.lei@intel.com>
+        Zhang, GeX <gex.zhang@intel.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_get_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: NotificationManager_get_exist
+//==== LABEL Check if method get which in NotificationManager interface exists.
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    assert_true("get" in tizen.notification, "No get method in tizen.notification.");
+    check_method_exists(tizen.notification, "get");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html
new file mode 100755 (executable)
index 0000000..50b5185
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Md. Samsuddin Alam <ss.alam@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_get_id_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body bgcolor="FFFFFF">
+<div id="log"></div>
+<script>
+//==== TEST NotificationManager_get_id_invalid
+//==== LABEL Check if NotificationManager get method works with invalid argument
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+    var DOMStringConversionArray, i, id;
+    DOMStringConversionArray = getTypeConversionExceptions("object");
+    for (i = 0; i < DOMStringConversionArray.length; i++) {
+        id = DOMStringConversionArray[i];
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
+            tizen.notification.get(id);
+        }, "Should throw exception");
+    }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html
new file mode 100755 (executable)
index 0000000..30df97c
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+        Md. Samsuddin Alam <ss.alam@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_get_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body bgcolor="FFFFFF">
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_get_misarg
+//==== LABEL Check if NotificationManager get method works properly without argument
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
+        tizen.notification.get();
+    }, "exception should be thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html
deleted file mode 100755 (executable)
index 0bf7b2b..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOff</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOff
-//==== LABEL Check if turnScreenOff method called with non-optional arguments does what it should
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOff M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MR
-test(function () {
-    var retVal = tizen.power.turnScreenOff();
-    assert_equals(retVal, undefined, "method should return nothing");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html
deleted file mode 100755 (executable)
index 288c6d8..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOff_exist</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOff_exist
-//==== LABEL Check if turnScreenOff exists
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOff M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("turnScreenOff" in tizen.power, "turnScreenOff method sould be implemented");
-    check_method_exists(tizen.power, "turnScreenOff");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html
deleted file mode 100755 (executable)
index ef8d7fb..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOff_extra_argument</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOff_extra_argument
-//==== LABEL Check if turnScreenOff method can be invoked with extra argument
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOff M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.power, "turnScreenOff");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html
deleted file mode 100755 (executable)
index e7d9acf..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        leizhan <zhanx.lei@intel.com>
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOff_successful</title>
-<link rel="author" title="Intel" href="http://www.intel.com" />
-<link rel="help" href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html" />
-<meta name="flags" content="" />
-<meta name="assert" content="Check if PowerManager's turnScreenOff method works" />
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOff_successful
-//==== LABEL Check if turnScreenOff method works correctly
-//==== EXECUTION_TYPE manual
-//==== STEP Click 'Run'
-//==== EXPECT The screen should be turned off
-//==== STEP Unlock the screen and display the test application
-//==== EXPECT The result should be 'Pass'
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOff M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MNAST
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), powerMgr = tizen.power, isScreenOn, changeCallback, ch = 0;
-t.step(function () {
-    changeCallback = t.step_func(function (previousState, changedState) {
-           isScreenOn = tizen.power.isScreenOn();
-               if(isScreenOn){
-                 if(ch){                  
-                  assert_unreached("Invalid listener invoked.");       
-                       }
-                       ch++;
-                                       }
-           else{
-                   assert_not_equals(previousState, changedState, "Screen States should be different.");
-            assert_false(isScreenOn, "The screen should be turned off");
-            t.done();
-
-               }
-    });
-     powerMgr.setScreenStateChangeListener(changeCallback);
-    powerMgr.turnScreenOn();   
-    powerMgr.turnScreenOff();
-    
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html
deleted file mode 100755 (executable)
index ba46717..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn
-//==== LABEL Check if turnScreenOn method called with non-optional arguments does what it should
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MR
-test(function () {
-    var retVal = tizen.power.turnScreenOn();
-    assert_equals(retVal, undefined, "method should return nothing");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html
deleted file mode 100755 (executable)
index deaba19..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn_exist</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn_exist
-//==== LABEL Check if turnScreenOn exists
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("turnScreenOn" in tizen.power, "turnScreenOn method sould be implemented");
-    check_method_exists(tizen.power, "turnScreenOn");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html
deleted file mode 100755 (executable)
index 9504fe2..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn_extra_argument</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn_extra_argument
-//==== LABEL Check if turnScreenOn method can be invoked with extra argument
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.power, "turnScreenOn");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html
deleted file mode 100755 (executable)
index 0764391..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        leizhan <zhanx.lei@intel.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn_method_exists</title>
-<link rel="author" title="Intel" href="http://www.intel.com" />
-<link rel="help" href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html" />
-<meta name="flags" content="" />
-<meta name="assert" content="Check if turnScreenOn method exists" />
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn_method_exists
-//==== LABEL Check if turnScreenOn method exists
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-var powerMgr;
-test(function () {
-    powerMgr = tizen.power;
-    assert_true("turnScreenOn" in powerMgr, "turnScreenOn method sould be implemented");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html
deleted file mode 100755 (executable)
index 1ae1b43..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        leizhan <zhanx.lei@intel.com>
-
--->
-
-<html>
-<head>
-<title>PowerManager_turnScreenOn_successful</title>
-<link rel="author" title="Intel" href="http://www.intel.com" />
-<link rel="help" href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html" />
-<meta name="flags" content="" />
-<meta name="assert" content="Check if PowerManager's turnScreenOn method works" />
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PowerManager_turnScreenOn_successful
-//==== LABEL Check if turnScreenOn method works correctly
-//==== EXECUTION_TYPE manual
-//==== STEP Click 'Run'
-//==== EXPECT The screen should be turned locked
-//==== STEP Unlock the screen and display the test application
-//==== EXPECT The result should be 'Pass'
-//==== SPEC Tizen Web API:System:Power:PowerManager:turnScreenOn M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MNAST
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), isScreenOn, changeCallback, ch = 0;
-
-t.step(function () {
-    changeCallback = t.step_func(function (previousState, changedState) {
-        isScreenOn = tizen.power.isScreenOn();
-               if(isScreenOn){
-               assert_not_equals(previousState, changedState, "Screen States should be different.");
-            assert_true(isScreenOn, "The screen should be turned on");
-                   t.done();
-               }
-               else{
-                 if(ch){
-                   assert_unreached("Invalid listener invoked.");
-                       }
-                       ch++;
-               }
-
-
-    });
-    tizen.power.setScreenStateChangeListener(changeCallback);
-    tizen.power.turnScreenOff();
-    tizen.power.turnScreenOn();
-    
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService.html
deleted file mode 100755 (executable)
index 505921a..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_connectService
-//==== LABEL Check if connectService method works correctly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMINA MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, pushRegisterErrorCallback, unregisterServiceError,
-    unregisterServiceDone, notificationCallback, returnedValue = null;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    notificationCallback = t.step_func(function (message) {
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            returnedValue = tizen.push.connectService(notificationCallback);
-            assert_equals(returnedValue, undefined, "connectService() should return undefined.");
-        } finally {
-            tizen.push.disconnectService();
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html
deleted file mode 100755 (executable)
index 445d346..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_connectService_exist
-//==== LABEL Check if method connectService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("connectService" in tizen.push, "No connectService method in tizen.push");
-    check_method_exists(tizen.push, "connectService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_missarg.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_missarg.html
deleted file mode 100755 (executable)
index f64b833..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_missarg</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_connectService_missarg
-//==== LABEL Check with missing non-optional argument - PushManager.connectService method
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMA
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), pushRegisterSuccessCallback,
-    pushRegisterErrorCallback, unregisterServiceDone, unregisterServiceError, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            assert_throws({name: exceptionName},
-                function () {
-                    tizen.push.connectService();
-                }, exceptionName + " should be thrown - missing argument");
-
-        } finally {
-            tizen.push.disconnectService();
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 785ea29..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_notificationCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_connectService_notificationCallback_TypeMismatch
-//==== LABEL Check type conversions for notificationCallback argument of PushManager.connectService method
-//==== PRIORITY: P2
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-test(function () {
-    var conversionTable, incorrectCallback, exceptionName, i;
-
-    conversionTable = getTypeConversionExceptions("functionObject", false);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.connectService(incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-    }
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html
deleted file mode 100755 (executable)
index b498c49..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_connectService_notificationCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_connectService_notificationCallback_invalid_cb
-//==== LABEL Check if PushManager.connectService method throws exception when notificationCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:connectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onsuccess: t.step_func(function (pushMessage) {
-            assert_unreached("Incorrect callback invoked. pushMessage.appData: " + pushMessage.appData);
-        })
-    };
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.connectService(incorrectCallback);
-        }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService.html
deleted file mode 100755 (executable)
index 09357eb..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_disconnectService</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_disconnectService
-//==== LABEL Check if disconnectService method works correctly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:disconnectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MNA MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), pushRegisterSuccessCallback,
-    unregisterServiceDone, unregisterServiceError,
-    notificationCallback, returnedValue = null, pushRegisterErrorCallback;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    notificationCallback = t.step_func(function (message) {
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            tizen.push.connectService(notificationCallback);
-            returnedValue = tizen.push.disconnectService();
-            assert_equals(returnedValue, undefined, "disconnectService() should return undefined.");
-        } finally {
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html
deleted file mode 100755 (executable)
index 586fcd6..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_disconnectService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_disconnectService_exist
-//==== LABEL Check if method disconnectService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:disconnectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("disconnectService" in tizen.push, "No disconnectService method in tizen.push");
-    check_method_exists(tizen.push, "disconnectService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html
deleted file mode 100755 (executable)
index 59180b1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_disconnectService_extra_argument</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_disconnectService_extra_argument
-//==== LABEL Check if method disconnectService of PushManager accepts extra argument
-//==== SPEC Tizen Web API:TBD:Push:PushManager:disconnectService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    checkExtraArgument(tizen.push, "disconnectService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService.html
deleted file mode 100755 (executable)
index 4b490d3..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_registerService
-//==== LABEL Check if method registerService of PushManager works properly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MOA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, pushRegisterErrorCallback, returnedValue = null,
-    unregisterServiceSuccessCallback, unregisterServiceDone, beforeRegistrationId,
-    unregisterServiceErrorCallback, unregisterServiceError;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            assert_equals(returnedValue, undefined, "Incorrect returned value from registerService method");
-            assert_type(registrationId, "string", "registrationId is not a string");
-            assert_not_equals(registrationId, "", "registrationId is equal to empty string.");
-            assert_equals(registrationId, tizen.push.getRegistrationId(),
-                "current registrationId is different from registered service id");
-            assert_not_equals(registrationId, beforeRegistrationId,
-                "registrationId did not change.");
-        } finally {
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    unregisterServiceSuccessCallback = t.step_func(function () {
-        beforeRegistrationId = tizen.push.getRegistrationId();
-        returnedValue = tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-    });
-
-    unregisterServiceErrorCallback = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.unregisterService(unregisterServiceSuccessCallback, unregisterServiceErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html
deleted file mode 100755 (executable)
index d0edbc3..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_appControl_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_appControl_TypeMismatch
-//==== LABEL Check type conversions for appControl argument of PushManager.registerService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, errorCallback, conversionTable, exceptionName,
-    incorrectService, i;
-
-t.step(function () {
-    pushRegisterSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    conversionTable = getTypeConversionExceptions("object", false);
-
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectService = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService(incorrectService, pushRegisterSuccessCallback, errorCallback);
-            }, exceptionName + " should be thrown - given incorrect ApplicationControl: " + incorrectService);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html
deleted file mode 100755 (executable)
index 82b8102..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_appControl_invalid_obj</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_appControl_invalid_obj
-//==== LABEL Check if PushManager.registerService method throws exception when appControl is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTO
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, errorCallback, exceptionName = "TypeMismatchError", fakeService;
-
-t.step(function () {
-    pushRegisterSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    fakeService = {
-        operation: "http://tizen.org/appcontrol/operation/push_test",
-        uri: "",
-        mime: "",
-        category: "",
-        data: []
-    };
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.registerService(fakeService, pushRegisterSuccessCallback, errorCallback);
-        }, exceptionName + " should be thrown - given incorrect ApplicationControl");
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index a65cd69..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_errorCallback_TypeMismatch
-//==== LABEL Check type conversions for errorCallback argument of PushManager.registerService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    registerSuccessCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    registerSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", true);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService(service, registerSuccessCallback, incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 3c8bbad..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_errorCallback_invalid_cb
-//==== LABEL Check if PushManager.registerService method throws exception when errorCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, registerSuccessCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onerror: t.step_func(function (error) {
-            assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-        })
-    };
-
-    registerSuccessCallback = t.step_func(function (pushRegistrationId) {
-        assert_unreached("Callback invoked. pushRegistrationId: " + pushRegistrationId);
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.registerService(service,  registerSuccessCallback, incorrectCallback);
-        }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html
deleted file mode 100755 (executable)
index 04ae328..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_registerService_exist
-//==== LABEL Check if method registerService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("registerService" in tizen.push, "No registerService method in tizen.push");
-    check_method_exists(tizen.push, "registerService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html
deleted file mode 100755 (executable)
index b7851dd..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_misargs</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_registerService_misargs
-//==== LABEL Check if method registerService throws exception when non-optional argument is missing
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MMA
-test(function () {
-    var exceptionName = "TypeMismatchError";
-    try {
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService();
-            }, exceptionName + " should be thrown - missing ApplicationControl .");
-    } finally {
-        tizen.push.unregisterService();
-    }
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index 0290280..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_successCallback_TypeMismatch
-//==== LABEL Check type conversions for successCallback argument of PushManager.registerService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    errorCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", false);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.registerService(service, incorrectCallback, errorCallback);
-            }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html
deleted file mode 100755 (executable)
index a49ea81..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_registerService_successCallback_invalid_cb
-//==== LABEL Check if PushManager.registerService method throws exception when successCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, errorCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onsuccess: t.step_func(function (pushRegistrationId) {
-            assert_unreached("Incorrect callback invoked. pushRegistrationId: " + pushRegistrationId);
-        })
-    };
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.registerService(service, incorrectCallback, errorCallback);
-        }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_without_errorCallback.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_without_errorCallback.html
deleted file mode 100755 (executable)
index 43accf7..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_registerService_without_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_registerService_without_errorCallback
-//==== LABEL Check if method registerService of PushManager works properly without errorCallback
-//==== SPEC Tizen Web API:TBD:Push:PushManager:registerService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMINA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, returnedValue = null, beforeRegistrationId,
-    unregisterServiceSuccessCallback, unregisterServiceDone,
-    unregisterServiceError, unregisterServiceErrorCallback;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        try {
-            assert_equals(returnedValue, undefined, "Incorrect returned value from registerService method");
-            assert_type(registrationId, "string", "registrationId is not a string");
-            assert_not_equals(registrationId, "", "registrationId is equal to empty string.");
-            assert_equals(registrationId, tizen.push.getRegistrationId(),
-                "current registrationId is different from registered service id");
-            assert_not_equals(registrationId, beforeRegistrationId,
-                "registrationId did not change.");
-        } finally {
-            tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-        }
-    });
-
-    unregisterServiceSuccessCallback = t.step_func(function () {
-        beforeRegistrationId = tizen.push.getRegistrationId();
-        returnedValue = tizen.push.registerService(service, pushRegisterSuccessCallback);
-    });
-
-    unregisterServiceErrorCallback = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.unregisterService(unregisterServiceSuccessCallback, unregisterServiceErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService.html
deleted file mode 100755 (executable)
index 12dd70c..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_unregisterService
-//==== LABEL Check if unregisterService works correctly
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MOA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), pushRegisterSuccessCallback,
-    pushRegisterErrorCallback, unregisterServiceDone, unregisterServiceError,
-    registrationId, afterRegistrationId, returnedValue = null;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        afterRegistrationId = tizen.push.getRegistrationId();
-        assert_not_equals(registrationId, afterRegistrationId, "registrationId did not change.");
-        assert_equals(afterRegistrationId, null, "registtrationId should be null");
-        assert_equals(returnedValue, undefined, "Incorrect returned value.");
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (successRegistrationId) {
-        registrationId = successRegistrationId;
-        returnedValue = tizen.push.unregisterService(unregisterServiceDone, unregisterServiceError);
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index f4ba690..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_errorCallback_TypeMismatch
-//==== LABEL Check type conversions for errorCallback argument of PushManager.unregisterService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    unregisterSuccessCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    unregisterSuccessCallback = t.step_func(function () {
-        assert_unreached("Callback invoked");
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", true);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.unregisterService(unregisterSuccessCallback, incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 2c8aa46..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_errorCallback_invalid_cb
-//==== LABEL Check if PushManager.unregisterService method throws exception when errorCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, unregisterSuccessCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onerror: t.step_func(function (error) {
-            assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-        })
-    };
-
-    unregisterSuccessCallback = t.step_func(function () {
-        assert_unreached("Callback invoked.");
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.unregisterService(unregisterSuccessCallback, incorrectCallback);
-        }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html
deleted file mode 100755 (executable)
index 2e313c8..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_exist</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P0
-//==== TEST: PushManager_unregisterService_exist
-//==== LABEL Check if method unregisterService of PushManager exists
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA ME
-test(function () {
-    assert_true("unregisterService" in tizen.push, "No unregisterService method in tizen.push");
-    check_method_exists(tizen.push, "unregisterService");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html
deleted file mode 100755 (executable)
index c0757c6..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_successCallback_TypeMismatch
-//==== LABEL Check type conversions for successCallback argument of PushManager.unregisterService method
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    errorCallback, conversionTable, incorrectCallback, exceptionName, i;
-
-t.step(function () {
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    conversionTable = getTypeConversionExceptions("functionObject", true);
-    for(i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                tizen.push.unregisterService(incorrectCallback, errorCallback);
-            }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-    }
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html
deleted file mode 100755 (executable)
index 3e31a30..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: PushManager_unregisterService_successCallback_invalid_cb
-//==== LABEL Check if PushManager.unregisterService method throws exception when successCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    incorrectCallback, errorCallback, exceptionName = "TypeMismatchError";
-
-t.step(function () {
-    incorrectCallback = {
-        onsuccess: t.step_func(function () {
-            assert_unreached("Incorrect callback invoked");
-        })
-    };
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
-    });
-
-    assert_throws({name: exceptionName},
-        function () {
-            tizen.push.unregisterService(incorrectCallback, errorCallback);
-        }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
-
-    t.done();
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_errorCallback.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_errorCallback.html
deleted file mode 100755 (executable)
index c9d5d94..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_without_errorCallback</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_unregisterService_without_errorCallback
-//==== LABEL Check if unregisterService method works without errorCallback
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MOA MAST MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, pushRegisterErrorCallback,
-    unregisterServiceDone, unregisterServiceError,
-    registrationId, afterRegistrationId, returnedValue = null;
-
-t.step(function () {
-    unregisterServiceDone = t.step_func(function () {
-        afterRegistrationId = tizen.push.getRegistrationId();
-        assert_not_equals(registrationId, afterRegistrationId, "registrationId did not change.");
-        assert_equals(afterRegistrationId, null, "registtrationId should be null");
-        assert_equals(returnedValue, undefined, "Incorrect returned value.");
-        t.done();
-    });
-
-    unregisterServiceError = t.step_func(function (error) {
-        assert_unreached("unregisterService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    pushRegisterSuccessCallback = t.step_func(function (successRegistrationId) {
-        registrationId = successRegistrationId;
-        returnedValue = tizen.push.unregisterService(unregisterServiceDone);
-    });
-
-    pushRegisterErrorCallback = t.step_func(function (error) {
-        assert_unreached("registerService() error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, pushRegisterErrorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_successCallback.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_without_successCallback.html
deleted file mode 100755 (executable)
index d134a26..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-
-<html>
-<head>
-<title>PushManager_unregisterService_without_successCallback</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script src="support/push_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== PRIORITY P1
-//==== TEST: PushManager_unregisterService_without_successCallback
-//==== LABEL Check if unregisterService method works without successCallback
-//==== SPEC Tizen Web API:TBD:Push:PushManager:unregisterService M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MMINA MR
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    pushRegisterSuccessCallback, errorCallback, returnedValue = null;
-
-t.step(function () {
-    pushRegisterSuccessCallback = t.step_func(function (registrationId) {
-        returnedValue = tizen.push.unregisterService();
-        assert_equals(returnedValue, undefined, "Incorrect returned value.");
-        t.done();
-    });
-
-    errorCallback = t.step_func(function (error) {
-        assert_unreached("Error occurred: " + error.name + ":" + error.message);
-    });
-
-    tizen.push.registerService(service, pushRegisterSuccessCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html
new file mode 100755 (executable)
index 0000000..8f9d0f4
--- /dev/null
@@ -0,0 +1,93 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_appControl_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_appControl_attribute
+//==== LABEL Check if attribute appControl of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:appControl A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, newOperation = "http://tizen.org/appcontrol/operation/view",
+        initialValue, newValue;
+
+    initialValue = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
+        "file:///home/owner/share/Images/" + iconPathToSet.replace(/^.*\//, ""),
+        "image/jpg",
+        null,
+        [new tizen.ApplicationControlData("k1", ["v1"])]
+    );
+    newValue = new tizen.ApplicationControl(newOperation,
+        "file:///home/owner/share/Images/" + thumbnailToSet.replace(/^.*\//, ""),
+        "image/jpeg",
+        "category",
+        [new tizen.ApplicationControlData("new-k1", ["new-v1"])]
+    );
+
+    delete notificationDict.appId;
+    notificationDict.appControl = initialValue;
+    statusNotification = new tizen.StatusNotification("PROGRESS", titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "appControl", "StatusNotification doesn't own appControl property.");
+
+    assert_equals(statusNotification.appControl.uri, initialValue.uri, "appControl.uri attribute.");
+    assert_equals(statusNotification.appControl.mime, initialValue.mime, "appControl.mime attribute.");
+    assert_equals(statusNotification.appControl.category, initialValue.category,
+            "appControl.category attribute.");
+    assert_equals(statusNotification.appControl.operation, initialValue.operation,
+            "appControl.operation attribute.");
+    assert_equals(statusNotification.appControl.data.length, initialValue.data.length, "appControl.data.length");
+    assert_equals(statusNotification.appControl.data[0].key, initialValue.data[0].key, "appControl.data[0].length");
+    assert_array_equals(statusNotification.appControl.data[0].value, initialValue.data[0].value, "appControl.data[0].value");
+
+    statusNotification.appControl = newValue;
+    assert_equals(statusNotification.appControl.uri, newValue.uri, "appControl.uri attribute cannot be assigned.");
+    assert_equals(statusNotification.appControl.mime, newValue.mime, "appControl.mime attribute cannot be assigned.");
+    assert_equals(statusNotification.appControl.category, newValue.category,
+            "appControl.category attribute cannot be assigned.");
+    assert_equals(statusNotification.appControl.operation, newValue.operation,
+            "appControl.operation attribute cannot be assigned.");
+    assert_equals(statusNotification.appControl.data.length, newValue.data.length, "newValue.data.length");
+    assert_equals(statusNotification.appControl.data[0].key, newValue.data[0].key, "newValue.data[0].length");
+    assert_array_equals(statusNotification.appControl.data[0].value, newValue.data[0].value, "newValue.data[0].value");
+
+    statusNotification.appControl = null;
+    assert_equals(statusNotification.appControl, null, "appControl attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html
new file mode 100755 (executable)
index 0000000..9b7082e
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_appid_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_appid_attribute
+//==== LABEL Check if attribute appid of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:appId A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "SIMPLE", newValue = "newValue";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "appId", "StatusNotification doesn't own appId property.");
+    assert_equals(statusNotification.appId, appIdToSet, "appId attribute not set.");
+    statusNotification.appId = newValue;
+    assert_equals(statusNotification.appId, newValue, "appId attribute cannot be assigned.");
+
+    statusNotification.appId = null;
+    assert_equals(statusNotification.appId, null, "appId attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html
new file mode 100755 (executable)
index 0000000..190f6ac
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_backgroundImagePath_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_backgroundImagePath_attribute
+//==== LABEL Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:backgroundImagePath A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "THUMBNAIL", invalidBackgroundImagePath = "dummyValue";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "backgroundImagePath", "StatusNotification doesn't own backgroundImagePath property.");
+    assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath attribute not set.");
+    statusNotification.backgroundImagePath = backgroundImagePathToSet2;
+    assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet2, "backgroundImagePath attribute cannot be assigned.");
+
+    statusNotification.backgroundImagePath = invalidBackgroundImagePath;
+    assert_equals(statusNotification.backgroundImagePath, invalidBackgroundImagePath,
+        "backgroundImagePath attribute - invalid path.");
+
+    statusNotification.backgroundImagePath = null;
+    assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html
new file mode 100755 (executable)
index 0000000..09664f6
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_ONGOING_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_ONGOING_BYTE
+//==== LABEL Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("ONGOING", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..ae42856
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_ONGOING_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_ONGOING_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("ONGOING", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html
new file mode 100755 (executable)
index 0000000..b153b0f
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_PROGRESS_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_PROGRESS_BYTE
+//==== LABEL Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("PROGRESS", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..b78630f
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_PROGRESS_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_PROGRESS_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("PROGRESS", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html
new file mode 100755 (executable)
index 0000000..b2a6a23
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_SIMPLE_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_SIMPLE_BYTE
+//==== LABEL Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("SIMPLE", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..bdca3f8
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_SIMPLE_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_SIMPLE_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("SIMPLE", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html
new file mode 100755 (executable)
index 0000000..292db96
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_THUMBNAIL_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_THUMBNAIL_BYTE
+//==== LABEL Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("THUMBNAIL", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..ad3b2f2
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_THUMBNAIL_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_THUMBNAIL_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    testStatusNotificationConstructor("THUMBNAIL", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html
new file mode 100755 (executable)
index 0000000..4f95d55
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_backgroundImagePath</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_backgroundImagePath
+//==== LABEL Check if constructor accepts incorrect backgroundImagePath
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, invalidBackgroundImagePath = "dummyValue";
+
+    notificationDict = {
+        backgroundImagePath: invalidBackgroundImagePath
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.backgroundImagePath, invalidBackgroundImagePath,
+            "StatusNotification.backgroundImagePath has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html
new file mode 100755 (executable)
index 0000000..970ed85
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_iconPath</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_iconPath
+//==== LABEL Check if constructor accepts incorrect iconPath
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, invalidIconPath = "dummyValue";
+
+    notificationDict = {
+        iconPath: invalidIconPath
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.iconPath, invalidIconPath,
+            "StatusNotification.iconPath has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html
new file mode 100755 (executable)
index 0000000..bd3d0fe
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_soundPath</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_soundPath
+//==== LABEL Check if constructor accepts incorrect soundPath
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, invalidSoundPath = "dummyValue";
+
+    notificationDict = {
+        soundPath: invalidSoundPath
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.soundPath, invalidSoundPath,
+            "StatusNotification.soundPath has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html
new file mode 100755 (executable)
index 0000000..9b8c71d
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_subIconPath</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_subIconPath
+//==== LABEL Check if constructor accepts incorrect subIconPath
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, invalidSubIconPath = "dummyValue";
+
+    notificationDict = {
+        subIconPath: invalidSubIconPath
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.subIconPath, invalidSubIconPath,
+            "StatusNotification.subIconPath has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html
new file mode 100755 (executable)
index 0000000..00ffbaa
--- /dev/null
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_invalid_thumbnails</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_invalid_thumbnails
+//==== LABEL Check if constructor accepts incorrect thumbnails
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
+        invalidThumbnails = [thumbnailToSet, thumbnailToSet2, "dummyValue" ], statusNotification;
+
+    notificationDict = {
+        thumbnails: invalidThumbnails
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_array_equals(statusNotification.thumbnails, invalidThumbnails,
+            "StatusNotification.thumbnails has wrong value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html
new file mode 100755 (executable)
index 0000000..d732c27
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_minargs</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_minargs
+//==== LABEL Check if StatusNotification's constructor works with minimal arguments
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var statusNotificationType = "ONGOING",
+        statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
+    assert_equals(statusNotification.title, titleToSet, "title attribute.");
+    assert_equals(statusNotification.content, null, "content attribute.");
+    assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
+    assert_equals(statusNotification.iconPath, null, "iconPath attribute.");
+    assert_equals(statusNotification.subIconPath, null, "subIconPath attribute.");
+    assert_array_equals(statusNotification.detailInfo, [], "detailInfo attribute.");
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+    assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+    assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+    assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute.");
+    assert_equals(statusNotification.soundPath, null, "soundPath attribute.");
+    assert_equals(statusNotification.vibration, false, "vibration attribute.");
+    assert_equals(statusNotification.progressType, "PERCENTAGE", "progressType attribute.");
+    assert_equals(statusNotification.progressValue, null, "progressValue attribute.");
+    assert_equals(statusNotification.appControl, null, "appControl attribute.");
+    assert_equals(statusNotification.appId, null, "appId attribute.");
+    assert_equals(statusNotification.number, null, "number attribute.");
+    check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
+    check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
+    assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html
new file mode 100755 (executable)
index 0000000..a67cf92
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_notificationInitDict_partial</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_notificationInitDict_partial
+//==== LABEL Check if StatusNotification's constructor works with partial attributes in notificationInitDict
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotification, titleToSet = "Title",
+        contentToSet = "This is a simple notificaiton.", iconPathToSet = "images/webapi-tizen-notification-test_image1.jpg",
+        soundPathToSet = "music/webapi-tizen-notification-test_noise1.mp3", statusNotificationType = "SIMPLE";
+
+    notificationDict = {
+        content: contentToSet,
+        iconPath: iconPathToSet,
+        soundPath: soundPathToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
+    check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
+    assert_equals(statusNotification.title, titleToSet, "title attribute.");
+    assert_equals(statusNotification.content, contentToSet, "content attribute.");
+    assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
+    assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath attribute.");
+    assert_equals(statusNotification.subIconPath, null, "subIconPath attribute.");
+    assert_array_equals(statusNotification.detailInfo, [], "detailInfo attribute.");
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+    assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+    assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+    assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute.");
+    assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath attribute.");
+    assert_equals(statusNotification.vibration, false, "vibration attribute.");
+    assert_equals(statusNotification.number, null, "number attribute.");
+    assert_equals(statusNotification.appControl, null, "appControl attribute.");
+    assert_equals(statusNotification.appId, null, "appId attribute.");
+    assert_equals(statusNotification.progressType, "PERCENTAGE", "progressType attribute.");
+    assert_equals(statusNotification.progressValue, null, "progressValue attribute.");
+    check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
+    assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html
new file mode 100755 (executable)
index 0000000..62fdee7
--- /dev/null
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_notificationInitDict_partial_extra</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_notificationInitDict_partial_extra
+//==== LABEL Check if StatusNotification's constructor works with additional attributes in notificationInitDict
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var notificationDict, statusNotificationType = "ONGOING", statusNotification,
+        titleToSet = "Title", vibrationToSet = false, appIdToSet = tizen.application.getAppInfo().id,
+        progressValueToSet = 80;
+
+    notificationDict = {
+        vibration: vibrationToSet,
+        appId: appIdToSet,
+        progressValue: progressValueToSet,
+        newDummyString: "dummyString",
+        newDummyFunction: function () {},
+        newDummyObject: {attr: 1}
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
+    check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
+    assert_equals(statusNotification.title, titleToSet, "title attribute.");
+    assert_equals(statusNotification.content, null, "content attribute.");
+    assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
+    assert_equals(statusNotification.iconPath, null, "iconPath attribute.");
+    assert_equals(statusNotification.subIconPath, null, "subIconPath attribute.");
+    assert_array_equals(statusNotification.detailInfo, [], "detailInfo attribute.");
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+    assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+    assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+    assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute.");
+    assert_equals(statusNotification.soundPath, null, "soundPath attribute.");
+    assert_equals(statusNotification.vibration, vibrationToSet, "vibration attribute.");
+    assert_equals(statusNotification.number, null, "number attribute.");
+    assert_equals(statusNotification.appControl, null, "appControl attribute.");
+    assert_equals(statusNotification.appId, appIdToSet, "appId attribute.");
+    assert_equals(statusNotification.progressType, "PERCENTAGE", "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+    check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
+    assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html
new file mode 100755 (executable)
index 0000000..cf735ec
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_number_max</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_number_max
+//==== LABEL Check if constructor accepts max number.
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, notificationDict, numberToSet = 2147483647;
+
+    notificationDict = {
+        number: numberToSet
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.number, numberToSet, "number attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html
new file mode 100755 (executable)
index 0000000..cdc7bac
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_number_min</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_number_min
+//==== LABEL Check if constructor accepts min number.
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM
+
+test(function () {
+    var statusNotificationType = "PROGRESS", titleToSet = "Title",
+        statusNotification, notificationDict, numberToSet = -2147483648;
+
+    notificationDict = {
+        number: numberToSet
+    };
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.number, numberToSet, "number attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html
new file mode 100755 (executable)
index 0000000..5218312
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_-1_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_-1_BYTE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = -1, progressTypeToSet = "BYTE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html
new file mode 100755 (executable)
index 0000000..4334d27
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_0_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_0_BYTE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "BYTE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..8dd9e44
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_0_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_0_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "PERCENTAGE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..e629059
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_100_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_100_PERCENTAGE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = 100, progressTypeToSet = "PERCENTAGE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html
new file mode 100755 (executable)
index 0000000..36f0854
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_constructor_progessValue_max_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_constructor_progessValue_max_BYTE
+//==== LABEL Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+    var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
+        titleToSet = "Title", progressValueToSet = 4294967295, progressTypeToSet = "BYTE";
+
+    notificationDict = {
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
+    };
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
+
+    assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html
new file mode 100755 (executable)
index 0000000..0b2207a
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_detailInfo_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_detailInfo_attribute
+//==== LABEL Check if attribute detailInfo of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:detailInfo A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE ASG AT ADV
+
+test(function () {
+    var statusNotification, statusNotificationType = "SIMPLE",
+        newValue, i, statusNotificationDefault;
+
+    newValue = [
+        new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
+        new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
+    ];
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "detailInfo", "StatusNotification doesn't own detailInfo property.");
+
+    assert_equals(statusNotification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+    assert_type(statusNotification.detailInfo, "array", "statusNotification.detailInfo should by array");
+    assert_true(statusNotification.detailInfo[0] instanceof tizen.NotificationDetailInfo, "NotificationDetailInfo instanceOf.");
+    for (i = 0; i < detailInfoToSet.length; i++) {
+        assert_equals(statusNotification.detailInfo[i].mainText, detailInfoToSet[i].mainText,
+            "detailInfo.mainText attribute for index = " + i + ".");
+        assert_equals(statusNotification.detailInfo[i].subText, detailInfoToSet[i].subText,
+            "detailInfo.subText attribute for index = " + i + ".");
+    }
+
+    statusNotification.detailInfo = newValue;
+    assert_equals(statusNotification.detailInfo.length, newValue.length,
+        "detailInfo attribute length after assignment is incorrect.");
+    for (i = 0; i < newValue.length; i++) {
+        assert_equals(statusNotification.detailInfo[i].mainText, newValue[i].mainText,
+            "detailInfo.mainText attribute for index = " + i + " not assigned.");
+        assert_equals(statusNotification.detailInfo[i].subText, newValue[i].subText,
+            "detailInfo.subText attribute for index = " + i + " not assigned.");
+    }
+
+    statusNotification.detailInfo = null;
+    assert_equals(statusNotification.detailInfo, null, "detailInfo attribute cannot be assigned with null.");
+
+    statusNotificationDefault = new tizen.StatusNotification(statusNotificationType, titleToSet);
+    assert_type(statusNotificationDefault.detailInfo, "array", "statusNotificationDefault.detailInfo should by array");
+    assert_equals(statusNotificationDefault.detailInfo.length, 0, "statusNotificationDefault.detailInfo.length should by 0");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html
new file mode 100755 (executable)
index 0000000..75eed17
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>StatusNotification_exist</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: StatusNotification_exist
+//==== LABEL Check if StatusNotification exists
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRF
+
+test(function () {
+    check_constructor("StatusNotification");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html
new file mode 100755 (executable)
index 0000000..4baba98
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_extend</title>
+<script src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_extend
+//==== LABEL Check if StatusNotification is extendable
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:StatusNotification U
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
+
+test(function () {
+    check_extensibility(new tizen.StatusNotification("SIMPLE", "Title"));
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html
new file mode 100755 (executable)
index 0000000..47939b4
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_iconPath_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_iconPath_attribute
+//==== LABEL Check if attribute iconPath of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:iconPath A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS", invalidPath = "invalidPath";
+
+    notificationDict.progressType = "PERCENTAGE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "iconPath", "StatusNotification doesn't own iconPath property.");
+    assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath attribute not set.");
+    statusNotification.iconPath = iconPathToSet2;
+    assert_equals(statusNotification.iconPath, iconPathToSet2, "iconPath attribute cannot be assigned.");
+
+    statusNotification.iconPath = invalidPath;
+    assert_equals(statusNotification.iconPath, invalidPath, "iconPath attribute - invalid path.");
+
+    statusNotification.iconPath = null;
+    assert_equals(statusNotification.iconPath, null, "iconPath attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html
new file mode 100755 (executable)
index 0000000..27e7e7a
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Piotr Szydelko <p.szydelko@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_ledColor_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_ledColor_attribute
+//==== LABEL Check if attribute ledColor of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledColor A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, newValue = "#00ff00", statusNotificationType = "SIMPLE";
+
+    notificationDict.ledColor = "#ff0000";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "ledColor", "StatusNotification doesn't own ledColor property.");
+    assert_type(statusNotification.ledColor, "string", "statusNotificationType.ledColor type should be string");
+    assert_equals(statusNotification.ledColor, notificationDict.ledColor.toLowerCase(), "statusNotification.ledColor");
+
+    statusNotification.ledColor = null;
+    assert_equals(statusNotification.ledColor, null, "statusNotification.ledColor after set null");
+
+    statusNotification.ledColor = newValue;
+    assert_equals(statusNotification.ledColor.toLowerCase(), newValue.toLowerCase(), "statusNotification.ledColor after set");
+
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html
new file mode 100755 (executable)
index 0000000..25105d7
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Piotr Szydelko <p.szydelko@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_ledOffPeriod_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_ledOffPeriod_attribute
+//==== LABEL Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledOffPeriod A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG ADV AN
+
+test(function () {
+    var statusNotification, newValue = 125, statusNotificationType = "SIMPLE";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "ledOffPeriod",
+        "StatusNotification doesn't own ledOffPeriod property.");
+    assert_type(statusNotification.ledOffPeriod, "unsigned long",
+        "statusNotification.ledOffPeriod should be number");
+    assert_equals(statusNotification.ledOffPeriod, 0,
+        "statusNotification.ledOffPeriod default value");
+
+    statusNotification.ledOffPeriod = newValue;
+    assert_equals(statusNotification.ledOffPeriod, newValue,
+        "statusNotification.ledOffPeriod value after set");
+
+    notificationDict.ledOffPeriod = 100;
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_equals(statusNotification.ledOffPeriod, notificationDict.ledOffPeriod,
+        "statusNotification.ledOffPeriod value from constructor");
+    check_not_nullable(statusNotification, "ledOffPeriod");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html
new file mode 100755 (executable)
index 0000000..8c25cb0
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Piotr Szydelko <p.szydelko@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_ledOnPeriod_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_ledOnPeriod_attribute
+//==== LABEL Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledOnPeriod A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG ADV AN
+
+test(function () {
+    var statusNotification, newValue = 125, statusNotificationType = "SIMPLE";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "ledOnPeriod",
+        "StatusNotification doesn't own statusType property.");
+    assert_type(statusNotification.ledOnPeriod, "unsigned long",
+        "statusNotification.ledOnPeriod should be number");
+    assert_equals(statusNotification.ledOnPeriod, 0,
+        "statusNotification.ledOnPeriod default value");
+
+    statusNotification.ledOnPeriod = newValue;
+    assert_equals(statusNotification.ledOnPeriod, newValue,
+        "statusNotification.ledOnPeriod value after set");
+
+    notificationDict.ledOnPeriod = 100;
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_equals(statusNotification.ledOnPeriod, notificationDict.ledOnPeriod,
+        "statusNotification.ledOnPeriod value from constructor");
+    check_not_nullable(statusNotification, "ledOnPeriod");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html
new file mode 100755 (executable)
index 0000000..4df64de
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_number_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_number_attribute
+//==== LABEL Check if attribute number of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:number A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS";
+
+    notificationDict.progressType = "BYTE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "number", "StatusNotification doesn't own number property.");
+    assert_equals(statusNotification.number, numberToSet, "number attribute not set.");
+    statusNotification.number = 54;
+    assert_equals(statusNotification.number, 54, "number attribute cannot be assigned.");
+    statusNotification.number = 0;
+    assert_equals(statusNotification.number, 0, "number attribute cannot be assigned - zero value");
+    statusNotification.number = -1;
+    assert_equals(statusNotification.number, -1, "number attribute cannot be assigned - minus one value");
+
+    statusNotification.number = -2147483648;
+    assert_equals(statusNotification.number, -2147483648, "number attribute cannot be assigned -> -2147483648 value");
+
+    statusNotification.number = 2147483647;
+    assert_equals(statusNotification.number, 2147483647, "number attribute cannot be assigned -> 2147483647 value");
+
+    statusNotification.number = null;
+    assert_equals(statusNotification.number, null, "number attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html
new file mode 100755 (executable)
index 0000000..b5171b8
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_progressType_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_progressType_attribute
+//==== LABEL Check if attribute progressType of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressType A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG AN ADV
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS",
+        byteValue = "BYTE", percentageValue = "PERCENTAGE", conversionTable,
+        i, invalidProgressType;
+
+    notificationDict.progressType = byteValue;
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "progressValue", "StatusNotification doesn't own progressValue property.");
+
+    assert_equals(statusNotification.progressType, byteValue, "progressValue attribute not set.");
+
+    statusNotification.progressType = percentageValue;
+    assert_equals(statusNotification.progressType, percentageValue, "progressValue attribute - assignment.");
+
+    conversionTable = getTypeConversionExceptions("enum", true);
+    for(i = 0; i < conversionTable.length; i++) {
+        invalidProgressType = conversionTable[i][0];
+
+        statusNotification.progressType = invalidProgressType;
+        assert_equals(statusNotification.progressType, percentageValue, "progressValue attribute - invalid value assignment.");
+    }
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
+    assert_equals(statusNotification.progressType, "PERCENTAGE", "progressValue attribute default not set.");
+    check_not_nullable(statusNotification, "progressType");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html
new file mode 100755 (executable)
index 0000000..8ac8369
--- /dev/null
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_progressValue_attribute_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_progressValue_attribute_BYTE
+//==== LABEL Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressValue A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS";
+    notificationDict.progressType = "BYTE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "progressValue", "StatusNotification doesn't own progressValue property.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute not set.");
+    statusNotification.progressValue = 0;
+    assert_equals(statusNotification.progressValue, 0, "progressValue attribute - assigned 0 value.");
+    statusNotification.progressValue = 1;
+    assert_equals(statusNotification.progressValue, 1, "progressValue attribute - assigned 1 value.");
+    statusNotification.progressValue = 100;
+    assert_equals(statusNotification.progressValue, 100, "progressValue attribute - assigned 100 value.");
+    statusNotification.progressValue = 101;
+    assert_equals(statusNotification.progressValue, 101, "progressValue attribute - assigned 101 value.");
+    statusNotification.progressValue = 4294967295;
+    assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute - assigned 4294967295 value.");
+
+    statusNotification.progressValue = -1;
+    assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute -> minus one changed value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html
new file mode 100755 (executable)
index 0000000..1733866
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_progressValue_attribute_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_progressValue_attribute_PERCENTAGE
+//==== LABEL Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressValue A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS";
+    notificationDict.progressType = "PERCENTAGE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "progressValue", "StatusNotification doesn't own progressValue property.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute not set.");
+    statusNotification.progressValue = 0;
+    assert_equals(statusNotification.progressValue, 0, "progressValue attribute - assigned 0 value.");
+    statusNotification.progressValue = 1;
+    assert_equals(statusNotification.progressValue, 1, "progressValue attribute - assigned 1 value.");
+    statusNotification.progressValue = 100;
+    assert_equals(statusNotification.progressValue, 100, "progressValue attribute - assigned 100 value.");
+
+    statusNotification.progressValue = 101;
+    assert_equals(statusNotification.progressValue, 100, "progressValue attribute - 101 value.");
+
+    statusNotification.progressValue = -1;
+    assert_equals(statusNotification.progressValue, 100, "progressValue attribute -> -1 value.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html
new file mode 100755 (executable)
index 0000000..65ab1de
--- /dev/null
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_soundPath_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_soundPath_attribute
+//==== LABEL Check if attribute soundPath of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:soundPath A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "ONGOING", invalidPath = "invalidPath";
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "soundPath", "StatusNotification doesn't own soundPath property.");
+    assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath attribute not set.");
+    statusNotification.soundPath = soundPathToSet2;
+    assert_equals(statusNotification.soundPath, soundPathToSet2, "soundPath attribute cannot be assigned.");
+
+    statusNotification.soundPath = invalidPath;
+    assert_equals(statusNotification.soundPath, invalidPath, "soundPath attribute - invalid path.");
+
+    statusNotification.soundPath = null;
+    assert_equals(statusNotification.soundPath, null, "soundPath attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html
new file mode 100755 (executable)
index 0000000..28cf965
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_statusType_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_statusType_attribute
+//==== LABEL Check if attribute statusType of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:statusType A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+    var statusNotification, newValue = "ONGOING", statusNotificationType = "PROGRESS";
+
+    notificationDict.progressType = "BYTE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "statusType", "StatusNotification doesn't own statusType property.");
+    check_readonly(statusNotification, "statusType", statusNotificationType, "string", newValue);
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html
new file mode 100755 (executable)
index 0000000..208172a
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_subIconPath_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_subIconPath_attribute
+//==== LABEL Check if attribute subIconPath of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:subIconPath A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS", invalidPath = "invalidPath";
+
+    notificationDict.progressType = "PERCENTAGE";
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "subIconPath", "StatusNotification doesn't own subIconPath property.");
+    assert_equals(statusNotification.subIconPath, subIconPathToSet, "subIconPath attribute not set.");
+    statusNotification.subIconPath = subIconPathToSet2;
+    assert_equals(statusNotification.subIconPath, subIconPathToSet2, "subIconPath attribute cannot be assigned.");
+
+    statusNotification.subIconPath = invalidPath;
+    assert_equals(statusNotification.subIconPath, invalidPath, "subIconPath attribute - invalid path.");
+
+    statusNotification.subIconPath = null;
+    assert_equals(statusNotification.subIconPath, null, "subIconPath attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html
new file mode 100755 (executable)
index 0000000..0d0fec5
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_thumbnails_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_thumbnails_attribute
+//==== LABEL Check if attribute thumbnails of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:thumbnails A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE ASG AT ADV
+
+test(function () {
+    var statusNotification, statusNotificationType = "THUMBNAIL", statusNotificationDefault,
+        newValue = [thumbnailToSet5, thumbnailToSet6, thumbnailToSet7, thumbnailToSet8],
+        newValueWithIncorrectPath = ["images/webapi-tizen-notification-test_thumbnail9.jpg", "invalidPath"];
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+    assert_type(statusNotification.thumbnails, "array", "statusNotification.thumbnails should by array");
+    assert_own_property(statusNotification, "thumbnails", "StatusNotification doesn't own thumbnails property.");
+    assert_array_equals(statusNotification.thumbnails, thumbnailsToSet,
+            "thumbnails attribute.");
+
+    statusNotification.thumbnails = newValue;
+    assert_array_equals(statusNotification.thumbnails, newValue,
+            "thumbnails attribute cannot be assigned.");
+
+    statusNotification.thumbnails = newValueWithIncorrectPath;
+    assert_array_equals(statusNotification.thumbnails, newValueWithIncorrectPath,
+            "thumbnails attribute - invalid path cannot be assigned.");
+
+    statusNotification.thumbnails = null;
+    assert_equals(statusNotification.thumbnails, null, "thumbnails attribute cannot be assigned with null.");
+
+    statusNotificationDefault = new tizen.StatusNotification(statusNotificationType, titleToSet);
+    assert_type(statusNotificationDefault.thumbnails, "array", "statusNotificationDefault.detailInfo should by array");
+    assert_equals(statusNotificationDefault.thumbnails.length, 0, "statusNotificationDefault.detailInfo.length should by 0");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html
new file mode 100755 (executable)
index 0000000..d8dd271
--- /dev/null
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>StatusNotification_vibration_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: StatusNotification_vibration_attribute
+//==== LABEL Check if attribute vibration of StatusNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:vibration A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG AN ADV
+
+test(function () {
+    var statusNotification, statusNotificationType = "PROGRESS", newValue = !vibrationToSet;
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_own_property(statusNotification, "vibration", "StatusNotification doesn't own vibration property.");
+    assert_equals(statusNotification.vibration, vibrationToSet, "vibration attribute not set.");
+    statusNotification.vibration = newValue;
+    assert_equals(statusNotification.vibration, newValue, "vibration attribute cannot be assigned.");
+
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
+    assert_equals(statusNotification.vibration, false, "vibration attribute default check.");
+    check_not_nullable(statusNotification, "vibration");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html
deleted file mode 100755 (executable)
index 057295d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Roman Frolow <r.frolow@samsung.com>
-
--->
-<html>
-<head>
-<title>SystemInfoStorageUnit_isRemoveable_attribute</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SystemInfoStorageUnit_isRemoveable_attribute
-//==== LABEL Check if attribute isRemoveable of SystemInfoStorageUnit exists, has type Boolean and is readonly
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoStorageUnit:isRemoveable A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}),
-    getPropertyValueSuccess, getPropertyValueError;
-t.step(function () {
-    getPropertyValueSuccess = t.step_func(function (property) {
-        assert_own_property(property, "units", "No units property.");
-        assert_true(Array.isArray(property.units),
-            "SystemInfoStorage_units is not an array");
-        assert_true(property.units.length > 0, "No available units.");
-        assert_own_property(property.units[0], "isRemoveable", "SystemInfoStorageUnit does not own isRemoveable property.");
-        check_readonly(property.units[0], "isRemoveable", property.units[0].isRemoveable, "boolean", null);
-        t.done();
-    });
-    getPropertyValueError = t.step_func(function (error) {
-        assert_unreached("getPropertyValue() error callback invoked: name: " +
-            error.name + ", msg: " + error.message);
-    });
-
-    tizen.systeminfo.getPropertyValue("STORAGE", getPropertyValueSuccess,
-        getPropertyValueError);
-});
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html
deleted file mode 100755 (executable)
index cbc5804..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
-
--->
-<html>
-<head>
-<title>TZDate_getTimezoneAbbreviation</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: TZDate_getTimezoneAbbreviation
-//==== LABEL Check if TZDate::getTimezoneAbbreviation() returns a string
-//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA
-
-test(function () {
-    var currentTZDate = tizen.time.getCurrentDateTime(), returnedValue;
-    returnedValue = currentTZDate.getTimezoneAbbreviation();
-    assert_type(returnedValue, "string", "type check");
-    assert_not_equals(returnedValue, null, "null check");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html
deleted file mode 100755 (executable)
index 61c2800..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
--->
-
-<html>
-
-<head>
-<title>TZDate_getTimezoneAbbreviation_exist</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/time_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: TZDate_getTimezoneAbbreviation_exist
-//==== LABEL Check if getTimezoneAbbreviation() method exists in TZDate
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== TEST_CRITERIA ME
-test(function () {
-    var currentTZDate = tizen.time.getCurrentDateTime();
-    assert_true("getTimezoneAbbreviation" in currentTZDate, "getTimezoneAbbreviation method exists");
-    check_method_exists(currentTZDate, "getTimezoneAbbreviation");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html
deleted file mode 100755 (executable)
index ebda1d0..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
-
--->
-<html>
-<head>
-<title>TZDate_getTimezoneAbbreviation_extra_argument</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: TZDate_getTimezoneAbbreviation_extra_argument
-//==== LABEL Check if TZDate::getTimezoneAbbreviation() method accepts extra argument
-//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MNAEX
-test(function () {
-    var currentTZDate = tizen.time.getCurrentDateTime();
-    checkExtraArgument(currentTZDate, "getTimezoneAbbreviation");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html
deleted file mode 100755 (executable)
index af48533..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Cici Li <cici.x.li@intel.com>
-        Jenny Cao <jenny.q.cao@intel.com>
-        Han, JingX <jingx.han@intel.com>
-
--->
-
-<html>
-<head>
-<title>Time_TZDate_getTimezoneAbbreviation_summerMonth</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: Time_TZDate_getTimezoneAbbreviation_summerMonth
-//==== LABEL Check if TZDate.getTimezoneAbbreviation() works properly
-//==== SPEC Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MR
-test(function () {
-    var td = new tizen.TZDate(2013, 8, 1, 1, 1, 1, 1, "America/New_York");
-    assert_equals(td.getTimezoneAbbreviation(), "EDT", "timezoneAbbreviation check");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html
new file mode 100755 (executable)
index 0000000..f31e93d
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_FileStreamSuccessCallback_onsuccess</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_FileStreamSuccessCallback_onsuccess
+//==== PRIORITY P1
+//==== LABEL Test whether FileStreamSuccessCallback::onsuccess is called with valid argument
+//==== 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
+    fsTestFileName = getFileName("successFile.txt");
+
+t.step(function () {
+    openStreamSuccess = t.step_func(function (fs) {
+        assert_not_equals(fs, null, "fs should not be null");
+        fs.close();
+        t.done();
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        file = dir.createFile(fsTestFileName);
+        file.openStream("w", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html
new file mode 100755 (executable)
index 0000000..40a6f55
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_File_copyTo</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_File_copyTo
+//==== LABEL Check if File::copyTo() can be called
+//==== 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
+
+var t = async_test(document.title),
+    createFile, resolveSuccess, resolveError, copyToSuccess, copyToError,
+    fsTestFileName = getFileName("copyFile.txt");
+
+t.step(function (){
+    copyToSuccess = t.step_func(function () {
+        t.done();
+    });
+    copyToError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        createFile = dir.createFile(fsTestFileName);
+        dir.copyTo(createFile.fullPath, "downloads/" + createFile.name, true, copyToSuccess, copyToError);
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html
new file mode 100755 (executable)
index 0000000..619efe8
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_File_readAsText</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_File_readAsText
+//==== PRIORITY P1
+//==== LABEL Check if File::readAsText() method 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
+
+var t = async_test(document.title), text = "test write method",
+    testFile, resolveSuccess, resolveError, openStreamSuccess, openStreamError,
+    readAsTextSuccess, readAsTextError,
+    fsTestFileName = getFileName("write01.txt");
+
+t.step(function (){
+    readAsTextSuccess = t.step_func(function (str) {
+        assert_equals(str, text, "text read from file is wrong");
+        t.done();
+    });
+    readAsTextError = t.step_func(function (error) {
+        assert_unreached("readAsText() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write(text);
+        fs.close();
+        testFile.readAsText(readAsTextSuccess, readAsTextError, "UTF-8");
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        testFile = dir.createFile(fsTestFileName);
+        testFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html
new file mode 100755 (executable)
index 0000000..910a51a
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification, 
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list 
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice, 
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors 
+  may be used to endorse or promote products derived from this work without 
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Authors:
+        Kaiyu <kaiyux.li@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
+
+-->
+
+<html>
+<head>
+<title>filesystem_File_resolve</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: filesystem_File_resolve
+//==== PRIORITY P1
+//==== LABEL Check if File::resolve() method called for a file returns 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
+
+var t = async_test(document.title),
+    resolveSuccess, resolveError, expected = "object", handle,
+    fsTestFileName = getFileName("resolve.doc");
+
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
+        dir.createFile(fsTestFileName);
+        handle = dir.resolve(fsTestFileName);
+        assert_equals(typeof(handle), expected, "resolve a file and return a file handle");
+        t.done();
+    });
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t,
+        function () {
+            tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+        }
+    );
+});
+
+</script>
+</body>
+</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_exit.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_exit.html
deleted file mode 100755 (executable)
index 9e980f5..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-<meta name="description" content="tct-application-tizen-tests"/>
-
-<title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-<header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_exit.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-</header>
-
-<script type="text/javascript">
-var application, request, timeout = 1000;
-
-application = tizen.application.getCurrentApplication();
-request = application.getRequestedAppControl();
-
-if (request) {
-    if (request.appControl.data[0].key === "timeout") {
-        timeout = parseInt(request.appControl.data[0].value[0]);
-    }
-
-    request.replyResult();
-
-    setTimeout(function () {
-        application.exit();
-    }, timeout);
-
-} else  {
-    document.getElementById("info").innerHTML="RequestedAppControl not found";
-}
-
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch.html
deleted file mode 100755 (executable)
index b1f6e93..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-<script>
-var init = function () {
-    // add eventListener for tizenhwkey
-    document.addEventListener('tizenhwkey', function(e) {
-        if(e.keyName == "back") {
-            try {
-                tizen.application.getCurrentApplication().exit();
-            } catch (error) {
-                console.error("getCurrentApplication(): " + error.message);
-            }
-        }
-    });
-};
-window.onload = init;
-</script>
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_launch.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch_explicit.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_launch_explicit.html
deleted file mode 100755 (executable)
index 8013411..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_launch.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_failure.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_failure.html
deleted file mode 100755 (executable)
index bd4d597..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_reply_failure.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-  </header>
-
-<script type="text/javascript">
-    var application, request, dataArray, tests = {};
-
-    tests["RequestedApplicationControl_replyFailure"] = function (request) {
-        request.replyFailure();
-    };
-
-    // check only null because not able to invoke replyFailure() multiple times
-    tests["RequestedApplicationControl_replyFailure_extra_argument"] = function (request) {
-        request.replyFailure(null);
-    };
-
-    application = tizen.application.getCurrentApplication();
-    request = application.getRequestedAppControl();
-
-    if (request) {
-        dataArray = request.appControl.data;
-
-        if (dataArray.length > 0 && dataArray[0].key === "testName") {
-            tests[dataArray[0].value[0]](request);
-        } else {
-            request.replyFailure();
-        }
-    } else  {
-        document.getElementById("info").innerHTML="RequestedAppControl not found";
-    }
-
-</script>  
-
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result.html
deleted file mode 100755 (executable)
index c1374c8..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_reply_result.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-  </header>
-
-<script type="text/javascript">
-    var application, request;
-    application = tizen.application.getCurrentApplication();
-    request = application.getRequestedAppControl();
-
-    if (request) {
-        request.replyResult();
-    } else  {
-        document.getElementById("info").innerHTML="RequestedAppControl not found";
-    }
-</script>  
-
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result_with_data.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_reply_result_with_data.html
deleted file mode 100755 (executable)
index 839e943..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>appcontrol_reply_result_with_data.html</h2>
-      <h3 id="info"></h3>
-    </hgroup>
-  </header>
-
-<script type="text/javascript">
-    var application, request;
-    application = tizen.application.getCurrentApplication();
-    request = application.getRequestedAppControl();
-
-    if (request) {
-        request.replyResult(request.appControl.data);
-    } else  {
-        document.getElementById("info").innerHTML="RequestedAppControl not found";
-    }
-</script>  
-
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_run_test.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/appcontrol_run_test.html
deleted file mode 100755 (executable)
index eecbabc..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>appcontrol_run_test</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-    <script src="resources/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-var application, requestedAppControl, testName, resultData;
-
-add_result_callback(function (result) {
-    resultData = [
-        new tizen.ApplicationControlData("status", [result.status]),
-        new tizen.ApplicationControlData("message", [result.message])
-    ];
-
-    requestedAppControl.replyResult(resultData);
-});
-
-application = tizen.application.getCurrentApplication();
-requestedAppControl = application.getRequestedAppControl();
-testName = requestedAppControl.appControl.uri.substring("tct://".length);
-
-document.write("<script language=\"javascript\" src=\"tests/" + testName + ".js\"><\/script>");
-</script>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/config.xml b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/config.xml
deleted file mode 100755 (executable)
index d1d9575..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppControl" version="1.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-        <tizen:uri name="tct"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch_explicit.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch/explicit"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_reply_result.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/reply_result"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_reply_result_with_data.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/reply_result/data"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_reply_failure.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/reply_failure"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_run_test.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/run_test"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="application/javascript"/>
-    </tizen:app-control>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_exit.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/exit"/>
-    </tizen:app-control>
-    <tizen:application id="api1appli1.TCTAppControl" package="api1appli1" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppControl</name>
-    <tizen:metadata key="testKey1" value="testValue1"/>
-    <tizen:metadata key="testKey2" value="testValue2"/>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/css/style.css b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/icon.png and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/index.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/index.html
deleted file mode 100755 (executable)
index 26f0928..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControl</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body bgcolor="FFFFFF" >
-  <header>
-    <hgroup>
-      <h1>TCTAppControl</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/manifest.json b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/manifest.json
deleted file mode 100755 (executable)
index 7eb40b2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppControl", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppControl", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "2.2.1", 
-    "webapimanager": true
-}
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/COPYING b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/COPYING
deleted file mode 100755 (executable)
index bd84625..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-All test files under this folder except COPYING, Makefile.am and blacklist.* come from
-https://github.com/w3c/testharness.js (commit 81649066b179216eed02dfb58f631eb8bb6c7629)
-without any modification besides the necessary adjustment on reference path to test harness
-
-These tests are copyright by W3C and/or the author listed in the test
-file. The tests are dual-licensed under the W3C Test Suite License:
-http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
-and the BSD 3-clause License:
-http://www.w3.org/Consortium/Legal/2008/03-bsd-license
-under W3C's test suite licensing policy:
-http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright
-
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.css b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-html {
-    font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;
-}
-
-#log .warning,
-#log .warning a {
-  color: black;
-  background: yellow;
-}
-
-#log .error,
-#log .error a {
-  color: white;
-  background: red;
-}
-
-#log pre {
-  border: 1px solid black;
-  padding: 1em;
-}
-
-section#summary {
-    margin-bottom:1em;
-}
-
-table#results {
-    border-collapse:collapse;
-    table-layout:fixed;
-    width:100%;
-}
-
-table#results th:first-child,
-table#results td:first-child {
-    width:4em;
-}
-
-table#results th:last-child,
-table#results td:last-child {
-    width:50%;
-}
-
-table#results.assertions th:last-child,
-table#results.assertions td:last-child {
-    width:35%;
-}
-
-table#results th {
-    padding:0;
-    padding-bottom:0.5em;
-    border-bottom:medium solid black;
-}
-
-table#results td {
-    padding:1em;
-    padding-bottom:0.5em;
-    border-bottom:thin solid black;
-}
-
-tr.pass > td:first-child {
-    color:green;
-}
-
-tr.fail > td:first-child {
-    color:red;
-}
-
-tr.timeout > td:first-child {
-    color:red;
-}
-
-tr.notrun > td:first-child {
-    color:blue;
-}
-
-.pass > td:first-child, .fail > td:first-child, .timeout > td:first-child, .notrun > td:first-child {
-    font-variant:small-caps;
-}
-
-table#results span {
-    display:block;
-}
-
-table#results span.expected {
-    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
-    white-space:pre;
-}
-
-table#results span.actual {
-    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
-    white-space:pre;
-}
-
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharness.js
deleted file mode 100755 (executable)
index 4c77573..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-Distributed under both the W3C Test Suite License [1] and the W3C
-3-clause BSD License [2]. To contribute to a W3C Test Suite, see the
-policies and contribution forms [3].
-
-[1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
-[2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license
-[3] http://www.w3.org/2004/10/27-testcases
-*/
-
-/*
- * == Introduction ==
- *
- * This file provides a framework for writing testcases. It is intended to
- * provide a convenient API for making common assertions, and to work both
- * for testing synchronous and asynchronous DOM features in a way that
- * promotes clear, robust, tests.
- *
- * == Basic Usage ==
- *
- * To use this file, import the script and the testharnessreport script into
- * the test document:
- * <script src="/resources/testharness.js"></script>
- * <script src="/resources/testharnessreport.js"></script>
- *
- * Within each file one may define one or more tests. Each test is atomic
- * in the sense that a single test has a single result (pass/fail/timeout).
- * Within each test one may have a number of asserts. The test fails at the
- * first failing assert, and the remainder of the test is (typically) not run.
- *
- * If the file containing the tests is a HTML file with an element of id "log"
- * this will be populated with a table containing the test results after all
- * the tests have run.
- *
- * NOTE: By default tests must be created before the load event fires. For ways
- *       to create tests after the load event, see "Determining when all tests
- *       are complete", below
- *
- * == Synchronous Tests ==
- *
- * To create a synchronous test use the test() function:
- *
- * test(test_function, name, properties)
- *
- * test_function is a function that contains the code to test. For example a
- * trivial passing test would be:
- *
- * test(function() {assert_true(true)}, "assert_true with true")
- *
- * The function passed in is run in the test() call.
- *
- * properties is an object that overrides default test properties. The
- * recognised properties are:
- *    timeout - the test timeout in ms
- *
- * e.g.
- * test(test_function, "Sample test", {timeout:1000})
- *
- * would run test_function with a timeout of 1s.
- *
- * Additionally, test-specific metadata can be passed in the properties. These
- * are used when the individual test has different metadata from that stored 
- * in the <head>.
- * The recognized metadata properties are:
- *
- *    help - The url of the part of the specification being tested
- *
- *    assert - A human readable description of what the test is attempting 
- *             to prove
- *
- *    author - Name and contact information for the author of the test in the
- *             format: "Name <email_addr>" or "Name http://contact/url"
- *
- * == Asynchronous Tests ==
- *
- * Testing asynchronous features is somewhat more complex since the result of
- * a test may depend on one or more events or other callbacks. The API provided
- * for testing these features is indended to be rather low-level but hopefully
- * applicable to many situations.
- *
- * To create a test, one starts by getting a Test object using async_test:
- *
- * async_test(name, properties)
- *
- * e.g.
- * var t = async_test("Simple async test")
- *
- * Assertions can be added to the test by calling the step method of the test
- * object with a function containing the test assertions:
- *
- * t.step(function() {assert_true(true)});
- *
- * When all the steps are complete, the done() method must be called:
- *
- * t.done();
- *
- * As a convenience, async_test can also takes a function as first argument.
- * This function is called with the test object as both its `this` object and
- * first argument. The above example can be rewritten as:
- *
- * async_test(function(t) {
- *     object.some_event = function() {
- *         t.step(function (){assert_true(true); t.done();});
- *     };
- * }, "Simple async test");
- *
- * which avoids cluttering the global scope with references to async
- * tests instances.
- *
- * The properties argument is identical to that for test().
- *
- * In many cases it is convenient to run a step in response to an event or a
- * callback. A convenient method of doing this is through the step_func method
- * which returns a function that, when called runs a test step. For example
- *
- * object.some_event = t.step_func(function(e) {assert_true(e.a)});
- *
- * == Making assertions ==
- *
- * Functions for making assertions start assert_
- * The best way to get a list is to look in this file for functions names
- * matching that pattern. The general signature is
- *
- * assert_something(actual, expected, description)
- *
- * although not all assertions precisely match this pattern e.g. assert_true
- * only takes actual and description as arguments.
- *
- * The description parameter is used to present more useful error messages when
- * a test fails
- *
- * NOTE: All asserts must be located in a test() or a step of an async_test().
- *       asserts outside these places won't be detected correctly by the harness
- *       and may cause a file to stop testing.
- *
- * == Setup ==
- *
- * Sometimes tests require non-trivial setup that may fail. For this purpose
- * there is a setup() function, that may be called with one or two arguments.
- * The two argument version is:
- *
- * setup(func, properties)
- *
- * The one argument versions may omit either argument.
- * func is a function to be run synchronously. setup() becomes a no-op once
- * any tests have returned results. Properties are global properties of the test
- * harness. Currently recognised properties are:
- *
- * timeout - The time in ms after which the harness should stop waiting for
- *           tests to complete (this is different to the per-test timeout
- *           because async tests do not start their timer until .step is called)
- *
- * explicit_done - Wait for an explicit call to done() before declaring all
- *                 tests complete (see below)
- *
- * output_document - The document to which results should be logged. By default
- *                   this is the current document but could be an ancestor
- *                   document in some cases e.g. a SVG test loaded in an HTML
- *                   wrapper
- *
- * explicit_timeout - disable file timeout; only stop waiting for results
- *                    when the timeout() function is called (typically for
- *                    use when integrating with some existing test framework
- *                    that has its own timeout mechanism).
- *
- * == Determining when all tests are complete ==
- *
- * By default the test harness will assume there are no more results to come
- * when:
- * 1) There are no Test objects that have been created but not completed
- * 2) The load event on the document has fired
- *
- * This behaviour can be overridden by setting the explicit_done property to
- * true in a call to setup(). If explicit_done is true, the test harness will
- * not assume it is done until the global done() function is called. Once done()
- * is called, the two conditions above apply like normal.
- *
- * == Generating tests ==
- *
- * NOTE: this functionality may be removed
- *
- * There are scenarios in which is is desirable to create a large number of
- * (synchronous) tests that are internally similar but vary in the parameters
- * used. To make this easier, the generate_tests function allows a single
- * function to be called with each set of parameters in a list:
- *
- * generate_tests(test_function, parameter_lists, properties)
- *
- * For example:
- *
- * generate_tests(assert_equals, [
- *     ["Sum one and one", 1+1, 2],
- *     ["Sum one and zero", 1+0, 1]
- *     ])
- *
- * Is equivalent to:
- *
- * test(function() {assert_equals(1+1, 2)}, "Sum one and one")
- * test(function() {assert_equals(1+0, 1)}, "Sum one and zero")
- *
- * Note that the first item in each parameter list corresponds to the name of
- * the test.
- *
- * The properties argument is identical to that for test(). This may be a 
- * single object (used for all generated tests) or an array.
- *
- * == Callback API ==
- *
- * The framework provides callbacks corresponding to 3 events:
- *
- * start - happens when the first Test is created
- * result - happens when a test result is recieved
- * complete - happens when all results are recieved
- *
- * The page defining the tests may add callbacks for these events by calling
- * the following methods:
- *
- *   add_start_callback(callback) - callback called with no arguments
- *   add_result_callback(callback) - callback called with a test argument
- *   add_completion_callback(callback) - callback called with an array of tests
- *                                       and an status object
- *
- * tests have the following properties:
- *   status: A status code. This can be compared to the PASS, FAIL, TIMEOUT and
- *           NOTRUN properties on the test object
- *   message: A message indicating the reason for failure. In the future this
- *            will always be a string
- *
- *  The status object gives the overall status of the harness. It has the
- *  following properties:
- *    status: Can be compared to the OK, ERROR and TIMEOUT properties
- *    message: An error message set when the status is ERROR
- *
- * == External API ==
- *
- * In order to collect the results of multiple pages containing tests, the test
- * harness will, when loaded in a nested browsing context, attempt to call
- * certain functions in each ancestor and opener browsing context:
- *
- * start - start_callback
- * result - result_callback
- * complete - completion_callback
- *
- * These are given the same arguments as the corresponding internal callbacks
- * described above.
- *
- * == External API through cross-document messaging ==
- *
- * Where supported, the test harness will also send messages using
- * cross-document messaging to each ancestor and opener browsing context. Since
- * it uses the wildcard keyword (*), cross-origin communication is enabled and
- * script on different origins can collect the results.
- *
- * This API follows similar conventions as those described above only slightly
- * modified to accommodate message event API. Each message is sent by the harness
- * is passed a single vanilla object, available as the `data` property of the
- * event object. These objects are structures as follows:
- *
- * start - { type: "start" }
- * result - { type: "result", test: Test }
- * complete - { type: "complete", tests: [Test, ...], status: TestsStatus }
- *
- * == List of assertions ==
- *
- * assert_true(actual, description)
- *   asserts that /actual/ is strictly true
- *
- * assert_false(actual, description)
- *   asserts that /actual/ is strictly false
- *
- * assert_equals(actual, expected, description)
- *   asserts that /actual/ is the same value as /expected/
- *
- * assert_not_equals(actual, expected, description)
- *   asserts that /actual/ is a different value to /expected/. Yes, this means
- *   that "expected" is a misnomer
- *
- * assert_in_array(actual, expected, description)
- *   asserts that /expected/ is an Array, and /actual/ is equal to one of the
- *   members -- expected.indexOf(actual) != -1
- *
- * assert_array_equals(actual, expected, description)
- *   asserts that /actual/ and /expected/ have the same length and the value of
- *   each indexed property in /actual/ is the strictly equal to the corresponding
- *   property value in /expected/
- *
- * assert_approx_equals(actual, expected, epsilon, description)
- *   asserts that /actual/ is a number within +/- /epsilon/ of /expected/
- *
- * assert_less_than(actual, expected, description)
- *   asserts that /actual/ is a number less than /expected/
- *
- * assert_greater_than(actual, expected, description)
- *   asserts that /actual/ is a number greater than /expected/
- *
- * assert_less_than_equal(actual, expected, description)
- *   asserts that /actual/ is a number less than or equal to /expected/
- *
- * assert_greater_than_equal(actual, expected, description)
- *   asserts that /actual/ is a number greater than or equal to /expected/
- *
- * assert_regexp_match(actual, expected, description)
- *   asserts that /actual/ matches the regexp /expected/
- *
- * assert_class_string(object, class_name, description)
- *   asserts that the class string of /object/ as returned in
- *   Object.prototype.toString is equal to /class_name/.
- *
- * assert_own_property(object, property_name, description)
- *   assert that object has own property property_name
- *
- * assert_inherits(object, property_name, description)
- *   assert that object does not have an own property named property_name
- *   but that property_name is present in the prototype chain for object
- *
- * assert_idl_attribute(object, attribute_name, description)
- *   assert that an object that is an instance of some interface has the
- *   attribute attribute_name following the conditions specified by WebIDL
- *
- * assert_readonly(object, property_name, description)
- *   assert that property property_name on object is readonly
- *
- * assert_throws(code, func, description)
- *   code - the expected exception:
- *     o string: the thrown exception must be a DOMException with the given
- *               name, e.g., "TimeoutError" (for compatibility with existing
- *               tests, a constant is also supported, e.g., "TIMEOUT_ERR")
- *     o object: the thrown exception must have a property called "name" that
- *               matches code.name
- *     o null:   allow any exception (in general, one of the options above
- *               should be used)
- *   func - a function that should throw
- *
- * assert_unreached(description)
- *   asserts if called. Used to ensure that some codepath is *not* taken e.g.
- *   an event does not fire.
- *
- * assert_any(assert_func, actual, expected_array, extra_arg_1, ... extra_arg_N)
- *   asserts that one assert_func(actual, expected_array_N, extra_arg1, ..., extra_arg_N)
- *   is true for some expected_array_N in expected_array. This only works for assert_func
- *   with signature assert_func(actual, expected, args_1, ..., args_N). Note that tests
- *   with multiple allowed pass conditions are bad practice unless the spec specifically
- *   allows multiple behaviours. Test authors should not use this method simply to hide 
- *   UA bugs.
- *
- * assert_exists(object, property_name, description)
- *   *** deprecated ***
- *   asserts that object has an own property property_name
- *
- * assert_not_exists(object, property_name, description)
- *   *** deprecated ***
- *   assert that object does not have own property property_name
- */
-
-(function ()
-{
-    var debug = false;
-    // default timeout is 5 seconds, test can override if needed
-    var settings = {
-      output:true,
-      timeout:5000,
-      test_timeout:2000
-    };
-
-    var xhtml_ns = "http://www.w3.org/1999/xhtml";
-
-    // script_prefix is used by Output.prototype.show_results() to figure out
-    // where to get testharness.css from.  It's enclosed in an extra closure to
-    // not pollute the library's namespace with variables like "src".
-    var script_prefix = null;
-    (function ()
-    {
-        var scripts = document.getElementsByTagName("script");
-        for (var i = 0; i < scripts.length; i++)
-        {
-            if (scripts[i].src)
-            {
-                var src = scripts[i].src;
-            }
-            else if (scripts[i].href)
-            {
-                //SVG case
-                var src = scripts[i].href.baseVal;
-            }
-            if (src && src.slice(src.length - "testharness.js".length) === "testharness.js")
-            {
-                script_prefix = src.slice(0, src.length - "testharness.js".length);
-                break;
-            }
-        }
-    })();
-
-    /*
-     * API functions
-     */
-
-    var name_counter = 0;
-    function next_default_name()
-    {
-        //Don't use document.title to work around an Opera bug in XHTML documents
-        var prefix = document.getElementsByTagName("title").length > 0 ?
-                         document.getElementsByTagName("title")[0].firstChild.data :
-                         "Untitled";
-        var suffix = name_counter > 0 ? " " + name_counter : "";
-        name_counter++;
-        return prefix + suffix;
-    }
-
-    function test(func, name, properties)
-    {
-        var test_name = name ? name : next_default_name();
-        properties = properties ? properties : {};
-        var test_obj = new Test(test_name, properties);
-        test_obj.step(func);
-        if (test_obj.status === test_obj.NOTRUN) {
-            test_obj.done();
-        }
-    }
-
-    function async_test(func, name, properties)
-    {
-        if (typeof func !== "function") {
-            properties = name;
-            name = func;
-            func = null;
-        }
-        var test_name = name ? name : next_default_name();
-        properties = properties ? properties : {};
-        var test_obj = new Test(test_name, properties);
-        if (func) {
-            test_obj.step(func, test_obj, test_obj);
-        }
-        return test_obj;
-    }
-
-    function setup(func_or_properties, maybe_properties)
-    {
-        var func = null;
-        var properties = {};
-        if (arguments.length === 2) {
-            func = func_or_properties;
-            properties = maybe_properties;
-        } else if (func_or_properties instanceof Function){
-            func = func_or_properties;
-        } else {
-            properties = func_or_properties;
-        }
-        tests.setup(func, properties);
-        output.setup(properties);
-    }
-
-    function done() {
-        tests.end_wait();
-    }
-
-    function generate_tests(func, args, properties) {
-        forEach(args, function(x, i)
-                {
-                    var name = x[0];
-                    test(function()
-                         {
-                             func.apply(this, x.slice(1));
-                         }, 
-                         name, 
-                         Array.isArray(properties) ? properties[i] : properties);
-                });
-    }
-
-    function on_event(object, event, callback)
-    {
-      object.addEventListener(event, callback, false);
-    }
-
-    expose(test, 'test');
-    expose(async_test, 'async_test');
-    expose(generate_tests, 'generate_tests');
-    expose(setup, 'setup');
-    expose(done, 'done');
-    expose(on_event, 'on_event');
-
-    /*
-     * Return a string truncated to the given length, with ... added at the end
-     * if it was longer.
-     */
-    function truncate(s, len)
-    {
-        if (s.length > len) {
-            return s.substring(0, len - 3) + "...";
-        }
-        return s;
-    }
-
-    /*
-     * Convert a value to a nice, human-readable string
-     */
-    function format_value(val)
-    {
-        if (Array.isArray(val))
-        {
-            return "[" + val.map(format_value).join(", ") + "]";
-        }
-
-        switch (typeof val)
-        {
-        case "string":
-            val = val.replace("\\", "\\\\");
-            for (var i = 0; i < 32; i++)
-            {
-                var replace = "\\";
-                switch (i) {
-                case 0: replace += "0"; break;
-                case 1: replace += "x01"; break;
-                case 2: replace += "x02"; break;
-                case 3: replace += "x03"; break;
-                case 4: replace += "x04"; break;
-                case 5: replace += "x05"; break;
-                case 6: replace += "x06"; break;
-                case 7: replace += "x07"; break;
-                case 8: replace += "b"; break;
-                case 9: replace += "t"; break;
-                case 10: replace += "n"; break;
-                case 11: replace += "v"; break;
-                case 12: replace += "f"; break;
-                case 13: replace += "r"; break;
-                case 14: replace += "x0e"; break;
-                case 15: replace += "x0f"; break;
-                case 16: replace += "x10"; break;
-                case 17: replace += "x11"; break;
-                case 18: replace += "x12"; break;
-                case 19: replace += "x13"; break;
-                case 20: replace += "x14"; break;
-                case 21: replace += "x15"; break;
-                case 22: replace += "x16"; break;
-                case 23: replace += "x17"; break;
-                case 24: replace += "x18"; break;
-                case 25: replace += "x19"; break;
-                case 26: replace += "x1a"; break;
-                case 27: replace += "x1b"; break;
-                case 28: replace += "x1c"; break;
-                case 29: replace += "x1d"; break;
-                case 30: replace += "x1e"; break;
-                case 31: replace += "x1f"; break;
-                }
-                val = val.replace(RegExp(String.fromCharCode(i), "g"), replace);
-            }
-            return '"' + val.replace(/"/g, '\\"') + '"';
-        case "boolean":
-        case "undefined":
-            return String(val);
-        case "number":
-            // In JavaScript, -0 === 0 and String(-0) == "0", so we have to
-            // special-case.
-            if (val === -0 && 1/val === -Infinity)
-            {
-                return "-0";
-            }
-            return String(val);
-        case "object":
-            if (val === null)
-            {
-                return "null";
-            }
-
-            // Special-case Node objects, since those come up a lot in my tests.  I
-            // ignore namespaces.  I use duck-typing instead of instanceof, because
-            // instanceof doesn't work if the node is from another window (like an
-            // iframe's contentWindow):
-            // http://www.w3.org/Bugs/Public/show_bug.cgi?id=12295
-            if ("nodeType" in val
-            && "nodeName" in val
-            && "nodeValue" in val
-            && "childNodes" in val)
-            {
-                switch (val.nodeType)
-                {
-                case Node.ELEMENT_NODE:
-                    var ret = "<" + val.tagName.toLowerCase();
-                    for (var i = 0; i < val.attributes.length; i++)
-                    {
-                        ret += " " + val.attributes[i].name + '="' + val.attributes[i].value + '"';
-                    }
-                    ret += ">" + val.innerHTML + "</" + val.tagName.toLowerCase() + ">";
-                    return "Element node " + truncate(ret, 60);
-                case Node.TEXT_NODE:
-                    return 'Text node "' + truncate(val.data, 60) + '"';
-                case Node.PROCESSING_INSTRUCTION_NODE:
-                    return "ProcessingInstruction node with target " + format_value(truncate(val.target, 60)) + " and data " + format_value(truncate(val.data, 60));
-                case Node.COMMENT_NODE:
-                    return "Comment node <!--" + truncate(val.data, 60) + "-->";
-                case Node.DOCUMENT_NODE:
-                    return "Document node with " + val.childNodes.length + (val.childNodes.length == 1 ? " child" : " children");
-                case Node.DOCUMENT_TYPE_NODE:
-                    return "DocumentType node";
-                case Node.DOCUMENT_FRAGMENT_NODE:
-                    return "DocumentFragment node with " + val.childNodes.length + (val.childNodes.length == 1 ? " child" : " children");
-                default:
-                    return "Node object of unknown type";
-                }
-            }
-
-            // Fall through to default
-        default:
-            return typeof val + ' "' + truncate(String(val), 60) + '"';
-        }
-    }
-    expose(format_value, "format_value");
-
-    /*
-     * Assertions
-     */
-
-    function assert_true(actual, description)
-    {
-        assert(actual === true, "assert_true", description,
-                                "expected true got ${actual}", {actual:actual});
-    };
-    expose(assert_true, "assert_true");
-
-    function assert_false(actual, description)
-    {
-        assert(actual === false, "assert_false", description,
-                                 "expected false got ${actual}", {actual:actual});
-    };
-    expose(assert_false, "assert_false");
-
-    function same_value(x, y) {
-        if (y !== y)
-        {
-            //NaN case
-            return x !== x;
-        }
-        else if (x === 0 && y === 0) {
-            //Distinguish +0 and -0
-            return 1/x === 1/y;
-        }
-        else
-        {
-            //typical case
-            return x === y;
-        }
-    }
-
-    function assert_equals(actual, expected, description)
-    {
-         /*
-          * Test if two primitives are equal or two objects
-          * are the same object
-          */
-        if (typeof actual != typeof expected)
-        {
-            assert(false, "assert_equals", description,
-                          "expected (" + typeof expected + ") ${expected} but got (" + typeof actual + ") ${actual}",
-                          {expected:expected, actual:actual});
-            return;
-        }
-        assert(same_value(actual, expected), "assert_equals", description,
-                                             "expected ${expected} but got ${actual}",
-                                             {expected:expected, actual:actual});
-    };
-    expose(assert_equals, "assert_equals");
-
-    function assert_not_equals(actual, expected, description)
-    {
-         /*
-          * Test if two primitives are unequal or two objects
-          * are different objects
-          */
-        assert(!same_value(actual, expected), "assert_not_equals", description,
-                                              "got disallowed value ${actual}",
-                                              {actual:actual});
-    };
-    expose(assert_not_equals, "assert_not_equals");
-
-    function assert_in_array(actual, expected, description)
-    {
-        assert(expected.indexOf(actual) != -1, "assert_in_array", description,
-                                               "value ${actual} not in array ${expected}",
-                                               {actual:actual, expected:expected});
-    }
-    expose(assert_in_array, "assert_in_array");
-
-    function assert_object_equals(actual, expected, description)
-    {
-         //This needs to be improved a great deal
-         function check_equal(actual, expected, stack)
-         {
-             stack.push(actual);
-
-             var p;
-             for (p in actual)
-             {
-                 assert(expected.hasOwnProperty(p), "assert_object_equals", description,
-                                                    "unexpected property ${p}", {p:p});
-
-                 if (typeof actual[p] === "object" && actual[p] !== null)
-                 {
-                     if (stack.indexOf(actual[p]) === -1)
-                     {
-                         check_equal(actual[p], expected[p], stack);
-                     }
-                 }
-                 else
-                 {
-                     assert(same_value(actual[p], expected[p]), "assert_object_equals", description,
-                                                       "property ${p} expected ${expected} got ${actual}",
-                                                       {p:p, expected:expected, actual:actual});
-                 }
-             }
-             for (p in expected)
-             {
-                 assert(actual.hasOwnProperty(p),
-                        "assert_object_equals", description,
-                        "expected property ${p} missing", {p:p});
-             }
-             stack.pop();
-         }
-         check_equal(actual, expected, []);
-    };
-    expose(assert_object_equals, "assert_object_equals");
-
-    function assert_array_equals(actual, expected, description)
-    {
-        assert(actual.length === expected.length,
-               "assert_array_equals", description,
-               "lengths differ, expected ${expected} got ${actual}",
-               {expected:expected.length, actual:actual.length});
-
-        for (var i=0; i < actual.length; i++)
-        {
-            assert(actual.hasOwnProperty(i) === expected.hasOwnProperty(i),
-                   "assert_array_equals", description,
-                   "property ${i}, property expected to be $expected but was $actual",
-                   {i:i, expected:expected.hasOwnProperty(i) ? "present" : "missing",
-                   actual:actual.hasOwnProperty(i) ? "present" : "missing"});
-            assert(same_value(expected[i], actual[i]),
-                   "assert_array_equals", description,
-                   "property ${i}, expected ${expected} but got ${actual}",
-                   {i:i, expected:expected[i], actual:actual[i]});
-        }
-    }
-    expose(assert_array_equals, "assert_array_equals");
-
-    function assert_approx_equals(actual, expected, epsilon, description)
-    {
-        /*
-         * Test if two primitive numbers are equal withing +/- epsilon
-         */
-        assert(typeof actual === "number",
-               "assert_approx_equals", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(Math.abs(actual - expected) <= epsilon,
-               "assert_approx_equals", description,
-               "expected ${expected} +/- ${epsilon} but got ${actual}",
-               {expected:expected, actual:actual, epsilon:epsilon});
-    };
-    expose(assert_approx_equals, "assert_approx_equals");
-
-    function assert_less_than(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is less than another
-         */
-        assert(typeof actual === "number",
-               "assert_less_than", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual < expected,
-               "assert_less_than", description,
-               "expected a number less than ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_less_than, "assert_less_than");
-
-    function assert_greater_than(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is greater than another
-         */
-        assert(typeof actual === "number",
-               "assert_greater_than", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual > expected,
-               "assert_greater_than", description,
-               "expected a number greater than ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_greater_than, "assert_greater_than");
-
-    function assert_less_than_equal(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is less than or equal to another
-         */
-        assert(typeof actual === "number",
-               "assert_less_than_equal", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual <= expected,
-               "assert_less_than", description,
-               "expected a number less than or equal to ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_less_than_equal, "assert_less_than_equal");
-
-    function assert_greater_than_equal(actual, expected, description)
-    {
-        /*
-         * Test if a primitive number is greater than or equal to another
-         */
-        assert(typeof actual === "number",
-               "assert_greater_than_equal", description,
-               "expected a number but got a ${type_actual}",
-               {type_actual:typeof actual});
-
-        assert(actual >= expected,
-               "assert_greater_than_equal", description,
-               "expected a number greater than or equal to ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    };
-    expose(assert_greater_than_equal, "assert_greater_than_equal");
-
-    function assert_regexp_match(actual, expected, description) {
-        /*
-         * Test if a string (actual) matches a regexp (expected)
-         */
-        assert(expected.test(actual),
-               "assert_regexp_match", description,
-               "expected ${expected} but got ${actual}",
-               {expected:expected, actual:actual});
-    }
-    expose(assert_regexp_match, "assert_regexp_match");
-
-    function assert_class_string(object, class_string, description) {
-        assert_equals({}.toString.call(object), "[object " + class_string + "]",
-                      description);
-    }
-    expose(assert_class_string, "assert_class_string");
-
-
-    function _assert_own_property(name) {
-        return function(object, property_name, description)
-        {
-            assert(property_name in object,
-                   name, description,
-                   "expected property ${p} missing", {p:property_name});
-        };
-    }
-    expose(_assert_own_property("assert_exists"), "assert_exists");
-    expose(_assert_own_property("assert_own_property"), "assert_own_property");
-
-    function assert_not_exists(object, property_name, description)
-    {
-        assert(!object.hasOwnProperty(property_name),
-               "assert_not_exists", description,
-               "unexpected property ${p} found", {p:property_name});
-    };
-    expose(assert_not_exists, "assert_not_exists");
-
-    function _assert_inherits(name) {
-        return function (object, property_name, description)
-        {
-            assert(typeof object === "object",
-                   name, description,
-                   "provided value is not an object");
-
-            assert("hasOwnProperty" in object,
-                   name, description,
-                   "provided value is an object but has no hasOwnProperty method");
-
-            assert(!object.hasOwnProperty(property_name),
-                   name, description,
-                   "property ${p} found on object expected in prototype chain",
-                   {p:property_name});
-
-            assert(property_name in object,
-                   name, description,
-                   "property ${p} not found in prototype chain",
-                   {p:property_name});
-        };
-    }
-    expose(_assert_inherits("assert_inherits"), "assert_inherits");
-    expose(_assert_inherits("assert_idl_attribute"), "assert_idl_attribute");
-
-    function assert_readonly(object, property_name, description)
-    {
-         var initial_value = object[property_name];
-         try {
-             //Note that this can have side effects in the case where
-             //the property has PutForwards
-             object[property_name] = initial_value + "a"; //XXX use some other value here?
-             assert(same_value(object[property_name], initial_value),
-                    "assert_readonly", description,
-                    "changing property ${p} succeeded",
-                    {p:property_name});
-         }
-         finally
-         {
-             object[property_name] = initial_value;
-         }
-    };
-    expose(assert_readonly, "assert_readonly");
-
-    function assert_throws(code, func, description)
-    {
-        try
-        {
-            func.call(this);
-            assert(false, "assert_throws", description,
-                   "${func} did not throw", {func:func});
-        }
-        catch(e)
-        {
-            if (e instanceof AssertionError) {
-                throw(e);
-            }
-            if (code === null)
-            {
-                return;
-            }
-            if (typeof code === "object")
-            {
-                assert(typeof e == "object" && "name" in e && e.name == code.name,
-                       "assert_throws", description,
-                       "${func} threw ${actual} (${actual_name}) expected ${expected} (${expected_name})",
-                                    {func:func, actual:e, actual_name:e.name,
-                                     expected:code,
-                                     expected_name:code.name});
-                return;
-            }
-
-            var code_name_map = {
-                INDEX_SIZE_ERR: 'IndexSizeError',
-                HIERARCHY_REQUEST_ERR: 'HierarchyRequestError',
-                WRONG_DOCUMENT_ERR: 'WrongDocumentError',
-                INVALID_CHARACTER_ERR: 'InvalidCharacterError',
-                NO_MODIFICATION_ALLOWED_ERR: 'NoModificationAllowedError',
-                NOT_FOUND_ERR: 'NotFoundError',
-                NOT_SUPPORTED_ERR: 'NotSupportedError',
-                INVALID_STATE_ERR: 'InvalidStateError',
-                SYNTAX_ERR: 'SyntaxError',
-                INVALID_MODIFICATION_ERR: 'InvalidModificationError',
-                NAMESPACE_ERR: 'NamespaceError',
-                INVALID_ACCESS_ERR: 'InvalidAccessError',
-                TYPE_MISMATCH_ERR: 'TypeMismatchError',
-                SECURITY_ERR: 'SecurityError',
-                NETWORK_ERR: 'NetworkError',
-                ABORT_ERR: 'AbortError',
-                URL_MISMATCH_ERR: 'URLMismatchError',
-                QUOTA_EXCEEDED_ERR: 'QuotaExceededError',
-                TIMEOUT_ERR: 'TimeoutError',
-                INVALID_NODE_TYPE_ERR: 'InvalidNodeTypeError',
-                DATA_CLONE_ERR: 'DataCloneError'
-            };
-
-            var name = code in code_name_map ? code_name_map[code] : code;
-
-            var name_code_map = {
-                IndexSizeError: 1,
-                HierarchyRequestError: 3,
-                WrongDocumentError: 4,
-                InvalidCharacterError: 5,
-                NoModificationAllowedError: 7,
-                NotFoundError: 8,
-                NotSupportedError: 9,
-                InvalidStateError: 11,
-                SyntaxError: 12,
-                InvalidModificationError: 13,
-                NamespaceError: 14,
-                InvalidAccessError: 15,
-                TypeMismatchError: 17,
-                SecurityError: 18,
-                NetworkError: 19,
-                AbortError: 20,
-                URLMismatchError: 21,
-                QuotaExceededError: 22,
-                TimeoutError: 23,
-                InvalidNodeTypeError: 24,
-                DataCloneError: 25,
-
-                UnknownError: 0,
-                ConstraintError: 0,
-                DataError: 0,
-                TransactionInactiveError: 0,
-                ReadOnlyError: 0,
-                VersionError: 0
-            };
-
-            if (!(name in name_code_map))
-            {
-                throw new AssertionError('Test bug: unrecognized DOMException code "' + code + '" passed to assert_throws()');
-            }
-
-            var required_props = { code: name_code_map[name] };
-
-            if (required_props.code === 0
-            || ("name" in e && e.name !== e.name.toUpperCase() && e.name !== "DOMException"))
-            {
-                // New style exception: also test the name property.
-                required_props.name = name;
-            }
-
-            //We'd like to test that e instanceof the appropriate interface,
-            //but we can't, because we don't know what window it was created
-            //in.  It might be an instanceof the appropriate interface on some
-            //unknown other window.  TODO: Work around this somehow?
-
-            assert(typeof e == "object",
-                   "assert_throws", description,
-                   "${func} threw ${e} with type ${type}, not an object",
-                   {func:func, e:e, type:typeof e});
-
-            for (var prop in required_props)
-            {
-                assert(typeof e == "object" && prop in e && e[prop] == required_props[prop],
-                       "assert_throws", description,
-                       "${func} threw ${e} that is not a DOMException " + code + ": property ${prop} is equal to ${actual}, expected ${expected}",
-                       {func:func, e:e, prop:prop, actual:e[prop], expected:required_props[prop]});
-            }
-        }
-    }
-    expose(assert_throws, "assert_throws");
-
-    function assert_unreached(description) {
-         assert(false, "assert_unreached", description,
-                "Reached unreachable code");
-    }
-    expose(assert_unreached, "assert_unreached");
-
-    function assert_any(assert_func, actual, expected_array) 
-    {
-        var args = [].slice.call(arguments, 3)
-        var errors = []
-        var passed = false;
-        forEach(expected_array, 
-                function(expected)
-                {
-                    try {
-                        assert_func.apply(this, [actual, expected].concat(args))
-                        passed = true;
-                    } catch(e) {
-                        errors.push(e.message);
-                    }
-                });
-        if (!passed) {
-            throw new AssertionError(errors.join("\n\n"));
-        }
-    }
-    expose(assert_any, "assert_any");
-
-    function Test(name, properties)
-    {
-        this.name = name;
-        this.status = this.NOTRUN;
-        this.timeout_id = null;
-        this.is_done = false;
-
-        this.properties = properties;
-        this.timeout_length = properties.timeout ? properties.timeout : settings.test_timeout;
-
-        this.message = null;
-
-        var this_obj = this;
-        this.steps = [];
-
-        tests.push(this);
-    }
-
-    Test.statuses = {
-        PASS:0,
-        FAIL:1,
-        TIMEOUT:2,
-        NOTRUN:3
-    };
-
-    Test.prototype = merge({}, Test.statuses);
-
-    Test.prototype.structured_clone = function()
-    {
-        if(!this._structured_clone)
-        {
-            var msg = this.message;
-            msg = msg ? String(msg) : msg;
-            this._structured_clone = merge({
-                name:String(this.name),
-                status:this.status,
-                message:msg
-            }, Test.statuses);
-        }
-        return this._structured_clone;
-    };
-
-    Test.prototype.step = function(func, this_obj)
-    {
-        //In case the test has already failed
-        if (this.status !== this.NOTRUN)
-        {
-          return;
-        }
-
-        tests.started = true;
-
-        if (this.timeout_id === null) {
-            this.set_timeout();
-        }
-
-        this.steps.push(func);
-
-        if (arguments.length === 1)
-        {
-            this_obj = this;
-        }
-
-        try
-        {
-            return func.apply(this_obj, Array.prototype.slice.call(arguments, 2));
-        }
-        catch(e)
-        {
-            //This can happen if something called synchronously invoked another
-            //step
-            if (this.status !== this.NOTRUN)
-            {
-                return;
-            }
-            this.status = this.FAIL;
-            this.message = (typeof e === "object" && e !== null) ? e.message : e;
-            if (typeof e.stack != "undefined" && typeof e.message == "string") {
-                //Try to make it more informative for some exceptions, at least
-                //in Gecko and WebKit.  This results in a stack dump instead of
-                //just errors like "Cannot read property 'parentNode' of null"
-                //or "root is null".  Makes it a lot longer, of course.
-                this.message += "(stack: " + e.stack + ")";
-            }
-            this.done();
-            if (debug && e.constructor !== AssertionError) {
-                throw e;
-            }
-        }
-    };
-
-    Test.prototype.step_func = function(func, this_obj)
-    {
-        var test_this = this;
-
-        if (arguments.length === 1)
-        {
-            this_obj = test_this;
-        }
-
-        return function()
-        {
-            test_this.step.apply(test_this, [func, this_obj].concat(
-                Array.prototype.slice.call(arguments)));
-        };
-    };
-
-    Test.prototype.step_func_done = function(func, this_obj)
-    {
-        var test_this = this;
-
-        if (arguments.length === 1)
-        {
-            this_obj = test_this;
-        }
-
-        return function()
-        {
-            test_this.step.apply(test_this, [func, this_obj].concat(
-                Array.prototype.slice.call(arguments)));
-            test_this.done();
-        };
-    };
-
-    Test.prototype.set_timeout = function()
-    {
-        var this_obj = this;
-        this.timeout_id = setTimeout(function()
-                                     {
-                                         this_obj.timeout();
-                                     }, this.timeout_length);
-    };
-
-    Test.prototype.timeout = function()
-    {
-        this.status = this.TIMEOUT;
-        this.timeout_id = null;
-        this.message = "Test timed out";
-        this.done();
-    };
-
-    Test.prototype.done = function()
-    {
-        if (this.is_done) {
-            return;
-        }
-        clearTimeout(this.timeout_id);
-        if (this.status === this.NOTRUN)
-        {
-            this.status = this.PASS;
-        }
-        this.is_done = true;
-        tests.result(this);
-    };
-
-
-    /*
-     * Harness
-     */
-
-    function TestsStatus()
-    {
-        this.status = null;
-        this.message = null;
-    }
-
-    TestsStatus.statuses = {
-        OK:0,
-        ERROR:1,
-        TIMEOUT:2
-    };
-
-    TestsStatus.prototype = merge({}, TestsStatus.statuses);
-
-    TestsStatus.prototype.structured_clone = function()
-    {
-        if(!this._structured_clone)
-        {
-            var msg = this.message;
-            msg = msg ? String(msg) : msg;
-            this._structured_clone = merge({
-                status:this.status,
-                message:msg
-            }, TestsStatus.statuses);
-        }
-        return this._structured_clone;
-    };
-
-    function Tests()
-    {
-        this.tests = [];
-        this.num_pending = 0;
-
-        this.phases = {
-            INITIAL:0,
-            SETUP:1,
-            HAVE_TESTS:2,
-            HAVE_RESULTS:3,
-            COMPLETE:4
-        };
-        this.phase = this.phases.INITIAL;
-
-        this.properties = {};
-
-        //All tests can't be done until the load event fires
-        this.all_loaded = false;
-        this.wait_for_finish = false;
-        this.processing_callbacks = false;
-
-        this.timeout_length = settings.timeout;
-        this.timeout_id = null;
-
-        this.start_callbacks = [];
-        this.test_done_callbacks = [];
-        this.all_done_callbacks = [];
-
-        this.status = new TestsStatus();
-
-        var this_obj = this;
-
-        on_event(window, "load",
-                 function()
-                 {
-                     this_obj.all_loaded = true;
-                     if (this_obj.all_done())
-                     {
-                         this_obj.complete();
-                     }
-                 });
-
-        this.set_timeout();
-    }
-
-    Tests.prototype.setup = function(func, properties)
-    {
-        if (this.phase >= this.phases.HAVE_RESULTS)
-        {
-            return;
-        }
-        if (this.phase < this.phases.SETUP)
-        {
-            this.phase = this.phases.SETUP;
-        }
-
-        for (var p in properties)
-        {
-            if (properties.hasOwnProperty(p))
-            {
-                this.properties[p] = properties[p];
-            }
-        }
-
-        if (properties.timeout)
-        {
-            this.timeout_length = properties.timeout;
-        }
-        if (properties.explicit_done)
-        {
-            this.wait_for_finish = true;
-        }
-        if (properties.explicit_timeout) {
-            this.timeout_length = null;
-        }
-
-        if (func)
-        {
-            try
-            {
-                func();
-            } catch(e)
-            {
-                this.status.status = this.status.ERROR;
-                this.status.message = e;
-            };
-        }
-        this.set_timeout();
-    };
-
-    Tests.prototype.set_timeout = function()
-    {
-        var this_obj = this;
-        clearTimeout(this.timeout_id);
-        if (this.timeout_length !== null)
-        {
-            this.timeout_id = setTimeout(function() {
-                                             this_obj.timeout();
-                                         }, this.timeout_length);
-        }
-    };
-
-    Tests.prototype.timeout = function() {
-        this.status.status = this.status.TIMEOUT;
-        this.complete();
-    };
-
-    Tests.prototype.end_wait = function()
-    {
-        this.wait_for_finish = false;
-        if (this.all_done()) {
-            this.complete();
-        }
-    };
-
-    Tests.prototype.push = function(test)
-    {
-        if (this.phase < this.phases.HAVE_TESTS) {
-            this.start();
-        }
-        this.num_pending++;
-        this.tests.push(test);
-    };
-
-    Tests.prototype.all_done = function() {
-        return (this.all_loaded && this.num_pending === 0 &&
-                !this.wait_for_finish && !this.processing_callbacks);
-    };
-
-    Tests.prototype.start = function() {
-        this.phase = this.phases.HAVE_TESTS;
-        this.notify_start();
-    };
-
-    Tests.prototype.notify_start = function() {
-        var this_obj = this;
-        forEach (this.start_callbacks,
-                 function(callback)
-                 {
-                     callback(this_obj.properties);
-                 });
-        forEach_windows(
-                function(w, is_same_origin)
-                {
-                    if(is_same_origin && w.start_callback)
-                    {
-                        try
-                        {
-                            w.start_callback(this_obj.properties);
-                        }
-                        catch(e)
-                        {
-                            if (debug)
-                            {
-                                throw(e);
-                            }
-                        }
-                    }
-                    if (supports_post_message(w) && w !== self)
-                    {
-                        w.postMessage({
-                            type: "start",
-                            properties: this_obj.properties
-                        }, "*");
-                    }
-                });
-    };
-
-    Tests.prototype.result = function(test)
-    {
-        if (this.phase > this.phases.HAVE_RESULTS)
-        {
-            return;
-        }
-        this.phase = this.phases.HAVE_RESULTS;
-        this.num_pending--;
-        this.notify_result(test);
-    };
-
-    Tests.prototype.notify_result = function(test) {
-        var this_obj = this;
-        this.processing_callbacks = true;
-        forEach(this.test_done_callbacks,
-                function(callback)
-                {
-                    callback(test, this_obj);
-                });
-
-        forEach_windows(
-                function(w, is_same_origin)
-                {
-                    if(is_same_origin && w.result_callback)
-                    {
-                        try
-                        {
-                            w.result_callback(test);
-                        }
-                        catch(e)
-                        {
-                            if(debug) {
-                                throw e;
-                            }
-                        }
-                    }
-                    if (supports_post_message(w) && w !== self)
-                    {
-                        w.postMessage({
-                            type: "result",
-                            test: test.structured_clone()
-                        }, "*");
-                    }
-                });
-        this.processing_callbacks = false;
-        if (this_obj.all_done())
-        {
-            this_obj.complete();
-        }
-    };
-
-    Tests.prototype.complete = function() {
-        if (this.phase === this.phases.COMPLETE) {
-            return;
-        }
-        this.phase = this.phases.COMPLETE;
-        var this_obj = this;
-        this.tests.forEach(
-            function(x)
-            {
-                if(x.status === x.NOTRUN)
-                {
-                    this_obj.notify_result(x);
-                }
-            }
-        );
-        this.notify_complete();
-    };
-
-    Tests.prototype.notify_complete = function()
-    {
-        clearTimeout(this.timeout_id);
-        var this_obj = this;
-        var tests = map(this_obj.tests,
-                        function(test)
-                        {
-                            return test.structured_clone();
-                        });
-        if (this.status.status === null)
-        {
-            this.status.status = this.status.OK;
-        }
-
-        forEach (this.all_done_callbacks,
-                 function(callback)
-                 {
-                     callback(this_obj.tests, this_obj.status);
-                 });
-
-        forEach_windows(
-                function(w, is_same_origin)
-                {
-                    if(is_same_origin && w.completion_callback)
-                    {
-                        try
-                        {
-                            w.completion_callback(this_obj.tests, this_obj.status);
-                        }
-                        catch(e)
-                        {
-                            if (debug)
-                            {
-                                throw e;
-                            }
-                        }
-                    }
-                    if (supports_post_message(w) && w !== self)
-                    {
-                        w.postMessage({
-                            type: "complete",
-                            tests: tests,
-                            status: this_obj.status.structured_clone()
-                        }, "*");
-                    }
-                });
-    };
-
-    var tests = new Tests();
-
-    function timeout() {
-        if (tests.timeout_length === null)
-        {
-            tests.timeout();
-        }
-    }
-    expose(timeout, 'timeout');
-
-    function add_start_callback(callback) {
-        tests.start_callbacks.push(callback);
-    }
-
-    function add_result_callback(callback)
-    {
-        tests.test_done_callbacks.push(callback);
-    }
-
-    function add_completion_callback(callback)
-    {
-       tests.all_done_callbacks.push(callback);
-    }
-
-    expose(add_start_callback, 'add_start_callback');
-    expose(add_result_callback, 'add_result_callback');
-    expose(add_completion_callback, 'add_completion_callback');
-
-    /*
-     * Output listener
-    */
-
-    function Output() {
-      this.output_document = document;
-      this.output_node = null;
-      this.done_count = 0;
-      this.enabled = settings.output;
-      this.phase = this.INITIAL;
-    }
-
-    Output.prototype.INITIAL = 0;
-    Output.prototype.STARTED = 1;
-    Output.prototype.HAVE_RESULTS = 2;
-    Output.prototype.COMPLETE = 3;
-
-    Output.prototype.setup = function(properties) {
-        if (this.phase > this.INITIAL) {
-            return;
-        }
-
-        //If output is disabled in testharnessreport.js the test shouldn't be
-        //able to override that
-        this.enabled = this.enabled && (properties.hasOwnProperty("output") ?
-                                        properties.output : settings.output);
-    };
-
-    Output.prototype.init = function(properties)
-    {
-        if (this.phase >= this.STARTED) {
-            return;
-        }
-        if (properties.output_document) {
-            this.output_document = properties.output_document;
-        } else {
-            this.output_document = document;
-        }
-        this.phase = this.STARTED;
-    };
-
-    Output.prototype.resolve_log = function()
-    {
-        var output_document;
-        if (typeof this.output_document === "function")
-        {
-            output_document = this.output_document.apply(undefined);
-        } else
-        {
-            output_document = this.output_document;
-        }
-        if (!output_document)
-        {
-            return;
-        }
-        var node = output_document.getElementById("log");
-        if (node)
-        {
-            this.output_document = output_document;
-            this.output_node = node;
-        }
-    };
-
-    Output.prototype.show_status = function(test)
-    {
-        if (this.phase < this.STARTED)
-        {
-            this.init();
-        }
-        if (!this.enabled)
-        {
-            return;
-        }
-        if (this.phase < this.HAVE_RESULTS)
-        {
-            this.resolve_log();
-            this.phase = this.HAVE_RESULTS;
-        }
-        this.done_count++;
-        if (this.output_node)
-        {
-            if (this.done_count < 100
-            || (this.done_count < 1000 && this.done_count % 100 == 0)
-            || this.done_count % 1000 == 0) {
-                this.output_node.textContent = "Running, "
-                    + this.done_count + " complete, "
-                    + tests.num_pending + " remain";
-            }
-        }
-    };
-
-    Output.prototype.show_results = function (tests, harness_status)
-    {
-        if (this.phase >= this.COMPLETE) {
-            return;
-        }
-        if (!this.enabled)
-        {
-            return;
-        }
-        if (!this.output_node) {
-            this.resolve_log();
-        }
-        this.phase = this.COMPLETE;
-
-        var log = this.output_node;
-        if (!log)
-        {
-            return;
-        }
-        var output_document = this.output_document;
-
-        while (log.lastChild)
-        {
-            log.removeChild(log.lastChild);
-        }
-
-        if (script_prefix != null) {
-            var stylesheet = output_document.createElementNS(xhtml_ns, "link");
-            stylesheet.setAttribute("rel", "stylesheet");
-            stylesheet.setAttribute("href", script_prefix + "testharness.css");
-            var heads = output_document.getElementsByTagName("head");
-            if (heads.length) {
-                heads[0].appendChild(stylesheet);
-            }
-        }
-
-        var status_text = {};
-        status_text[Test.prototype.PASS] = "Pass";
-        status_text[Test.prototype.FAIL] = "Fail";
-        status_text[Test.prototype.TIMEOUT] = "Timeout";
-        status_text[Test.prototype.NOTRUN] = "Not Run";
-
-        var status_number = {};
-        forEach(tests, function(test) {
-                    var status = status_text[test.status];
-                    if (status_number.hasOwnProperty(status))
-                    {
-                        status_number[status] += 1;
-                    } else {
-                        status_number[status] = 1;
-                    }
-                });
-
-        function status_class(status)
-        {
-            return status.replace(/\s/g, '').toLowerCase();
-        }
-
-        var summary_template = ["section", {"id":"summary"},
-                                ["h2", {}, "Summary"],
-                                ["p", {}, "Found ${num_tests} tests"],
-                                function(vars) {
-                                    var rv = [["div", {}]];
-                                    var i=0;
-                                    while (status_text.hasOwnProperty(i)) {
-                                        if (status_number.hasOwnProperty(status_text[i])) {
-                                            var status = status_text[i];
-                                            rv[0].push(["div", {"class":status_class(status)},
-                                                        ["label", {},
-                                                         ["input", {type:"checkbox", checked:"checked"}],
-                                                         status_number[status] + " " + status]]);
-                                        }
-                                        i++;
-                                    }
-                                    return rv;
-                                }];
-
-        log.appendChild(render(summary_template, {num_tests:tests.length}, output_document));
-
-        forEach(output_document.querySelectorAll("section#summary label"),
-                function(element)
-                {
-                    on_event(element, "click",
-                             function(e)
-                             {
-                                 if (output_document.getElementById("results") === null)
-                                 {
-                                     e.preventDefault();
-                                     return;
-                                 }
-                                 var result_class = element.parentNode.getAttribute("class");
-                                 var style_element = output_document.querySelector("style#hide-" + result_class);
-                                 var input_element = element.querySelector("input");
-                                 if (!style_element && !input_element.checked) {
-                                     style_element = output_document.createElementNS(xhtml_ns, "style");
-                                     style_element.id = "hide-" + result_class;
-                                     style_element.textContent = "table#results > tbody > tr."+result_class+"{display:none}";
-                                     output_document.body.appendChild(style_element);
-                                 } else if (style_element && input_element.checked) {
-                                     style_element.parentNode.removeChild(style_element);
-                                 }
-                             });
-                });
-
-        // This use of innerHTML plus manual escaping is not recommended in
-        // general, but is necessary here for performance.  Using textContent
-        // on each individual <td> adds tens of seconds of execution time for
-        // large test suites (tens of thousands of tests).
-        function escape_html(s)
-        {
-            return s.replace(/\&/g, "&amp;")
-                .replace(/</g, "&lt;")
-                .replace(/"/g, "&quot;")
-                .replace(/'/g, "&#39;");
-        }
-
-        function has_assertions()
-        {
-            for (var i = 0; i < tests.length; i++) {
-                if (tests[i].properties.hasOwnProperty("assert")) {
-                    return true;
-                }
-            }
-            return false;
-        }
-        
-        function get_assertion(test)
-        {
-            if (test.properties.hasOwnProperty("assert")) {
-                if (Array.isArray(test.properties.assert)) {
-                    return test.properties.assert.join(' ');
-                }
-                return test.properties.assert;
-            }
-            return '';
-        }
-        
-        log.appendChild(document.createElementNS(xhtml_ns, "section"));
-        var assertions = has_assertions();
-        var html = "<h2>Details</h2><table id='results' " + (assertions ? "class='assertions'" : "" ) + ">"
-            + "<thead><tr><th>Result</th><th>Test Name</th>"
-            + (assertions ? "<th>Assertion</th>" : "")
-            + "<th>Message</th></tr></thead>"
-            + "<tbody>";
-        for (var i = 0; i < tests.length; i++) {
-            html += '<tr class="'
-                + escape_html(status_class(status_text[tests[i].status]))
-                + '"><td>'
-                + escape_html(status_text[tests[i].status])
-                + "</td><td>"
-                + escape_html(tests[i].name)
-                + "</td><td>"
-                + (assertions ? escape_html(get_assertion(tests[i])) + "</td><td>" : "")
-                + escape_html(tests[i].message ? tests[i].message : " ")
-                + "</td></tr>";
-        }
-        html += "</tbody></table>";
-        try {
-            log.lastChild.innerHTML = html;
-        } catch (e) {
-            log.appendChild(document.createElementNS(xhtml_ns, "p"))
-               .textContent = "Setting innerHTML for the log threw an exception.";
-            log.appendChild(document.createElementNS(xhtml_ns, "pre"))
-               .textContent = html;
-        }
-    };
-
-    var output = new Output();
-    add_start_callback(function (properties) {output.init(properties);});
-    add_result_callback(function (test) {output.show_status(tests);});
-    add_completion_callback(function (tests, harness_status) {output.show_results(tests, harness_status);});
-
-    /*
-     * Template code
-     *
-     * A template is just a javascript structure. An element is represented as:
-     *
-     * [tag_name, {attr_name:attr_value}, child1, child2]
-     *
-     * the children can either be strings (which act like text nodes), other templates or
-     * functions (see below)
-     *
-     * A text node is represented as
-     *
-     * ["{text}", value]
-     *
-     * String values have a simple substitution syntax; ${foo} represents a variable foo.
-     *
-     * It is possible to embed logic in templates by using a function in a place where a
-     * node would usually go. The function must either return part of a template or null.
-     *
-     * In cases where a set of nodes are required as output rather than a single node
-     * with children it is possible to just use a list
-     * [node1, node2, node3]
-     *
-     * Usage:
-     *
-     * render(template, substitutions) - take a template and an object mapping
-     * variable names to parameters and return either a DOM node or a list of DOM nodes
-     *
-     * substitute(template, substitutions) - take a template and variable mapping object,
-     * make the variable substitutions and return the substituted template
-     *
-     */
-
-    function is_single_node(template)
-    {
-        return typeof template[0] === "string";
-    }
-
-    function substitute(template, substitutions)
-    {
-        if (typeof template === "function") {
-            var replacement = template(substitutions);
-            if (replacement)
-            {
-                var rv = substitute(replacement, substitutions);
-                return rv;
-            }
-            else
-            {
-                return null;
-            }
-        }
-        else if (is_single_node(template))
-        {
-            return substitute_single(template, substitutions);
-        }
-        else
-        {
-            return filter(map(template, function(x) {
-                                  return substitute(x, substitutions);
-                              }), function(x) {return x !== null;});
-        }
-    }
-
-    function substitute_single(template, substitutions)
-    {
-        var substitution_re = /\${([^ }]*)}/g;
-
-        function do_substitution(input) {
-            var components = input.split(substitution_re);
-            var rv = [];
-            for (var i=0; i<components.length; i+=2)
-            {
-                rv.push(components[i]);
-                if (components[i+1])
-                {
-                    rv.push(String(substitutions[components[i+1]]));
-                }
-            }
-            return rv;
-        }
-
-        var rv = [];
-        rv.push(do_substitution(String(template[0])).join(""));
-
-        if (template[0] === "{text}") {
-            substitute_children(template.slice(1), rv);
-        } else {
-            substitute_attrs(template[1], rv);
-            substitute_children(template.slice(2), rv);
-        }
-
-        function substitute_attrs(attrs, rv)
-        {
-            rv[1] = {};
-            for (var name in template[1])
-            {
-                if (attrs.hasOwnProperty(name))
-                {
-                    var new_name = do_substitution(name).join("");
-                    var new_value = do_substitution(attrs[name]).join("");
-                    rv[1][new_name] = new_value;
-                };
-            }
-        }
-
-        function substitute_children(children, rv)
-        {
-            for (var i=0; i<children.length; i++)
-            {
-                if (children[i] instanceof Object) {
-                    var replacement = substitute(children[i], substitutions);
-                    if (replacement !== null)
-                    {
-                        if (is_single_node(replacement))
-                        {
-                            rv.push(replacement);
-                        }
-                        else
-                        {
-                            extend(rv, replacement);
-                        }
-                    }
-                }
-                else
-                {
-                    extend(rv, do_substitution(String(children[i])));
-                }
-            }
-            return rv;
-        }
-
-        return rv;
-    }
-
- function make_dom_single(template, doc)
- {
-     var output_document = doc || document;
-     if (template[0] === "{text}")
-     {
-         var element = output_document.createTextNode("");
-         for (var i=1; i<template.length; i++)
-         {
-             element.data += template[i];
-         }
-     }
-     else
-     {
-         var element = output_document.createElementNS(xhtml_ns, template[0]);
-         for (var name in template[1]) {
-             if (template[1].hasOwnProperty(name))
-             {
-                 element.setAttribute(name, template[1][name]);
-             }
-         }
-         for (var i=2; i<template.length; i++)
-         {
-             if (template[i] instanceof Object)
-             {
-                 var sub_element = make_dom(template[i]);
-                 element.appendChild(sub_element);
-             }
-             else
-             {
-                 var text_node = output_document.createTextNode(template[i]);
-                 element.appendChild(text_node);
-             }
-         }
-     }
-
-     return element;
- }
-
-
-
- function make_dom(template, substitutions, output_document)
-    {
-        if (is_single_node(template))
-        {
-            return make_dom_single(template, output_document);
-        }
-        else
-        {
-            return map(template, function(x) {
-                           return make_dom_single(x, output_document);
-                       });
-        }
-    }
-
- function render(template, substitutions, output_document)
-    {
-        return make_dom(substitute(template, substitutions), output_document);
-    }
-
-    /*
-     * Utility funcions
-     */
-    function assert(expected_true, function_name, description, error, substitutions)
-    {
-        if (expected_true !== true)
-        {
-            throw new AssertionError(make_message(function_name, description,
-                                                  error, substitutions));
-        }
-    }
-
-    function AssertionError(message)
-    {
-        this.message = message;
-    }
-
-    function make_message(function_name, description, error, substitutions)
-    {
-        for (var p in substitutions) {
-            if (substitutions.hasOwnProperty(p)) {
-                substitutions[p] = format_value(substitutions[p]);
-            }
-        }
-        var node_form = substitute(["{text}", "${function_name}: ${description}" + error],
-                                   merge({function_name:function_name,
-                                          description:(description?description + " ":"")},
-                                          substitutions));
-        return node_form.slice(1).join("");
-    }
-
-    function filter(array, callable, thisObj) {
-        var rv = [];
-        for (var i=0; i<array.length; i++)
-        {
-            if (array.hasOwnProperty(i))
-            {
-                var pass = callable.call(thisObj, array[i], i, array);
-                if (pass) {
-                    rv.push(array[i]);
-                }
-            }
-        }
-        return rv;
-    }
-
-    function map(array, callable, thisObj)
-    {
-        var rv = [];
-        rv.length = array.length;
-        for (var i=0; i<array.length; i++)
-        {
-            if (array.hasOwnProperty(i))
-            {
-                rv[i] = callable.call(thisObj, array[i], i, array);
-            }
-        }
-        return rv;
-    }
-
-    function extend(array, items)
-    {
-        Array.prototype.push.apply(array, items);
-    }
-
-    function forEach (array, callback, thisObj)
-    {
-        for (var i=0; i<array.length; i++)
-        {
-            if (array.hasOwnProperty(i))
-            {
-                callback.call(thisObj, array[i], i, array);
-            }
-        }
-    }
-
-    function merge(a,b)
-    {
-        var rv = {};
-        var p;
-        for (p in a)
-        {
-            rv[p] = a[p];
-        }
-        for (p in b) {
-            rv[p] = b[p];
-        }
-        return rv;
-    }
-
-    function expose(object, name)
-    {
-        var components = name.split(".");
-        var target = window;
-        for (var i=0; i<components.length - 1; i++)
-        {
-            if (!(components[i] in target))
-            {
-                target[components[i]] = {};
-            }
-            target = target[components[i]];
-        }
-        target[components[components.length - 1]] = object;
-    }
-
-    function forEach_windows(callback) {
-        // Iterate of the the windows [self ... top, opener]. The callback is passed
-        // two objects, the first one is the windows object itself, the second one
-        // is a boolean indicating whether or not its on the same origin as the
-        // current window.
-        var cache = forEach_windows.result_cache;
-        if (!cache) {
-            cache = [[self, true]];
-            var w = self;
-            var i = 0;
-            var so;
-            var origins = location.ancestorOrigins;
-            while (w != w.parent)
-            {
-                w = w.parent;
-                // In WebKit, calls to parent windows' properties that aren't on the same
-                // origin cause an error message to be displayed in the error console but
-                // don't throw an exception. This is a deviation from the current HTML5
-                // spec. See: https://bugs.webkit.org/show_bug.cgi?id=43504
-                // The problem with WebKit's behavior is that it pollutes the error console
-                // with error messages that can't be caught.
-                //
-                // This issue can be mitigated by relying on the (for now) proprietary
-                // `location.ancestorOrigins` property which returns an ordered list of
-                // the origins of enclosing windows. See:
-                // http://trac.webkit.org/changeset/113945.
-                if(origins) {
-                    so = (location.origin == origins[i]);
-                }
-                else
-                {
-                    so = is_same_origin(w);
-                }
-                cache.push([w, so]);
-                i++;
-            }
-            w = window.opener;
-            if(w)
-            {
-                // window.opener isn't included in the `location.ancestorOrigins` prop.
-                // We'll just have to deal with a simple check and an error msg on WebKit
-                // browsers in this case.
-                cache.push([w, is_same_origin(w)]);
-            }
-            forEach_windows.result_cache = cache;
-        }
-
-        forEach(cache,
-                function(a)
-                {
-                    callback.apply(null, a);
-                });
-    }
-
-    function is_same_origin(w) {
-        try {
-            'random_prop' in w;
-            return true;
-        } catch(e) {
-            return false;
-        }
-    }
-
-    function supports_post_message(w)
-    {
-        var supports;
-        var type;
-        // Given IE  implements postMessage across nested iframes but not across
-        // windows or tabs, you can't infer cross-origin communication from the presence
-        // of postMessage on the current window object only.
-        //
-        // Touching the postMessage prop on a window can throw if the window is
-        // not from the same origin AND post message is not supported in that
-        // browser. So just doing an existence test here won't do, you also need
-        // to wrap it in a try..cacth block.
-        try
-        {
-            type = typeof w.postMessage;
-            if (type === "function")
-            {
-                supports = true;
-            }
-            // IE8 supports postMessage, but implements it as a host object which
-            // returns "object" as its `typeof`.
-            else if (type === "object")
-            {
-                supports = true;
-            }
-            // This is the case where postMessage isn't supported AND accessing a
-            // window property across origins does NOT throw (e.g. old Safari browser).
-            else
-            {
-                supports = false;
-            }
-        }
-        catch(e) {
-            // This is the case where postMessage isn't supported AND accessing a
-            // window property across origins throws (e.g. old Firefox browser).
-            supports = false;
-        }
-        return supports;
-    }
-})();
-
-/*
- *For blacklist
- */
-
-function is_platform_supported(name)
-{
-    var ret = true;
-
-    if (not_support_list.indexOf(name) >= 0)
-        ret = false;
-
-    return ret;
-}
-
-// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharnessreport.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * This file is intended for vendors to implement
- * code needed to integrate testharness.js tests with their own test systems.
- *
- * The default implementation extracts metadata from the tests and validates 
- * it against the cached version that should be present in the test source 
- * file. If the cache is not found or is out of sync, source code suitable for
- * caching the metadata is optionally generated.
- *
- * The cached metadata is present for extraction by test processing tools that
- * are unable to execute javascript.
- *
- * Metadata is attached to tests via the properties parameter in the test
- * constructor. See testharness.js for details.
- *
- * Typically test system integration will attach callbacks when each test has
- * run, using add_result_callback(callback(test)), or when the whole test file
- * has completed, using 
- * add_completion_callback(callback(tests, harness_status)).
- *
- * For more documentation about the callback functions and the
- * parameters they are called with see testharness.js
- */
-
-
-
-var metadata_generator = {
-
-    currentMetadata: {},
-    cachedMetadata: false,
-    metadataProperties: ['help', 'assert', 'author'],
-    
-    error: function(message) {
-        var messageElement = document.createElement('p');
-        messageElement.setAttribute('class', 'error');
-        this.appendText(messageElement, message);
-        
-        var summary = document.getElementById('summary');
-        if (summary) {
-            summary.parentNode.insertBefore(messageElement, summary);
-        }
-        else {
-            document.body.appendChild(messageElement);
-        }
-    },
-
-    /**
-     * Ensure property value has contact information
-     */
-    validateContact: function(test, propertyName) {
-        var result = true;
-        var value = test.properties[propertyName];
-        var values = Array.isArray(value) ? value : [value];
-        for (var index = 0; index < values.length; index++) {
-            value = values[index];
-            var re = /(\S+)(\s*)<(.*)>(.*)/;
-            if (! re.test(value)) {
-                re = /(\S+)(\s+)(http[s]?:\/\/)(.*)/
-                if (! re.test(value)) {
-                    this.error('Metadata property "' + propertyName + 
-                        '" for test: "' + test.name +
-                        '" must have name and contact information ' +
-                        '("name <email>" or "name http(s)://")');
-                    result = false;
-                }
-            }
-        }
-        return result;
-    },
-    
-    /**
-     * Extract metadata from test object
-     */
-    extractFromTest: function(test) {
-        var testMetadata = {};
-        // filter out metadata from other properties in test
-        for (var metaIndex = 0; metaIndex < this.metadataProperties.length;
-             metaIndex++) {
-            var meta = this.metadataProperties[metaIndex];
-            if (test.properties.hasOwnProperty(meta)) {
-                if ('author' == meta) {
-                    this.validateContact(test, meta);
-                }
-                testMetadata[meta] = test.properties[meta];
-            }
-        }
-        return testMetadata;
-    },
-    
-    /**
-     * Compare cached metadata to extracted metadata
-     */
-    validateCache: function() {
-        for (var testName in this.currentMetadata) {
-            if (! this.cachedMetadata.hasOwnProperty(testName)) {
-                return false;
-            }
-            var testMetadata = this.currentMetadata[testName];
-            var cachedTestMetadata = this.cachedMetadata[testName];
-            delete this.cachedMetadata[testName];
-            
-            for (var metaIndex = 0; metaIndex < this.metadataProperties.length;
-                 metaIndex++) {
-                var meta = this.metadataProperties[metaIndex];
-                if (cachedTestMetadata.hasOwnProperty(meta) && 
-                    testMetadata.hasOwnProperty(meta)) {
-                    if (Array.isArray(cachedTestMetadata[meta])) {
-                      if (! Array.isArray(testMetadata[meta])) {
-                          return false;
-                      }
-                      if (cachedTestMetadata[meta].length == 
-                          testMetadata[meta].length) {
-                          for (var index = 0; 
-                               index < cachedTestMetadata[meta].length; 
-                               index++) {
-                              if (cachedTestMetadata[meta][index] != 
-                                  testMetadata[meta][index]) {
-                                  return false;
-                              }
-                          }
-                      }
-                      else {
-                          return false;
-                      }
-                    }
-                    else {
-                      if (Array.isArray(testMetadata[meta])) {
-                        return false;
-                      }
-                      if (cachedTestMetadata[meta] != testMetadata[meta]) {
-                        return false;
-                      }
-                    }
-                }
-                else if (cachedTestMetadata.hasOwnProperty(meta) || 
-                         testMetadata.hasOwnProperty(meta)) {
-                    return false;
-                }
-            }
-        }
-        for (var testName in this.cachedMetadata) {
-            return false;
-        }
-        return true;
-    },
-  
-    appendText: function(elemement, text) {
-        elemement.appendChild(document.createTextNode(text));
-    },
-  
-    jsonifyArray: function(arrayValue, indent) {
-        var output = '[';
-
-        if (1 == arrayValue.length) {
-            output += JSON.stringify(arrayValue[0]);
-        }
-        else {
-            for (var index = 0; index < arrayValue.length; index++) {
-                if (0 < index) {
-                    output += ',\n  ' + indent;
-                }
-                output += JSON.stringify(arrayValue[index]);
-            }
-        }
-        output += ']';
-        return output;
-    },
-    
-    jsonifyObject: function(objectValue, indent) {
-        var output = '{';
-        
-        var count = 0;
-        for (var property in objectValue) {
-            ++count;
-            if (Array.isArray(objectValue[property]) || 
-                ('object' == typeof(value))) {
-                ++count;
-            }
-        }
-        if (1 == count) {
-            for (var property in objectValue) {
-                output += ' "' + property + '": '
-                          + JSON.stringify(objectValue[property])
-                          + ' ';
-            }
-        }
-        else {
-            var first = true;
-            for (var property in objectValue) {
-                if (! first) {
-                    output += ',';
-                }
-                first = false;
-                output += '\n  ' + indent + '"' + property + '": ';
-                var value = objectValue[property];
-                if (Array.isArray(value)) {
-                    output += this.jsonifyArray(value, indent + 
-                        '                '.substr(0, 5 + property.length));
-                }
-                else if ('object' == typeof(value)) {
-                    output += this.jsonifyObject(value, indent + '  ');
-                }
-                else {
-                    output += JSON.stringify(value);
-                }
-            }
-            if (1 < output.length) {
-                output += '\n' + indent;
-            }
-        }
-        output += '}';
-        return output;
-    },
-  
-    /**
-     * Generate javascript source code for captured metadata
-     * Metadata is in pretty-printed JSON format
-     */
-    generateSource: function() {
-        var source = 
-            '<script id="metadata_cache">/*\n' + 
-            this.jsonifyObject(this.currentMetadata, '') + '\n' + 
-            '*/</script>\n';
-        return source;
-    },
-    
-    /**
-     * Add element containing metadata source code
-     */
-    addSourceElement: function(event) {
-        var sourceWrapper = document.createElement('div');
-        sourceWrapper.setAttribute('id', 'metadata_source');
-
-        var instructions = document.createElement('p');
-        if (this.cachedMetadata) {
-            this.appendText(instructions, 
-                'Replace the existing <script id="metadata_cache"> element ' + 
-                'in the test\'s <head> with the following:');
-        }
-        else {
-            this.appendText(instructions, 
-                'Copy the following into the <head> element of the test ' +
-                'or the test\'s metadata sidecar file:');
-        }
-        sourceWrapper.appendChild(instructions);
-        
-        var sourceElement = document.createElement('pre');
-        this.appendText(sourceElement, this.generateSource());
-
-        sourceWrapper.appendChild(sourceElement);
-        
-        var messageElement = document.getElementById('metadata_issue');
-        messageElement.parentNode.insertBefore(sourceWrapper, 
-                                               messageElement.nextSibling);
-        messageElement.parentNode.removeChild(messageElement);
-
-        (event.preventDefault) ? event.preventDefault() : 
-                                 event.returnValue = false;
-    },
-    
-    /**
-     * Extract the metadata cache from the cache element if present
-     */
-    getCachedMetadata: function() {
-        var cacheElement = document.getElementById('metadata_cache');
-        
-        if (cacheElement) {
-            var cacheText = cacheElement.firstChild.nodeValue;
-            var openBrace = cacheText.indexOf('{');
-            var closeBrace = cacheText.lastIndexOf('}');
-            if ((-1 < openBrace) && (-1 < closeBrace)) {
-                cacheText = cacheText.slice(openBrace, closeBrace + 1);
-                try {
-                    this.cachedMetadata = JSON.parse(cacheText);
-                }
-                catch (exc) {
-                    this.cachedMetadata = 'Invalid JSON in Cached metadata. ';
-                }
-            }
-            else {
-                this.cachedMetadata = 'Metadata not found in cache element. ';
-            }
-        }
-    },
-    
-    /**
-     * Main entry point, extract metadata from tests, compare to cached version
-     * if present.
-     * If cache not present or differs from extrated metadata, generate an error
-     */
-    process: function(tests, harness_status) {
-        for (var index = 0; index < tests.length; index++) {
-            var test = tests[index];
-            if (this.currentMetadata.hasOwnProperty(test.name)) {
-                this.error('Duplicate test name: ' + test.name);
-            }
-            else {
-                this.currentMetadata[test.name] = this.extractFromTest(test);
-            }
-        }
-
-        this.getCachedMetadata();
-        
-        var message = null;
-        var messageClass = 'warning';
-        var showSource = false;
-        
-        if (0 == tests.length) {
-            if (this.cachedMetadata) {
-                message = 'Cached metadata present but no tests. ';
-            }
-        }
-        else if (1 == tests.length) {
-            if (this.cachedMetadata) {
-                message = 'Single test files should not have cached metadata. ';
-            }
-            else {
-                var testMetadata = this.currentMetadata[tests[0].name];
-                var hasMetadata = false;
-                for (var meta in testMetadata) {
-                    hasMetadata |= testMetadata.hasOwnProperty(meta);
-                }
-                if (hasMetadata) {
-                    message = 'Single tests should not have metadata. ' +
-                              'Move metadata to <head>. ';
-                }
-            }
-        }
-        else {
-            if (this.cachedMetadata) {
-                messageClass = 'error';
-                if ('string' == typeof(this.cachedMetadata)) {
-                    message = this.cachedMetadata;
-                    showSource = true;
-                }
-                else if (! this.validateCache()) {
-                    message = 'Cached metadata out of sync. ';
-                    showSource = true;
-                }
-            }
-        }
-        
-        if (message) {
-            var messageElement = document.createElement('p');
-            messageElement.setAttribute('id', 'metadata_issue');
-            messageElement.setAttribute('class', messageClass);
-            this.appendText(messageElement, message);
-            
-            if (showSource) {
-                var link = document.createElement('a');
-                this.appendText(link, 'Click for source code.');
-                link.setAttribute('href', '#');
-                link.setAttribute('onclick', 
-                                  'metadata_generator.addSourceElement(event)');
-                messageElement.appendChild(link);
-            }
-            
-            var summary = document.getElementById('summary');
-            if (summary) {
-                summary.parentNode.insertBefore(messageElement, summary);
-            }
-            else {
-                var log = document.getElementById('log');
-                if (log) {
-                    log.appendChild(messageElement);
-                }
-            }
-        }
-    },
-
-    setup: function() {
-        add_completion_callback(
-            function (tests, harness_status) { 
-                metadata_generator.process(tests, harness_status)
-            });
-    }
-}
-
-metadata_generator.setup();
-// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/unitcommon.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/resources/unitcommon.js
deleted file mode 100755 (executable)
index 31c63ae..0000000
+++ /dev/null
@@ -1,562 +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;
-            case 'double':
-                assert_equals(typeof (obj), 'number', description);
-                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/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl.js
deleted file mode 100755 (executable)
index 93744f6..0000000
+++ /dev/null
@@ -1,54 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(),
-        appControl;
-
-    assert_true("appControl" in reqAppControl, "RequestedApplicationControl should have appControl attribute");
-
-    appControl = reqAppControl.appControl;
-    assert_type(appControl, "object", "incorrect type of appControl");
-    assert_true("operation" in appControl, "ApplicationControl should have operation attribute");
-    assert_true("uri" in appControl, "ApplicationControl should have uri attribute");
-    assert_true("mime" in appControl, "ApplicationControl should have mime attribute");
-    assert_true("category" in appControl, "ApplicationControl should have category attribute");
-    assert_true("data" in appControl, "ApplicationControl should have data attribute");
-
-    reqAppControl.appControl = {
-        operation: "dummy",
-        uri: "dummy",
-        mime: "dummy",
-        category: "dummy",
-        data: []
-    };
-
-    assert_equals(reqAppControl.appControl.operation, appControl.operation, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.uri, appControl.uri, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.mime, appControl.mime, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.category, appControl.category, "appControl is not readonly");
-    if(appControl.data) {
-        assert_equals(reqAppControl.appControl.data.length, appControl.data.length, "appControl is not readonly");
-    } else {
-        assert_equals(reqAppControl.appControl.data, appControl.data, "appControl is not readonly");
-    }
-
-}, "Application_getRequestedAppControl");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl_extra_argument.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_getRequestedAppControl_extra_argument.js
deleted file mode 100755 (executable)
index 2e660dc..0000000
+++ /dev/null
@@ -1,57 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-*/
-
-test(function () {
-    var i, argumentsList = [null, undefined, "string", 1, false, ["one", "two"], {arg: 1}, function () {}],
-        reqAppControl, appControl;
-
-    for (i = 0; i < argumentsList.length; i++) {
-        reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(argumentsList[i]),
-        assert_true("appControl" in reqAppControl, "RequestedApplicationControl should have appControl attribute");
-
-        appControl = reqAppControl.appControl;
-        assert_type(appControl, "object", "incorrect type of appControl");
-        assert_true("operation" in appControl, "ApplicationControl should have operation attribute");
-        assert_true("uri" in appControl, "ApplicationControl should have uri attribute");
-        assert_true("mime" in appControl, "ApplicationControl should have mime attribute");
-        assert_true("category" in appControl, "ApplicationControl should have category attribute");
-        assert_true("data" in appControl, "ApplicationControl should have data attribute");
-
-        reqAppControl.appControl = new tizen.ApplicationControl(
-            "operation",
-            "uri",
-            "mime",
-            "category",
-            [ new tizen.ApplicationControlData("key", [ "value" ]) ]
-        );
-
-        assert_equals(reqAppControl.appControl.operation, appControl.operation, "appControl is not readonly");
-        assert_equals(reqAppControl.appControl.uri, appControl.uri, "appControl is not readonly");
-        assert_equals(reqAppControl.appControl.mime, appControl.mime, "appControl is not readonly");
-        assert_equals(reqAppControl.appControl.category, appControl.category, "appControl is not readonly");
-        if(appControl.data) {
-            assert_equals(reqAppControl.appControl.data.length, appControl.data.length, "appControl is not readonly");
-        } else {
-            assert_equals(reqAppControl.appControl.data, appControl.data, "appControl is not readonly");
-        }
-    }
-
-}, "Application_getRequestedAppControl_extra_argument");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide.js
deleted file mode 100755 (executable)
index f3fccf3..0000000
+++ /dev/null
@@ -1,28 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
-*/
-
-test(function () {
-    var retVal, currentApplication = tizen.application.getCurrentApplication();
-
-    retVal = currentApplication.hide();
-    assert_equals(retVal, undefined, "wrong returned value");
-
-}, "Application_hide");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide_extra_argument.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/Application_hide_extra_argument.js
deleted file mode 100755 (executable)
index d7f164a..0000000
+++ /dev/null
@@ -1,26 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var currentApplication = tizen.application.getCurrentApplication();
-
-    checkExtraArgument(currentApplication, "hide");
-
-}, "Application_hide_extra_argument");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_appControl_attribute.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_appControl_attribute.js
deleted file mode 100755 (executable)
index 517ced9..0000000
+++ /dev/null
@@ -1,53 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(),
-        appControl;
-
-    assert_true("appControl" in reqAppControl, "RequestedApplicationControl should have appControl attribute");
-
-    appControl = reqAppControl.appControl;
-    assert_type(appControl, "object", "incorrect type of appControl");
-    assert_true("operation" in appControl, "ApplicationControl should have operation attribute");
-    assert_true("uri" in appControl, "ApplicationControl should have uri attribute");
-    assert_true("mime" in appControl, "ApplicationControl should have mime attribute");
-    assert_true("category" in appControl, "ApplicationControl should have category attribute");
-    assert_true("data" in appControl, "ApplicationControl should have data attribute");
-
-    reqAppControl.appControl = {
-        operation: "dummy",
-        uri: "dummy",
-        mime: "dummy",
-        category: "dummy",
-        data: []
-    };
-
-    assert_equals(reqAppControl.appControl.operation, appControl.operation, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.uri, appControl.uri, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.mime, appControl.mime, "appControl is not readonly");
-    assert_equals(reqAppControl.appControl.category, appControl.category, "appControl is not readonly");
-    if(appControl.data) {
-        assert_equals(reqAppControl.appControl.data.length, appControl.data.length, "appControl is not readonly");
-    } else {
-        assert_equals(reqAppControl.appControl.data, appControl.data, "appControl is not readonly");
-    }
-
-}, "RequestedApplicationControl_appControl_attribute");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_callerAppId_attribute.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_callerAppId_attribute.js
deleted file mode 100755 (executable)
index 03fce65..0000000
+++ /dev/null
@@ -1,27 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-
-    assert_true("callerAppId" in reqAppControl, "RequestedApplicationControl should have callerAppId attribute");
-    check_readonly(reqAppControl, "callerAppId", reqAppControl.callerAppId, "string", "dummy");
-
-}, "RequestedApplicationControl_callerAppId_attribute");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_extend.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_extend.js
deleted file mode 100755 (executable)
index 5538511..0000000
+++ /dev/null
@@ -1,24 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-    check_extensibility(reqAppControl);
-}, "RequestedApplicationControl_extend");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyFailure_exist.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyFailure_exist.js
deleted file mode 100755 (executable)
index 7b948fc..0000000
+++ /dev/null
@@ -1,24 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-    check_method_exists(reqAppControl, "replyFailure");
-}, "RequestedApplicationControl_replyFailure_exist");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_data_TypeMismatch.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_data_TypeMismatch.js
deleted file mode 100755 (executable)
index 3890d8e..0000000
+++ /dev/null
@@ -1,36 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl(),
-        conversionTable, exceptionName, i, data;
-
-    conversionTable = getTypeConversionExceptions("array", true);
-
-    for(i = 0; i < conversionTable.length; i++) {
-        data = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-
-        assert_throws({name: exceptionName},
-            function () {
-                reqAppControl.replyResult(data);
-            }, exceptionName + " should be thrown.");
-    }
-}, "RequestedApplicationControl_replyResult_data_TypeMismatch");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_exist.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControl/tests/RequestedApplicationControl_replyResult_exist.js
deleted file mode 100755 (executable)
index 3185926..0000000
+++ /dev/null
@@ -1,28 +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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-
-*/
-
-test(function () {
-    var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
-
-    assert_true("replyResult" in reqAppControl, "reqAppControl should have replyResult method");
-    assert_type(reqAppControl.replyResult, "function", "incorrect type of replyResult");
-
-    check_method_exists(reqAppControl, "replyResult");
-}, "RequestedApplicationControl_replyResult_exist");
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/appcontrol_launch_explicit.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/appcontrol_launch_explicit.html
deleted file mode 100755 (executable)
index 3f4c042..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-<meta name="description" content="tct-application-tizen-tests"/>
-
-<title>TCTAppControlMock</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body>
-<header>
-    <hgroup>
-      <h1>TCTAppControlMock</h1>
-      <h2>appcontrol_launch_explicit.html</h2>
-    </hgroup>
-</header>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/config.xml b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/config.xml
deleted file mode 100755 (executable)
index 8471334..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppControlMock" version="1.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:app-control>
-        <tizen:src name="appcontrol_launch_explicit.html"/>
-        <tizen:operation name="http://tizen.org/appcontrol/operation/tct/launch/explicit"/>
-        <tizen:uri name="tct"/>
-        <tizen:mime name="text/html"/>
-    </tizen:app-control>
-    <tizen:application id="api1appli2.TCTAppControlMock" package="api1appli2" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppControlMock</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/css/style.css b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/icon.png and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/index.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/index.html
deleted file mode 100755 (executable)
index 754cbcc..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppControlMock</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-    <script src="js/main.js"></script>
-</head>
-
-<body bgcolor="FFFFFF"  onload="init()">
-  <header>
-    <hgroup>
-      <h1>TCTAppControlMock</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/js/main.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/js/main.js
deleted file mode 100755 (executable)
index 5126963..0000000
+++ /dev/null
@@ -1,28 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-var init = function () {
-    console.log("init() called");
-};
-
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/manifest.json b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppControlMock/manifest.json
deleted file mode 100755 (executable)
index ca18cb2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppControlMock", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppControlMock", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/config.xml b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/config.xml
deleted file mode 100755 (executable)
index b955098..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppInfoEventTest" version="1.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:application id="api1appli3.TCTAppInfoEventTest" package="api1appli3" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppInfoEventTest1</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/css/style.css b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/icon.png and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/index.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/index.html
deleted file mode 100755 (executable)
index 308edf6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppInfoEventTest</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body bgcolor="FFFFFF" >
-  <header>
-    <hgroup>
-      <h1>TCTAppInfoEventTest</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/manifest.json b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest1/manifest.json
deleted file mode 100755 (executable)
index 09f2aa7..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppInfoEventTest1", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppInfoEventTest1", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/config.xml b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/config.xml
deleted file mode 100755 (executable)
index aba5347..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/TCTAppInfoEventTest" version="2.0.0" viewmodes="maximized">
-    <access origin="*" subdomains="true"/>
-    <tizen:application id="api1appli3.TCTAppInfoEventTest" package="api1appli3" required_version="2.4"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTAppInfoEventTest2</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/css/style.css b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/css/style.css
deleted file mode 100755 (executable)
index 63e4bfb..0000000
+++ /dev/null
@@ -1,99 +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:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
-*/
-
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/icon.png and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/index.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/index.html
deleted file mode 100755 (executable)
index 308edf6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-            Junghyuk Park <junghyuk.park@samsung.com>
-
-
--->
-
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="tct-application-tizen-tests"/>
-
-    <title>TCTAppInfoEventTest</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-</head>
-
-<body bgcolor="FFFFFF" >
-  <header>
-    <hgroup>
-      <h1>TCTAppInfoEventTest</h1>
-      <h2>index.html</h2>
-    </hgroup>
-  </header>
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/manifest.json b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTAppInfoEventTest2/manifest.json
deleted file mode 100755 (executable)
index bab21b0..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTAppInfoEventTest2", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTAppInfoEventTest2", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/config.xml b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/config.xml
deleted file mode 100755 (executable)
index 2a69e8b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/TCTbroadcastApp" version="1.0.0" viewmodes="maximized">
-    <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*" subdomains="true"/>
-    <tizen:application id="api1appli4.TCTbroadcastApp" package="api1appli4" required_version="2.3"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>TCTbroadcastApp</name>
-    <tizen:setting screen-orientation="landscape" background-support="enable"/>
-</widget>
-
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/css/style.css b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/icon.png and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/images/tizen_32.png and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/index.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/index.html
deleted file mode 100755 (executable)
index 678400c..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
-
-    <title>Tizen Web IDE - Tizen - Tizen basic Application</title>
-
-    <link rel="stylesheet" type="text/css" href="css/style.css"/>
-    <script src="js/main.js"></script>
-</head>
-
-<body>
-  <header>
-    <hgroup>
-      <h1>Tizen app</h1>
-      <h2>An broadcast sender tizen app</h2>
-    </hgroup>
-  </header>
-
-  <nav>
-    <ul>
-       <li><a href="#">Home</a></li>
-       <li><a href="#">About Us</a></li>
-       <li><a href="#">Contact Us</a></li>
-    </ul>
-  </nav>
-
-  <article>
-    <header>
-      <h1>
-        <img src="images/tizen_32.png" width="32"/> Application Name
-      </h1>
-    </header>
-    <p>This is an Tizen Web Application</p>
-    <ul>
-      <li>smartphones, tablets and smart TVs
-      <li>netbooks, in-vehicle infotainment devices
-    </ul>
-    <section>
-      <p>This is a broadcast app for TCT suit.</p>
-      <p>The following button to send a broadcast to test case</p>
-      <div id="divbutton1">
-        <button onclick="sendBroadcast();">Send</button>
-      </div>
-    </section>
-  </article>
-
-  <footer>
-    <p>&copy; 2015 Samsung Company. All rights reserved.</p>
-  </footer>    
-</body>
-</html>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/js/main.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/js/main.js
deleted file mode 100755 (executable)
index ee8520f..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-var startTime;
-var checkTime;
-var myCustomData = {type: 'bar', value: 'val'};
-//Initialize function
-var init = function () {
-       // TODO:: Do your initialization job
-       console.log("init() called");
-
-       // add eventListener for tizenhwkey
-       document.addEventListener('tizenhwkey', function(e) {
-               if(e.keyName == "back") {
-                       try {
-                               tizen.application.getCurrentApplication().exit();
-                       } catch (error) {
-                               console.error("getCurrentApplication(): " + error.message);
-                       }
-               }
-       });
-       sendBroadcaset();
-};
-// window.onload can work without <body onload="">
-window.onload = init;
-
-function sendBroadcaset() {
-        var app = tizen.application.getCurrentApplication();
-        app.broadcastEvent({"appId": app.appInfo.id, "name": "broadcast_event"}, myCustomData);
-        tizen.application.getCurrentApplication().exit();
-}
-
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/manifest.json b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/TCTbroadcastApp/manifest.json
deleted file mode 100755 (executable)
index 5d5d296..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-    "app": {
-        "launch": {
-            "local_path": "index.html"
-        }
-    }, 
-    "description": "TCTbroadcastApp", 
-    "file_name": "manifest.json", 
-    "icons": {
-        "128": "icon.png"
-    }, 
-    "name": "TCTbroadcastApp", 
-    "permissions": [
-        "tabs", 
-        "unlimited_storage", 
-        "notifications", 
-        "http://*/*", 
-        "https://*/*"
-    ], 
-    "version": "3.0", 
-    "webapimanager": true
-}
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/app_common.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/app_common.js
deleted file mode 100755 (executable)
index 657f546..0000000
+++ /dev/null
@@ -1,224 +0,0 @@
-/*
-Copyright (c) 2014 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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Mariusz Polasinski <m.polasinski@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-
-*/
-
-
-var METADATA_KEY = "testKey";
-var METADATA_VALUE = "testValue";
-var TCT_APPCONTROL_APPID_METADATA = {
-    testKey1: "testValue1",
-    testKey2: "testValue2"
-}
-
-var THIS_APP_ID = "api1appli0.WebAPITizenApplicationTests";
-var INVALID_APP_ID = "api1appli0.WebAPITizenApplicationTestsInvalid";
-var APP_INFO_TEST_APP_ID = "api1appli3.TCTAppInfoEventTest";
-var APP_BROAD_TEST_APP_ID = "api1appli4.TCTbroadcastApp";
-
-var APP_BROAD_TEST_EVENT_NAME = "broadcast_event";
-var APP_BROAD_TEST_APP_NAME = "TCTbroadcastApp";
-
-var TCT_APPCONTROL_APPID = "api1appli1.TCTAppControl";
-var TCT_APPCONTROL_MOCK_APPID = "api1appli2.TCTAppControlMock";
-
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION = "http://tizen.org/appcontrol/operation/tct/launch";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_URI = "tct://launch_appcontrol.html";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME = "text/html";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME_INVALID = "invalid/invalid";
-
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_OPERATION = "http://tizen.org/appcontrol/operation/tct/launch/explicit";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_URI = "tct://launch_appcontrol.html";
-var TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_MIME = "text/html";
-
-var TCT_APPCONTROL_REPLY_RESULT_OPERATION = "http://tizen.org/appcontrol/operation/tct/reply_result";
-var TCT_APPCONTROL_REPLY_RESULT_WITH_DATA_OPERATION = "http://tizen.org/appcontrol/operation/tct/reply_result/data";
-var TCT_APPCONTROL_REPLY_FAILURE_OPERATION = "http://tizen.org/appcontrol/operation/tct/reply_failure";
-
-var TCT_APPCONTROL_RUN_TEST_OPERATION = "http://tizen.org/appcontrol/operation/tct/run_test";
-var TCT_APPCONTROL_RUN_TEST_URI_PREFIX = "tct://";
-var TCT_APPCONTROL_RUN_TEST_MIME = "application/javascript";
-
-var TCT_APPCONTROL_EXIT_OPERATION = "http://tizen.org/appcontrol/operation/tct/exit";
-
-var TYPE_MISMATCH_ERR = {name: 'TypeMismatchError'};
-
-var TIMEOUT_AUTO_TEST = 30000;
-
-var TCT_WGT_LOCATION = "/opt/usr/home/owner/share/tct/opt/tct-deprecatedapi-tizen-tests/mediasrc/";
-var TCT_APPINFOEVENT1_PKG_NAME = "api1appli3";
-var TCT_TCTAPPINFOEVENTTEST1_NAME = "TCTAppInfoEventTest1.wgt";
-var TCT_TCTAPPINFOEVENTTEST2_NAME = "TCTAppInfoEventTest2.wgt";
-
-setup({timeout: TIMEOUT_AUTO_TEST});
-
-/**
- * Function runs test in other application (TCTAppControl) and receives
- * the results.
- *
- * @param testName name of the test
- */
-function runTestAtTCTAppControl(testName) {
-    var t = async_test(testName, { timeout: TIMEOUT_AUTO_TEST }),
-    appControl, onreply, onerror, data;
-
-    setup_launch(t, TCT_APPCONTROL_APPID, function () {
-        appControl = new tizen.ApplicationControl(
-                        TCT_APPCONTROL_RUN_TEST_OPERATION,
-                        TCT_APPCONTROL_RUN_TEST_URI_PREFIX+testName,
-                        TCT_APPCONTROL_RUN_TEST_MIME);
-
-        onreply = {
-            onsuccess: t.step_func(function (dataArray) {
-                assert_true(dataArray.length == 2, "Unexpected dataArray");
-
-                for (data in dataArray) {
-                    if (dataArray[data].key === "status") {
-                        t.status = parseInt(dataArray[data].value[0]);
-                    } else if (dataArray[data].key === "message") {
-                        t.message = dataArray[data].value[0];
-                    } else {
-                        assert_unreached("Unexpected key in data");
-                        return;
-                    }
-                }
-
-                t.done();
-            }),
-            onfailure: t.step_func(function () {
-                assert_unreached("Unexpected onfailure");
-            })
-        };
-
-        onerror = t.step_func(function (error) {
-            assert_unreached("launchAppControl failure: " + error.message);
-        });
-
-        tizen.application.launchAppControl(appControl, null, null, onerror, onreply);
-    });
-}
-
-function setup_launch(t, appId, onready) {
-    t.step(function() {
-        onready = t.step_func(onready);
-      
-        tizen.application.getAppsContext(
-            t.step_func(function (contexts) {
-                for (var i in contexts) {
-                    if (contexts[i].appId === appId) {
-                        tizen.application.kill(contexts[i].id, onready, onready);
-                        return;
-                    }
-                }
-                onready();
-            }),
-            t.step_func(function (error) {
-                assert_unreached("setup_launch fails: " + error.name + " with message: " + error.message);
-            })
-        );  
-    });
-}
-
-function assert_launch(t, appId, onsuccess) {
-    var intervalId = setInterval(t.step_func(function() {
-        tizen.application.getAppsContext(
-            t.step_func(function (contexts) {
-                for (var i in contexts) {
-                    if (contexts[i].appId === appId) {
-                        clearInterval(intervalId);
-                        t.step_func(onsuccess)(contexts[i]);
-                        return;
-                    }
-                }
-            }),
-            t.step_func(function (error) {
-                assert_unreached("assert_launch fails: " + error.name + " with message: " + error.message);
-            })
-        );
-    }), 5000);
-}
-
-function assert_not_launch(t, appId, onsuccess) {
-    tizen.application.getAppsContext(
-        t.step_func(function (contexts) {
-            for (var i in contexts) {
-                if (contexts[i].appId === appId) {
-                    assert_unreached("assert_not_launch fails: "+appId+" has launched");
-                    return;
-                }
-            }
-            t.step_func(onsuccess)();
-        }),
-        t.step_func(function (error) {
-            assert_unreached("assert_not_launch fails: " + error.name + " with message: " + error.message);
-        })
-    );
-}
-
-function assert_kill(t, appId, onsuccess) {
-    var intervalId = setInterval(t.step_func(function() {
-        tizen.application.getAppsContext(
-            t.step_func(function (contexts) {
-                for (var i in contexts) {
-                    if (contexts[i].appId === appId) {
-                        return;
-                    }
-                }
-                clearInterval(intervalId);
-                t.step_func(onsuccess)();
-            }),
-            t.step_func(function (error) {
-                assert_unreached("assert_kill fails: " + error.name + " with message: " + error.message);
-            })
-        );
-    }), 1000);
-}
-
-function assert_not_kill(t, appId, onsuccess) {
-    tizen.application.getAppsContext(
-        t.step_func(function (contexts) {
-            for (var i in contexts) {
-                if (contexts[i].appId === appId) {
-                    t.step_func(onsuccess)();
-                    return;
-                }
-            }
-            assert_unreached("assert_not_kill fails: " + appId + " is not found");
-        }),
-        t.step_func(function (error) {
-            assert_unreached("assert_not_kill fails: " + error.name + " with message: " + error.message);
-        })
-    );
-}
-
-function assert_exit(t, appId, onsuccess) {
-    assert_kill(t, appId, onsuccess);
-}
-
-function installApplicationCommand(appName, path) {
-    path = path.slice(-1) == "/" ? path : path + "/";
-    return "pkgcmd -i -t wgt -q -p" + path + appName;
-}
-
-function uninstallApplicationCommand(appName) {
-    return "pkgcmd -u -n" + appName;
-}
-
-document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/content_common.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/content_common.js
deleted file mode 100755 (executable)
index c29930d..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-/*
-
-Copyright (c) 2014 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:
-        Krzysztof Lachacz <k.lachacz@samsung.com>
-        Junghyuk Park <junghyuk.park@samsung.com>
-        Xiaoyan Qian <xy.qian@samsung.com>
-*/
-
-var TIMEOUT_ASYNC_TEST = 30000;
-setup({timeout: TIMEOUT_ASYNC_TEST});
-
-var TEST_CONTENT_PATH = "";
-var CONTENT_PATH = "";
-document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
-document.write('<script src="support/getJsonConf.js"></script>');
-var TEST_CONTENT_IMAGES = [
-    "tct-content-tizen-tests_image_default.jpg",
-    "tct-content-tizen-tests_image_geolocation.jpg",
-    "tct-content-tizen-tests_image_orientation_1.jpg",
-    "tct-content-tizen-tests_image_orientation_2.jpg",
-    "tct-content-tizen-tests_image_orientation_3.jpg",
-    "tct-content-tizen-tests_image_orientation_4.jpg",
-    "tct-content-tizen-tests_image_orientation_5.jpg",
-    "tct-content-tizen-tests_image_orientation_6.jpg",
-    "tct-content-tizen-tests_image_orientation_7.jpg",
-    "tct-content-tizen-tests_image_orientation_8.jpg"
-]
-
-var TEST_CONTENT_AUDIOS = [
-    "tct-content-tizen-tests_audio_default.mp3",
-    "tct-content-tizen-tests_audio_lyrics.mp3",
-    "tct-content-tizen-tests_audio_no_tag.mp3"
-]
-
-var TEST_CONTENT_VIDEOS = [
-    "tct-content-tizen-tests_video.mp4",
-    "tct-content-tizen-tests_video_tagged.mp4"
-]
-
-function setup_contents(async_test, onscaned) {
-    var contents = [];
-    contents = contents.concat(TEST_CONTENT_IMAGES);
-    contents = contents.concat(TEST_CONTENT_AUDIOS);
-    contents = contents.concat(TEST_CONTENT_VIDEOS);
-
-    function scanFiles(files, oncompleted) {
-        var file = files.shift();
-
-        tizen.content.scanFile(
-            "file://"+CONTENT_PATH+file,
-            async_test.step_func(function (content) {
-                if (files.length) {
-                    scanFiles(files, oncompleted);
-                } else {
-                    oncompleted();
-                }
-            }),
-            async_test.step_func(function (error) {
-                assert_unreached("setup_contents fails: " + error.name + " with message: " + error.message);
-            })
-        );
-    }
-
-    scanFiles(contents, onscaned);
-}
-
-function check_content_object(content) {
-    assert_type(content.editableAttributes, "array", "editableAttributes should be an array");
-    assert_type(content.id, "string", "id should be a string");
-    assert_type(content.name, "string", "name shoud be a string");
-    assert_type(content.type, "string", "type should be a string");
-    assert_type(content.mimeType, "string", "mimeType should be a string");
-    assert_type(content.title, "string", "title should be a string");
-    assert_type(content.contentURI, "string", "contentURI should be a string");
-    assert_type(content.size, "number", "size should be a number");
-    assert_type(content.rating, "number", "rating should be a number");
-    if(content.thumbnailURIs !== null) {
-        assert_type(content.thumbnailURIs, "array", "thumbnailURIs should be an array");
-    }
-    if(content.releaseDate !== null) {
-        assert_type(content.releaseDate, "date", "releaseDate should be a date");
-    }
-    if(content.modifiedDate !== null) {
-        assert_type(content.modifiedDate, "date", "modifiedDate should be a date");
-    }
-    if(content.description !== null) {
-        assert_type(content.description, "string", "description should be a string");
-    }
-}
-
-function prepare_file_for_scan(addedImagePath, onCopySuccess) {
-    var onCopyError = t.step_func(function (error) {
-        assert_unreached("Failed to copy a file to " + addedImagePath + " with message: " + error.message);
-    });
-
-    var copyContentFile = t.step_func(function () {
-        tizen.filesystem.resolve(
-            "file://" + CONTENT_PATH,
-            function (contentDirectory){
-                contentDirectory.copyTo(CONTENT_PATH + TEST_CONTENT_IMAGES[0], addedImagePath, true, onCopySuccess, onCopyError);
-            },
-            function (error) {
-                assert_unreached("Failed to resolve a directory: " + error.message);
-            },
-            "r"
-        );
-    });
-
-    var onDeleteSuccess = t.step_func(function () {
-        tizen.content.scanFile("file://" + addedImagePath, function (){
-            copyContentFile();
-        });
-    });
-
-    var onDeleteError = t.step_func(function () {
-        copyContentFile();
-    });
-
-    tizen.filesystem.resolve(
-        "file://" + TEST_CONTENT_PATH,
-        function (directory){
-            var sharedDirectory = directory;
-            sharedDirectory.deleteFile(addedImagePath, onDeleteSuccess, onDeleteError);
-        },
-        function (error) {
-            assert_unreached("Failed to resolve a directory: " + error.message);
-        },
-        "rw"
-    );
-}
-
-function randomString(len) {
-    len = len || 32;
-    var $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
-    var maxPos = $chars.length;
-    var pwd = '';
-    var i;
-    for (i = 0; i < len; i++) {
-        pwd += $chars.charAt(Math.floor(Math.random() * maxPos));
-    }
-    return pwd;
-}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/filesystem_common.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/filesystem_common.js
new file mode 100755 (executable)
index 0000000..e833de4
--- /dev/null
@@ -0,0 +1,201 @@
+/*
+
+Copyright (c) 2014 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:
+
+
+
+*/
+
+var TEST_ROOT_LOCATION = "downloads";
+
+var FILE_AND_DIR_NAME_PREFIX = "tizen_WebAPI_test_";
+var UNKNOWN_ERR              = "UnknownError";
+var TYPE_MISMATCH_ERR        = "TypeMismatchError";
+var IO_ERR                   = "IOError";
+var INVALID_VALUES_ERR       = "InvalidValuesError";
+var SECURITY_ERR             = "SecurityError";
+var NOT_FOUND_ERR            = "NotFoundError";
+
+var globalCounter = 1;
+
+var CONTENT_DIR = "";
+document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
+document.write('<script src="support/getJsonConf.js"></script>');
+
+function isFileObject(obj) {
+    return true;
+}
+
+function isFile(obj) {
+    return (isFileObject(obj) && !obj.isDirectory);
+}
+
+function isDir(obj) {
+    return (isFileObject(obj) && obj.isDirectory);
+}
+
+function isFilestream(obj) {
+    return true;
+}
+
+function deleteDirectory(parent, dir) {
+    function onError(err) {
+        assert_false("deleteDirectory() [" + err.name + "]", "directory wasn't deleted");
+    }
+
+    function onSuccess() {
+    }
+    parent.deleteDirectory(dir.fullPath, true, onSuccess, onError);
+}
+
+function deleteFile(parent, file) {
+    function onError(err) {
+        assert_false("deleteFile [" + err.name + "]", "file wasn't deleted");
+    }
+
+    function onSuccess() {
+    }
+    parent.deleteFile(file.fullPath, onSuccess, onError);
+}
+
+function resolve_root_location(handler) {
+    function on_resolve_error(err) {
+        assert_false("resolve error: [" + err.name + "]", "error during resolving the root location");
+    }
+
+    function on_resolve_success(file) {
+        assert_true(isFileObject(file), "resolve()");
+        handler(file);
+    }
+    tizen.filesystem.resolve(TEST_ROOT_LOCATION, on_resolve_success, on_resolve_error);
+}
+
+function getFileName(fileName) {
+    return FILE_AND_DIR_NAME_PREFIX + "_" + fileName;
+}
+
+function getDirName(dirName) {
+    return FILE_AND_DIR_NAME_PREFIX + "_" + dirName;
+}
+
+function createFileForParent(parent) {
+    var result = parent.createFile(getFileName());
+    assert_true(isFile(result), "createFile");
+    return result;
+}
+
+function createDirForParent(parent) {
+    var result = parent.createDirectory(getDirName());
+    assert_true(isDir(result), "createDirectory()");
+    return result;
+}
+
+function deleteFileAndDone(test, file) {
+    if(file === undefined) {
+        throw new Error("deleteFileAndDone: file is undefined");
+    }
+    if(file.parent === null){
+        throw new Error("deleteFileAndDone: parent directory is null");
+    }
+    file.parent.deleteFile(file.fullPath,
+        test.step_func(function() {
+            test.done();
+        }),
+        test.step_func(function(err) {
+            assert_unreached("deleteFileAndDone: delete onError " + err.message);
+        }));
+}
+
+function prepareForTesting(test, successCallback) {
+    var i, j, toRemoveCounter = 0, dirCounter = 0, deleteSuccess, deleteError, filesToRemove = 0,
+        resolveSuccess, resolveError, listFilesSuccess, listFilesError,
+        filterRegExp = new RegExp("^" + FILE_AND_DIR_NAME_PREFIX),
+        rootDirectories = ["documents", "images", "music", "videos", "downloads", "camera"];
+
+    deleteError = test.step_func(function (error) {
+        assert_unreached("delete() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    deleteSuccess = test.step_func(function () {
+        filesToRemove--;
+        toRemoveCounter--;
+        if ((dirCounter === rootDirectories.length) && (toRemoveCounter === 0) && (filesToRemove === 0)) {
+            test.step_func(successCallback)();
+        }
+    });
+
+    listFilesSuccess = test.step_func(function (files) {
+        dirCounter++;
+        filesToRemove += files.length;
+        for (j = 0; j < files.length; j++) {
+            if (files[j].name.search(filterRegExp) > -1) {
+                toRemoveCounter++;
+                if (files[j].isDirectory) {
+                    files[j].parent.deleteDirectory(files[j].fullPath, true, deleteSuccess, deleteError);
+                } else {
+                    files[j].parent.deleteFile(files[j].fullPath, deleteSuccess, deleteError);
+                }
+            } else {
+                filesToRemove--;
+            }
+        }
+        if ((dirCounter === rootDirectories.length) && (toRemoveCounter === 0) && (filesToRemove === 0)) {
+            test.step_func(successCallback)();
+        }
+    });
+
+    listFilesError = test.step_func(function (error) {
+        assert_unreached("listFiles() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = test.step_func(function (dir) {
+        dir.listFiles(listFilesSuccess, listFilesError);
+    });
+
+    resolveError = test.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    for (i =0; i < rootDirectories.length; i++) {
+        tizen.filesystem.resolve(rootDirectories[i], resolveSuccess, resolveError, "rw");
+    }
+}
+
+function checkOwnProperties(fileHandle) {
+    var i, len, fileProperties = ["parent", "readOnly", "isFile", "isDirectory", "created", "modified", "path",
+                                  "name", "fullPath", "fileSize", "length"];
+    for (i = 0, len = fileProperties.length; i < len; i++) {
+        assert_own_property(fileHandle, fileProperties[i], "object does not have its own " + fileProperties[i] + " property");
+    }
+}
+
+function getTypeStringExceptions(conversionType, isOptional) {
+    var exceptionName = "InvalidValuesError",
+        conversionTable;
+    switch (conversionType) {
+        case "string":
+            conversionTable = [
+                [undefined, exceptionName]
+            ];
+            break;
+        default:
+            assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+    };
+    return conversionTable;
+}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/notification_common.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/notification_common.js
new file mode 100755 (executable)
index 0000000..78cf64b
--- /dev/null
@@ -0,0 +1,158 @@
+/*
+Copyright (c) 2012 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ * Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+
+
+ */
+
+document.write("<script language=\"javascript\" src=\"..\/resources\/testharness.js\"><\/script>");
+document.write("<script language=\"javascript\" src=\"..\/resources\/testharnessreport.js\"><\/script>");
+
+var applicationControl, notificationDict, statusNotification, titleToSet = "Title",
+    contentToSet = "This is a content notificaiton.",
+    iconPathToSet = "images/webapi-tizen-notification-test_image1.jpg",
+    iconPathToSet2 = "images/webapi-tizen-notification-test_image2.jpg",
+    soundPathToSet = "music/webapi-tizen-notification-test_noise1.mp3",
+    soundPathToSet2 = "music/webapi-tizen-notification-test_noise2.mp3",
+    subIconPathToSet = "images/webapi-tizen-notification-test_subIcon1.jpg",
+    subIconPathToSet2 = "images/webapi-tizen-notification-test_subIcon2.jpg",
+    backgroundImagePathToSet = "images/webapi-tizen-notification-test_background1.jpg",
+    backgroundImagePathToSet2 = "images/webapi-tizen-notification-test_background2.jpg",
+    thumbnailToSet = "images/webapi-tizen-notification-test_thumbnail1.jpg",
+    thumbnailToSet2 = "images/webapi-tizen-notification-test_thumbnail2.jpg",
+    thumbnailToSet3 = "images/webapi-tizen-notification-test_thumbnail3.jpg",
+    thumbnailToSet4 = "images/webapi-tizen-notification-test_thumbnail4.jpg",
+    thumbnailToSet5 = "images/webapi-tizen-notification-test_thumbnail5.jpg",
+    thumbnailToSet6 = "images/webapi-tizen-notification-test_thumbnail6.jpg",
+    thumbnailToSet7 = "images/webapi-tizen-notification-test_thumbnail7.jpg",
+    thumbnailToSet8 = "images/webapi-tizen-notification-test_thumbnail8.jpg",
+    thumbnailToSet9 = "images/webapi-tizen-notification-test_thumbnail9.jpg",
+    thumbnailToSet10 = "images/webapi-tizen-notification-test_thumbnail10.jpg",
+    vibrationToSet = true,
+    appIdToSet = tizen.application.getAppInfo().id, progressValueToSet = 77, numberToSet = 8,
+    detailInfoToSet = [
+        new tizen.NotificationDetailInfo("mainText1", "subText1"),
+        new tizen.NotificationDetailInfo("mainText2", "subText2")
+    ],
+    thumbnailsToSet = [
+        thumbnailToSet, thumbnailToSet2, thumbnailToSet3, thumbnailToSet4
+    ];
+
+applicationControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
+        null, "image/jpg", null);
+
+notificationDict = {
+    content : contentToSet,
+    iconPath : iconPathToSet,
+    soundPath : soundPathToSet,
+    vibration : vibrationToSet,
+    appControl : applicationControl,
+    appId : appIdToSet,
+    progressValue : progressValueToSet,
+    number: numberToSet,
+    subIconPath: subIconPathToSet,
+    detailInfo: detailInfoToSet,
+    backgroundImagePath: backgroundImagePathToSet,
+    thumbnails: thumbnailsToSet
+};
+
+
+function test_func_property_exist(_object, _func_property_name, _desc) {
+    var object = _object;
+    var func_property_name = _func_property_name;
+    var desc = _desc;
+    try {
+        test(function() {
+            assert_true(func_property_name in object);
+        }, desc);
+    } catch (err) {
+        test(function() {
+            assert_true(false, "Exception - message: " + err.message);
+        }, desc);
+    }
+}
+
+function create_notification() {
+    var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/create_content",
+            null, "image/jpg", null);
+
+    var notificationDict = {
+        content : "This is a progress notificaiton.",
+        iconPath : "images/webapi-tizen-notification-test_image1.jpg",
+        soundPath : "music/webapi-tizen-notification-test_noise1.mp3",
+        vibration : true,
+        appControl : appControl,
+        progressValue : 20
+    };
+    return new tizen.StatusNotification("PROGRESS", "Progress notification",
+            notificationDict);
+}
+
+function testStatusNotificationConstructor(statusNotificationType, progessTypeToSet) {
+    var i;
+    notificationDict["progressType"] = progessTypeToSet;
+    statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+
+    assert_true(statusNotification instanceof tizen.StatusNotification, "Created object is not of proper interface.");
+
+    check_readonly(statusNotification, "postedTime", undefined, 'undefined', new Date());
+    assert_equals(statusNotification.title, titleToSet, "title attribute.");
+    assert_equals(statusNotification.content, contentToSet, "content attribute.");
+    assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
+    assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath attribute.");
+    assert_equals(statusNotification.subIconPath, subIconPathToSet, "subIconPath attribute.");
+
+    assert_equals(statusNotification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+    for (i = 0; i < detailInfoToSet.length; i++) {
+        assert_equals(statusNotification.detailInfo[i].mainText, detailInfoToSet[i].mainText, "detailInfo.mainText attribute for index = " + i + ".");
+        assert_equals(statusNotification.detailInfo[i].subText, detailInfoToSet[i].subText, "detailInfo.subText attribute for index = " + i + ".");
+    }
+    assert_own_property(statusNotification, "ledColor", "statusNotification");
+    assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
+    assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
+
+    assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath attribute.");
+    assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath attribute.");
+    assert_equals(statusNotification.vibration, vibrationToSet, "vibration attribute.");
+    assert_equals(statusNotification.number, numberToSet, "number attribute.");
+
+    assert_equals(statusNotification.appControl.uri, applicationControl.uri, "appControl.uri attribute.");
+    assert_equals(statusNotification.appControl.mime, applicationControl.mime, "appControl.mime attribute.");
+    assert_equals(statusNotification.appControl.category, applicationControl.category,
+            "appControl.category attribute.");
+    assert_array_equals(statusNotification.appControl.data, applicationControl.data,
+            "appControl.data attribute.");
+    assert_equals(statusNotification.appControl.operation, applicationControl.operation,
+            "appControl.operation attribute.");
+
+    check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
+    assert_equals(statusNotification.appId, appIdToSet, "appId attribute.");
+    assert_equals(statusNotification.progressType, progessTypeToSet, "progressType attribute.");
+    assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
+    check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
+    assert_array_equals(statusNotification.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/power_common.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/power_common.js
deleted file mode 100755 (executable)
index 5234d13..0000000
+++ /dev/null
@@ -1,29 +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:
-
-*/
-
-var TYPE_MISMATCH_ERR = 'TypeMismatchError';
-var INVALID_VALUES_ERR = 'InvalidValuesError';
-var NOT_SUPPORTED_ERR = 'NotSupportedError';
-var NOT_FOUND_ERR = 'NotFoundError';
-
-var PowerScreenStates = [ "SCREEN_OFF", "SCREEN_DIM", "SCREEN_NORMAL" ];
-
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/push_common.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/push_common.js
deleted file mode 100644 (file)
index 284f85c..0000000
+++ /dev/null
@@ -1,23 +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.
-
-
-
-*/
-
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharness.js\"><\/script>");
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharnessreport.js\"><\/script>");
-
-var service = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_test");
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/systeminfo_common.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/systeminfo_common.js
deleted file mode 100755 (executable)
index 832322b..0000000
+++ /dev/null
@@ -1,71 +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.
-
-
- */
-
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharness.js\"><\/script>");
-document.write("<script language=\"javascript\" src=\"..\/resources\/testharnessreport.js\"><\/script>");
-
-var attribute = "";
-var status_value = "";
-var isRoaming = false;
-
-var SYSTEM_INFO_NETWORK_TYPE = ["NONE", "2G", "2.5G", "3G", "4G", "WIFI", "ETHERNET", "NET_PROXY", "UNKNOWN"];
-var SystemInfoDeviceCapability = ["bluetooth", "nfc", "nfcReservedPush", "multiTouchCount", "inputKeyboard", "inputKeyboardLayout", "wifi", "wifiDirect", "opengles", "openglestextureFormat", "openglesVersion1_1", "openglesVersion2_0", "fmRadio", "platformVersion", "webApiVersion", "nativeApiVersion", "platformName", "camera", "cameraFront", "cameraFrontFlash", "cameraBack", "cameraBackFlash", "location", "locationGps", "locationWps", "microphone", "usbHost", "usbAccessory", "screenOutputRca", "screenOutputHdmi", "platformCoreCpuArch", "platformCoreFpuArch", "sipVoip", "duid", "speechRecognition", "speechSynthesis", "accelerometer", "accelerometerWakeup", "barometer", "barometerWakeup", "gyroscope", "gyroscopeWakeup", "magnetometer", "magnetometerWakeup", "photometer", "photometerWakeup", "proximity", "proximityWakeup", "tiltmeter", "tiltmeterWakeup", "dataEncryption", "graphicsAcceleration", "push", "telephony", "telephonyMms", "telephonySms", "screenSizeNormal", "screenSize480_800", "screenSize720_1280", "autoRotation", "shellAppWidget", "visionImageRecognition", "visionQrcodeGeneration", "visionQrcodeRecognition", "visionFaceRecognition", "secureElement", "nativeOspCompatible", "profile"];
-var SystemInfoStorageUnit = ["type", "capacity", "availableCapacity", "isRemovable"];
-var systemInfoPropertyId = ["BATTERY", "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "LOCALE", "NETWORK", "WIFI_NETWORK", "CELLULAR_NETWORK", "SIM", "PERIPHERAL", "CAMERA_FLASH", "ADS"];
-var SYSTEM_INFO_DEVICE_ORIENTATION_STATUS = ["PORTRAIT_PRIMARY", "PORTRAIT_SECONDARY", "LANDSCAPE_PRIMARY", "LANDSCAPE_SECONDARY"];
-var SYSTEM_INFO_SIM_STATE = ["ABSENT", "INITIALIZING", "READY", "PIN_REQUIRED", "PUK_REQUIRED", "NETWORK_LOCKED", "SIM_LOCKED", "UNKNOWN"];
-var PLATFROM_CORE_CPU_ARCH = ["armv6", "armv7", "x86", "llvm"];
-var PLATFROM_CORE_FPU_ARCH = ["vfpv3", "sse2", "sse3", "ssse3"];
-var SYSTEM_INFO_PROFILE = ["WEARABLE", "MOBILE", "MOBILE_FULL"];
-
-var INVALID_VALUES_ERR = {
-    name: "InvalidValuesError"
-};
-var TYPE_MISMATCH_ERR = {
-    name: "TypeMismatchError"
-};
-
-function assert_value_in_range(minValue, maxValue, attributeValue, description) {
-    var expected, epsilon;
-
-    assert_type(attributeValue, "number", "attributeValue is not a number.");
-
-    epsilon = Math.abs((Number(maxValue) - Number(minValue)) / 2);
-    expected = Number(maxValue) - epsilon;
-    assert_approx_equals(attributeValue, expected, epsilon, description)
-}
-function getTypeExceptions(conversionType) {
-    var exceptionName = "TypeMismatchError",
-        conversionTable;
-    switch (conversionType) {
-        case "unsigned long":
-            conversionTable = [
-                [undefined, exceptionName],
-                [NaN, exceptionName],
-                [Number.POSITIVE_INFINITY, exceptionName],
-                [Number.NEGATIVE_INFINITY, exceptionName],
-                ["TIZEN", exceptionName],
-                [{ name : "TIZEN" }, exceptionName],
-                [function () { }, exceptionName]
-            ];
-            break;
-        default:
-            assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
-    };
-    return conversionTable;
-}
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/time_common.js b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/support/time_common.js
deleted file mode 100755 (executable)
index c4a5b4e..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-
-
-*/
-
-var NOT_SUPPORTED_ERR     = "NotSupportedError";
-var UNKNOWN_ERR           = "UnknownError";
-var TYPE_MISMATCH_ERR     = "TypeMismatchError";
-var INVALID_VALUES_ERR    = "InvalidValuesError";
-var NOT_FOUND_ERR         = "NotFoundError";
-var PERMISSION_DENIED_ERR = "SecurityError";
-var IO_ERR                = "IOError";
-var ERROR_STR             = "Error";
-var ERROR_NUM             = 3;
-
-var expected_year         = 2011;
-var expected_month        = 10;
-var expected_date         = 11;
-var expected_hours        = 4;
-var expected_minutes      = 55;
-var expected_seconds      = 54;
-var expected_milliseconds = 12;
-var expected_time_zone    = "Asia/Seoul";//GMT+9
-var expected_time_zone_offset = 9;
-
-var date = new tizen.TZDate(
-    expected_year,          //year
-    expected_month,         //month
-    expected_date,          //day
-    expected_hours,         //hours
-    expected_minutes,       //minutes
-    expected_seconds,       //seconds
-    expected_milliseconds,  //milliseconds
-    expected_time_zone      //timeZone
-);
-var invalidArgument = [
-    true,
-    false,
-    undefined,
-    null,
-    ["one", "two"],
-    {argument: 1},
-    function () {}
-];
-
-var testAdditionalParamArray = [ERROR_NUM, null, undefined];
-
-
-
index ebc701ceb43ff3336faab35f9a0191a3fd9812d3..94ef60e334094a2d4fb1acadcc91f619cf91db1a 100755 (executable)
@@ -41,8 +41,10 @@ MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
 TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
 NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
 INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+UNKNOWN_EXCEPTION = {name: 'UnknownError'};
 IO_EXCEPTION = {name: 'IOError'};
 SECURITY_EXCEPTION = {name: 'SecurityError'};
+NOT_SUPPORTED_EXCEPTION = {name: 'NotSupportedError'};
 
 
 (function () {
@@ -137,6 +139,14 @@ function getTypeConversionExceptions(conversionType, isOptional) {
                 [function () { }, exceptionName]
             ];
             break;
+        case "long":
+            conversionTable = [
+                [undefined, exceptionName],
+                ["TIZEN", exceptionName],
+                [{ name : "TIZEN" }, exceptionName],
+                [function () { }, exceptionName]
+            ];
+            break;
         case "object":
             conversionTable = [
                 [true, exceptionName],
@@ -574,4 +584,5 @@ function executeCommand(command) {
     });
     //This log provides console output after executing shell command.
     console.log(JSON.stringify(response));
+    return response
 }
\ No newline at end of file
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3 b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3
deleted file mode 100755 (executable)
index c41d536..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_default.mp3 and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3 b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3
deleted file mode 100755 (executable)
index 28d6324..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_lyrics.mp3 and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3 b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3
deleted file mode 100755 (executable)
index 7aa44e8..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_audio_no_tag.mp3 and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg
deleted file mode 100755 (executable)
index c090428..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_default.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg
deleted file mode 100755 (executable)
index 6abe1ed..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_geolocation.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg
deleted file mode 100755 (executable)
index 1326236..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_1.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg
deleted file mode 100755 (executable)
index d9336b5..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_2.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg
deleted file mode 100755 (executable)
index 330c088..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_3.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg
deleted file mode 100755 (executable)
index 8aaed3f..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_4.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg
deleted file mode 100755 (executable)
index 945a83d..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_5.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg
deleted file mode 100755 (executable)
index da8c2c3..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_6.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg
deleted file mode 100755 (executable)
index dfa93ca..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_7.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg
deleted file mode 100755 (executable)
index 6fdd2e8..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_image_orientation_8.jpg and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4 b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4
deleted file mode 100755 (executable)
index e203ae2..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video.mp4 and /dev/null differ
diff --git a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4 b/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4
deleted file mode 100755 (executable)
index a6b7048..0000000
Binary files a/wearable/tct-deprecatedapi-tizen-tests/media/tct-content-tizen-tests_video_tagged.mp4 and /dev/null differ
index aa925ec1fd4459c25a500ad44406df0f3424ab38..7c47d74783e60de261b238bb16a1adbee287c35a 100755 (executable)
                 "shellmanager.py": "shellmanager.py",
                 "Queue.py": "Queue.py",
                 "askpolicy.sh": "askpolicy.sh",
-                "media": "media",
                 "tests.xml": "tests.xml"
             },
             "pkg-app": {
                 "sign-flag": "true"
-            },
-            "subapp-list": {
-                "deprecatedapi/support/TCTAppControl": {
-                    "app-name": "TCTAppControl",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTAppControlMock": {
-                    "app-name": "TCTAppControlMock",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTbroadcastApp": {
-                    "app-name": "TCTbroadcastApp",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTAppInfoEventTest1": {
-                    "app-name": "TCTAppInfoEventTest1",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "mediasrc",
-                    "sign-flag": "true"
-                },
-                "deprecatedapi/support/TCTAppInfoEventTest2": {
-                    "app-name": "TCTAppInfoEventTest2",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "mediasrc",
-                    "sign-flag": "true"
-                }
             }
         }
     },
index 92d016389e2a45e131344d3100a50123f6665a29..2df44ebb60b61eb1c661a2743a894f21d40fa2d2 100755 (executable)
 <?xml-stylesheet type="text/xsl"  href="./testcase.xsl"?>
 <test_definition>
   <suite name="tct-deprecatedapi-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
-    <set name="deprecatedapi_SystemInfo" type="js">
-      <testcase purpose="Check if attribute isRemoveable of SystemInfoStorageUnit exists, has type Boolean and is readonly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoStorageUnit_isRemoveable_attribute">
+    <set name="deprecatedapi_Alarm">
+      <testcase purpose="Test whether the constructor with date parameter and period parameter are supported" type="compliance" status="approved" component="TizenAPI/Application/Alarm" execution_type="auto" priority="P1" id="AlarmAbsolute_constructor_date_period">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="SystemInfoStorageUnit" element_type="attribute" element_name="isRemoveable" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+            <spec_assertion interface="AlarmAbsolute" element_type="constructor" element_name="constructor" specification="Alarm" section="Application" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check AlarmAbsolute for period attribute" type="compliance" status="approved" component="TizenAPI/Application/Alarm" execution_type="auto" priority="P1" id="AlarmAbsolute_period_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="AlarmAbsolute" element_type="attribute" element_name="period" specification="Alarm" section="Application" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/alarm.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
     </set>
-    <set name="deprecatedapi_Application" type="js">
-      <testcase purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
+    <set name="deprecatedapi_notification" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/notification"/>
+      </capabilities>
+      <testcase purpose="Check if the parameter NotificationManager which in get method ok" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
+      <testcase purpose="Check if NotificationManager.getAll method works" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method addAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_addAppInfoEventListener_exist">
+      <testcase purpose="Check if method getAll which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_exist">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_missarg">
+      <testcase purpose="Check if method getAll of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_extra_argument">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
+      <testcase purpose="Check if method get which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_get_exist">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
+      <testcase purpose="Check if NotificationManager get method works with invalid argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_id_invalid">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
+      <testcase purpose="Check if NotificationManager get method works properly without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_misarg">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="addAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_removeAppInfoEventListener">
+      <testcase purpose="Check if attribute appControl of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appControl_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="removeAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="appControl" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method removeAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_removeAppInfoEventListener_exist">
+      <testcase purpose="Check if attribute appid of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appid_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ApplicationManager" element_type="method" element_name="removeAppInfoEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="appId" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Power" type="js">
-      <testcase purpose="Check if turnScreenOff method called with non-optional arguments does what it should" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOff">
+      <testcase purpose="Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_backgroundImagePath_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOff" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="backgroundImagePath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOff exists" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOff_exist">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOff" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P2" id="PowerManager_turnScreenOff_extra_argument">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOff" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method works correctly" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOff_successful">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOff" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method called with non-optional arguments does what it should" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOn">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn exists" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOn_exist">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P2" id="PowerManager_turnScreenOn_extra_argument">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method exists" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOn_method_exists">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method works correctly" type="compliance" status="approved" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOn_successful">
+      <testcase purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PowerManager" element_type="method" element_name="turnScreenOn" specification="Power" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/power.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Time">
-      <testcase purpose="Check if getTimezoneAbbreviation() method exists in TZDate" type="compliance" status="approved" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P0" id="TZDate_getTimezoneAbbreviation_exist">
+      <testcase purpose="Check if constructor accepts incorrect backgroundImagePath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_backgroundImagePath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="TZDate" element_type="method" element_name="getTimezoneAbbreviation" specification="Time" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if TZDate::getTimezoneAbbreviation() method accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P2" id="TZDate_getTimezoneAbbreviation_extra_argument">
+      <testcase purpose="Check if constructor accepts incorrect iconPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_iconPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="TZDate" element_type="method" element_name="getTimezoneAbbreviation" specification="Time" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if TZDate.getTimezoneAbbreviation() works properly" type="compliance" status="approved" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_getTimezoneAbbreviation_summerMonth">
+      <testcase purpose="Check if constructor accepts incorrect soundPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_soundPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="TZDate" element_type="method" element_name="getTimezoneAbbreviation" specification="Time" section="System" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Content">
-      <testcase purpose="Check if setChangeListener exists" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_setChangeListener_exist">
+      <testcase purpose="Check if constructor accepts incorrect subIconPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_subIconPath">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if constructor accepts incorrect thumbnails" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_thumbnails">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works with minimal arguments" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_minargs">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works with partial attributes in notificationInitDict" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works with additional attributes in notificationInitDict" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial_extra">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if constructor accepts max number." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_max">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if constructor accepts min number." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_min">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_-1_BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_max_BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute detailInfo of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_detailInfo_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="detailInfo" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification exists" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if StatusNotification is extendable" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="StatusNotification_extend">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute iconPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_iconPath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="iconPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledColor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOffPeriod_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledOffPeriod" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOnPeriod_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledOnPeriod" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute number of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_number_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="number" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute progressType of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressType_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressValue" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressValue" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if setChangeListener method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_missarg">
+      <testcase purpose="Check if attribute soundPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_soundPath_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="soundPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_TypeMismatch">
+      <testcase purpose="Check if attribute statusType of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_statusType_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="statusType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is invalid listener" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_invalid_cb">
+      <testcase purpose="Check if attribute subIconPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_subIconPath_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="setChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="subIconPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener exists" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_unsetChangeListener_exist">
+      <testcase purpose="Check if attribute thumbnails of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_thumbnails_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="unsetChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="thumbnails" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener method can be invoked with extra argument" type="compliance" status="approved" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_unsetChangeListener_extra_argument">
+      <testcase purpose="Check if attribute vibration of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_vibration_attribute">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="ContentManager" element_type="method" element_name="unsetChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+            <spec_assertion interface="StatusNotification" element_type="attribute" element_name="vibration" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
     </set>
-    <set name="deprecatedapi_Push">
-      <capabilities>
-        <capability name="http://tizen.org/feature/network.push"/>
-      </capabilities>
-      <testcase purpose="Check if method connectService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_connectService_exist">
+    <set name="deprecatedapi_Filesystem" type="js">
+      <testcase purpose="Interface FileStreamSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStreamSuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStreamSuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with argument of proper type" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStreamSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStreamSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_FileStreamSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStreamSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::bytesAvailable attribute exist, is of proper type" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_bytesAvailable_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="attribute" element_name="bytesAvailable" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_close">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="close" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_close_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="close" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method can be called with extra arguments" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_close_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="close" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::eof attribute exists, is Boolean" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_eof_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="attribute" element_name="eof" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether instance of FileStream can be extended with new attribute" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_extend">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileStream should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::position attribute exists, is of proper type, can be changed" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_position_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="attribute" element_name="position" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_read">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws exception with missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws an exception when given wrong type of charCount" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() method works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_readBase64">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_readBase64_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() throws exception when reading from a file opened in 'w' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_readBytes">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_readBytes_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() throws exception when reading from a file opened in 'w' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBytes() with missing mandatory argument throws exception" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="readBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_read_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws exception when reading from a file opened in 'w' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="read" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_write">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="write" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBase64">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_writeBase64_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBase64() throws exception when writing to a file opened in 'r' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBase64" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() throws exception for wrong type of byteData" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBytes_byteData_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_writeBytes_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method properly writes the specified bytes to file" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() throws exception when writing to a file opened in 'r' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="writeBytes" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_write_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="write" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() throws exception when writing to a file opened in 'r' mode" 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-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStream" element_type="method" element_name="write" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileArraySuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileArraySuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileArraySuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileArraySuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileArraySuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface FileStringSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStringSuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStringSuccessCallback" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Test whether FileStringSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStringSuccessCallback_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileStringSuccessCallback" element_type="method" element_name="onsuccess" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method can be called with only mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_documents">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Downloads virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_downloads">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if errorcallback of FileSystemManager::resolve() method can be invoked when location is wrong type" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_errorCallback_invoked">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument (absolute)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_error_invoked">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_resolve_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_images">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method work for invalid location" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_location_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_resolve_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong value of mode argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Music virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_music">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Videos virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_videos">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-package' virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_package">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private' virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_private">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private-tmp' virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_private_tmp">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root with mode 'rw'" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_with_mode">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method can be called with onerror argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Documents and onsuccess is invoked with proper argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_works_correctly">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Ringtones virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_ringtones">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory 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-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if instance of File can be extended with new property" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_extend">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Interface File should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_notexist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" usage="true" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::parent attribute exists, has type File and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_parent_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="parent" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::parent attribute is set by resolve() for subdirectory of Documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_parent_attribute_notnull_using_resolve">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="parent" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readOnly attribute exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readOnly_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="readOnly" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::fileSize attribute exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_fileSize_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="fileSize" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::fullPath attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_fullPath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="fullPath" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::isDirectory attribute exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_isDirectory_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="isDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::isFile attribute exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_isFile_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="isFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::length attribute exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_length_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="length" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::created attribute exists, has type Date and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_created_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="created" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::modified attribute exists, has type Date and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_modified_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="modified" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::path attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_path_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="path" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::path attribute has proper value limitation" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_path_attribute_limitation">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+          <spec_assertion interface="File" element_type="attribute" element_name="path" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::name attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_name_attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="attribute" element_name="name" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_toURI">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_toURI_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_toURI_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::toURI() method throws exception when get a URI of non-existing 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-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="toURI" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new directory and then list 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-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_listFiles_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() method throws exception for wrong type of filter" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() can be called with empty object as filter argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_empty">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() with missing mandatory argument throws exception" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() works with filter argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_filter">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() calls errorCallback (listing files of a file)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::listFiles() call onsuccess callback" 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-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="listFiles" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() throws an exception for invalid encoding value" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_encoding_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_openStream_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() throws exception for wrong type of mode argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() works for 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method can be called with valid encoding argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream_with_encoding">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method calls errorCallback when invoked for file which was already removed" 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-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method calls errorCallback properly (openStream used on directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method throws exception for wrong mode" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::openStream() method works properly when the encoding is ISO-8859-1" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_with_encoding_not_default">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="openStream" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works properly without errorCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for invalid encoding value" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_encoding_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_readAsText_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDocumentsFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Downloads" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDownloadsFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Images" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listImagesFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Music" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listMusicFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works for a file created in Videos" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listVideosFiles">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() throws exception for missing mandatory parameter" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_missarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works with encoding argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_with_encoding">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() properly calls errorCallback (called on a directory instead of file)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method works properly when the encoding is ISO-8859-1" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_with_encoding_not_default">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::readAsText() method 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-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="readAsText" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() method ends successfully (copy file from documents/ to images/)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a directory to another location where directory of that name already exists (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can copy a directory to another location where directory of that name already exists (overwrite is true)" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_copyTo_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a file to another directory where a file of that name already exists (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can copy a file to another directory where a file of that name already exists (overwrite is true)" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a file to the same location (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if error callback is invoked when copy a file to the same location (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception when type of errorCallback is wrong" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception for wrong errorCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception when type of successCallback is wrong" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() throws exception for wrong successCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() calls errorCallback when called for object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() can be invoked with null successCallback and errorCallback" 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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() calls errorCallback (nonexisting originFilePath)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() with onSuccess creates a file copy" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, same directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_newName">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if when create a new empty file, write content into it, then request a copy of it over existing file invokes errorCallback (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-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, different directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_subdir">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::copyTo() can be called" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="filesystem_File_copyTo">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if copyTo method called with invalid destinationFilePath does what it should" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_destinationFilePath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if copyTo method called with invalid originFilePath does what it should" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_originFilePath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() can be called successfully" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when originFilePath and destinationFilePath are empty" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_moveTo_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() invokes error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() error callback when moving 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() throws exception for wrong onsuccess" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() method can be invoked with extra null parameter" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls errorCallback (source file does not exist)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls successCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls errorCallback (NotFound) when destinationFilePath is in non-existing directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, and then move the file to the same directory 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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::moveTo() calls errorCallback when originFilePath and destinationFilePath is the same path (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-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file, write content to it, and then move the file to a subdirectory keeping the name of the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_subdir">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_createDirectory">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_createDirectory_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() works for non-existing intermediate directory (creates 2 levels of directories)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_level2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if createDirectory method throws exception with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_dirPath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createFile() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_createFile">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createFile() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_createFile_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createFile() throws exception when the file already exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_existing_file">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createFile() with missing mandatory argument throws exceptions" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Documents, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_createFile">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_resolve">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_resolve_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() throws exception when resolving 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-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() method called for a file returns 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-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::resolve() throws exception with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_filePath_invalid">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="createDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method can be called" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Documents and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_documents">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Downloads and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_downloads">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Images and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_images">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Music and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_music">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Videos and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_videos">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_deleteDirectory_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onerror_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onerror_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onsuccess_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onsuccess_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty" 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-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method can be called with null onsuccess and onerror" 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-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method calls onerror properly (when removing non-existing directory)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_onerror">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() method with onsuccess optional argument works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_onsuccess">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteDirectory() throws exception with missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_misarg">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteFile() method works properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Document, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_downloads">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Images, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_images">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Music, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_music">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create a new file in Video, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_videos">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if File::deleteFile() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_deleteFile_exist">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if you can create directories and file in Documents, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDocumentsFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="connectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for notificationCallback argument of PushManager.connectService method" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_connectService_notificationCallback_TypeMismatch">
+      <testcase purpose="Check if you can create directories and file in Downloads, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDownloadsFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="connectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.connectService method throws exception when notificationCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_connectService_notificationCallback_invalid_cb">
+      <testcase purpose="Check if you can create directories and file in Images, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listImagsFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="connectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method disconnectService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_disconnectService_exist">
+      <testcase purpose="Check if you can create directories and file in Music, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listMusicFiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="disconnectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method disconnectService of PushManager accepts extra argument" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P1" id="PushManager_disconnectService_extra_argument">
+      <testcase purpose="Check if you can create directories and file in Videos, list them, then request deleting the directory and the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listVideosfiles">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="disconnectService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for appControl argument of PushManager.registerService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_appControl_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onerror_TypeMismatch">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.registerService method throws exception when appControl is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_appControl_invalid_obj">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onerror_invalid_cb">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for errorCallback argument of PushManager.registerService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_errorCallback_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onsuccess_TypeMismatch">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.registerService method throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_errorCallback_invalid_cb">
+      <testcase purpose="Check if File::deleteFile() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onsuccess_invalid_cb">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method registerService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_registerService_exist">
+      <testcase purpose="Check if File::deleteFile() calls errorCallback when called on File object representing file, not a directory" 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method registerService throws exception when non-optional argument is missing" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P1" id="PushManager_registerService_misargs">
+      <testcase purpose="Check if File::deleteFile() calls errorCallback when given filePath does 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for successCallback argument of PushManager.registerService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_successCallback_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() method calls errorCallback properly (when removing non-existing file)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_onerror">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.registerService method throws exception when successCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_registerService_successCallback_invalid_cb">
+      <testcase purpose="Check if File::deleteFile() method calls given onsuccess callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_onsuccess">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="registerService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for errorCallback argument of PushManager.unregisterService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_errorCallback_TypeMismatch">
+      <testcase purpose="Check if File::deleteFile() can be called with onsuccess and onerror" 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.unregisterService method throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_errorCallback_invalid_cb">
+      <testcase purpose="Check if File::deleteFile() method can be called without onsuccess" 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-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method unregisterService of PushManager exists" type="compliance" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P0" id="PushManager_unregisterService_exist">
+      <testcase purpose="Check if you can create a new file in Camera, copy it into Downloads, then request removing it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_camera">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteFile" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check type conversions for successCallback argument of PushManager.unregisterService method" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_successCallback_TypeMismatch">
+      <testcase purpose="Check if FileSystemManager::resolve() method works for Camera virtual root" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_camera">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="resolve" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PushManager.unregisterService method throws exception when successCallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/TBD/Push" execution_type="auto" priority="P2" id="PushManager_unregisterService_successCallback_invalid_cb">
+      <testcase purpose="Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_camera">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="PushManager" element_type="method" element_name="unregisterService" specification="Push" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/push.html</spec_url>
+            <spec_assertion interface="File" element_type="method" element_name="deleteDirectory" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
index 8ee5aba39e2d0c077168ef80abaa4557dbd06bd9..04e14fb8e58f49a1b571ee5a1e1679ee4a103ccf 100755 (executable)
 <?xml-stylesheet type="text/xsl"  href="./testcase.xsl"?>
 <test_definition>
   <suite name="tct-deprecatedapi-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
-    <set name="deprecatedapi_SystemInfo" type="js">
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoStorageUnit_isRemoveable_attribute" onload_delay="90" priority="P1" purpose="Check if attribute isRemoveable of SystemInfoStorageUnit exists, has type Boolean and is readonly">
+    <set name="deprecatedapi_Alarm">
+      <testcase component="TizenAPI/Application/Alarm" execution_type="auto" id="AlarmAbsolute_constructor_date_period" priority="P1" purpose="Test whether the constructor with date parameter and period parameter are supported">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SystemInfoStorageUnit_isRemoveable_attribute.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_constructor_date_period.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="TizenAPI/Application/Alarm" execution_type="auto" id="AlarmAbsolute_period_attribute" priority="P1" purpose="Check AlarmAbsolute for period attribute">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AlarmAbsolute_period_attribute.html</test_script_entry>
         </description>
       </testcase>
     </set>
-    <set name="deprecatedapi_Application" type="js">
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch" priority="P2" purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion">
+    <set name="deprecatedapi_Notification" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/notification"/>
+      </capabilities>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get" priority="P2" purpose="Check if the parameter NotificationManager which in get method ok">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb" priority="P2" purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll" priority="P1" purpose="Check if NotificationManager.getAll method works">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_exist" priority="P0" purpose="Check if method addAppInfoEventListener exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_exist" priority="P1" purpose="Check if method getAll which in NotificationManager interface exists.">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_missarg" priority="P2" purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_extra_argument" priority="P1" purpose="Check if method getAll of NotificationManager accepts extra argument">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_getAll_extra_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_oninstalled" priority="P1" purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_exist" priority="P0" purpose="Check if method get which in NotificationManager interface exists.">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_onuninstalled" priority="P1" purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_id_invalid" priority="P2" purpose="Check if NotificationManager get method works with invalid argument">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_id_invalid.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_onupdated" priority="P1" purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_misarg" priority="P2" purpose="Check if NotificationManager get method works properly without argument">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/NotificationManager_get_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener" onload_delay="30" priority="P1" purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_appControl_attribute" priority="P1" purpose="Check if attribute appControl of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appControl_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener_exist" priority="P0" purpose="Check if method removeAppInfoEventListener exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_appid_attribute" priority="P1" purpose="Check if attribute appid of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_appid_attribute.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Power" type="js">
-      <capabilities>
-        <capability name="http://tizen.org/feature/battery"/>
-      </capabilities>
-      <testcase purpose="Check if turnScreenOn method called with non-optional arguments does what it should" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOn">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_backgroundImagePath_attribute" priority="P1" purpose="Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOn exists" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOn_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method can be invoked with extra argument" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P2" id="PowerManager_turnScreenOn_extra_argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method exists" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOn_method_exists">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_method_exists.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOn method works correctly" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOn_successful">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOn_successful.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method called with non-optional arguments does what it should" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOff">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOff exists" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P0" id="PowerManager_turnScreenOff_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method can be invoked with extra argument" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P2" id="PowerManager_turnScreenOff_extra_argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if turnScreenOff method works correctly" component="Tizen Device APIs/System/Power" execution_type="auto" priority="P1" id="PowerManager_turnScreenOff_successful">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PowerManager_turnScreenOff_successful.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Time">
-      <testcase purpose="Check if TZDate::getTimezoneAbbreviation() returns a string" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_backgroundImagePath" priority="P2" purpose="Check if constructor accepts incorrect backgroundImagePath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if getTimezoneAbbreviation() method exists in TZDate" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_iconPath" priority="P2" purpose="Check if constructor accepts incorrect iconPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if TZDate::getTimezoneAbbreviation() method accepts extra argument" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P2" id="TZDate_getTimezoneAbbreviation_extra_argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_soundPath" priority="P2" purpose="Check if constructor accepts incorrect soundPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/TZDate_getTimezoneAbbreviation_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if TZDate.getTimezoneAbbreviation() works properly" component="Tizen Device APIs/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_getTimezoneAbbreviation_summerMonth">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_subIconPath" priority="P2" purpose="Check if constructor accepts incorrect subIconPath">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Time_TZDate_getTimezoneAbbreviation_summerMonth.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
         </description>
       </testcase>
-    </set>
-    <set name="deprecatedapi_Content">
-      <testcase purpose="Check if setChangeListener exists" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_setChangeListener_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_thumbnails" priority="P2" purpose="Check if constructor accepts incorrect thumbnails">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if setChangeListener method called with missing non-optional argument throws an exception" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_missarg">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_minargs" priority="P1" purpose="Check if StatusNotification's constructor works with minimal arguments">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_minargs.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is incorrect" onload_delay="30" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_TypeMismatch">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial" priority="P1" purpose="Check if StatusNotification's constructor works with partial attributes in notificationInitDict">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if setChangeListener throws exception when changeCallback is invalid listener" onload_delay="30" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_setChangeListener_changeCallback_invalid_cb">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial_extra" priority="P1" purpose="Check if StatusNotification's constructor works with additional attributes in notificationInitDict">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_setChangeListener_changeCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener exists" component="TizenAPI/Content/Content" execution_type="auto" priority="P0" id="ContentManager_unsetChangeListener_exist">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_max" priority="P1" purpose="Check if constructor accepts max number.">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_max.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if unsetChangeListener method can be invoked with extra argument" component="TizenAPI/Content/Content" execution_type="auto" priority="P2" id="ContentManager_unsetChangeListener_extra_argument">
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_min" priority="P1" purpose="Check if constructor accepts min number.">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_unsetChangeListener_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_number_min.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_-1_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_100_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_max_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_detailInfo_attribute" priority="P1" purpose="Check if attribute detailInfo of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_detailInfo_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_exist" priority="P1" purpose="Check if StatusNotification exists">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_extend" priority="P3" purpose="Check if StatusNotification is extendable">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_extend.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_iconPath_attribute" priority="P2" purpose="Check if attribute iconPath of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_iconPath_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute" priority="P1" purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledColor_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOffPeriod_attribute" priority="P1" purpose="Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOnPeriod_attribute" priority="P1" purpose="Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_number_attribute" priority="P1" purpose="Check if attribute number of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_number_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressType_attribute" priority="P1" purpose="Check if attribute progressType of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressType_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_BYTE" priority="P1" purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_PERCENTAGE" priority="P1" purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_soundPath_attribute" priority="P1" purpose="Check if attribute soundPath of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_soundPath_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_statusType_attribute" priority="P1" purpose="Check if attribute statusType of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_statusType_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_subIconPath_attribute" priority="P1" purpose="Check if attribute subIconPath of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_subIconPath_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_thumbnails_attribute" priority="P1" purpose="Check if attribute thumbnails of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_thumbnails_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_vibration_attribute" priority="P1" purpose="Check if attribute vibration of StatusNotification exists, has appropriate type">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/StatusNotification_vibration_attribute.html</test_script_entry>
         </description>
       </testcase>
     </set>
-    <set name="deprecatedapi_Push" type="js">
-      <capabilities>
-        <capability name="http://tizen.org/feature/network.push"/>
-      </capabilities>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_connectService_exist" priority="P0" purpose="Check if method connectService of PushManager exists">
+    <set name="deprecatedapi_Filesystem" type="js">
+      <testcase purpose="Interface FileStreamSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist" priority="P3">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_notexist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with argument of proper type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_onsuccess" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::bytesAvailable attribute exist, is of proper type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_bytesAvailable_attribute" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_bytesAvailable_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_exist" priority="P0">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::close() method can be called with extra arguments" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_extra_argument" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_close_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::eof attribute exists, is Boolean" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_eof_attribute" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_eof_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether instance of FileStream can be extended with new attribute" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend" priority="P3">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_extend.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Interface FileStream should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist" priority="P3">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_notexist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::position attribute exists, is of proper type, can be changed" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_position_attribute" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_position_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws exception with missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_misarg" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_misarg.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::read() throws an exception when given wrong type of charCount" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_TypeMismatch" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_TypeMismatch.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() method works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::readBase64() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_connectService_notificationCallback_TypeMismatch" priority="P2" purpose="Check type conversions for notificationCallback argument of PushManager.connectService method">
+      <testcase purpose="Check if FileStream::readBase64() throws exception when reading from a file opened in 'w' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_without_r_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_without_r_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_connectService_notificationCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.connectService method throws exception when notificationCallback is invalid">
+      <testcase purpose="Check if you can create a new file, write content to it, and then read the content of the file as base64" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_writeFile" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_connectService_notificationCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBase64_writeFile.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_disconnectService_exist" priority="P0" purpose="Check if method disconnectService of PushManager exists">
+      <testcase purpose="Check if FileStream::readBytes() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_disconnectService_extra_argument" priority="P1" purpose="Check if method disconnectService of PushManager accepts extra argument">
+      <testcase purpose="Check if FileStream::readBytes() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_disconnectService_extra_argument.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_appControl_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for appControl argument of PushManager.registerService method">
+      <testcase purpose="Check if FileStream::readBytes() throws exception when reading from a file opened in 'w' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_without_r_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_without_r_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_appControl_invalid_obj" onload_delay="90" priority="P2" purpose="Check if PushManager.registerService method throws exception when appControl is invalid">
+      <testcase purpose="Check if FileStream::readBytes() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_misarg" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_appControl_invalid_obj.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for errorCallback argument of PushManager.registerService method">
+      <testcase purpose="Check if you can create a new file, write content to it, and then read the content of the file as a byte array" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_writeFile" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_readBytes_writeFile.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.registerService method throws exception when errorCallback is invalid">
+      <testcase purpose="Check if FileStream::read() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_exist" priority="P0" purpose="Check if method registerService of PushManager exists">
+      <testcase purpose="Check if FileStream::read() throws exception when reading from a file opened in 'w' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_without_r_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_without_r_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_misargs" priority="P1" purpose="Check if method registerService throws exception when non-optional argument is missing">
+      <testcase purpose="Check if you can create a new file, write content to it, and then read the content of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_writeFile" priority="P3">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_misargs.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_read_writeFile.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_successCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for successCallback argument of PushManager.registerService method">
+      <testcase purpose="Check if FileStream::write() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_registerService_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.registerService method throws exception when successCallback is invalid">
+      <testcase purpose="Check if FileStream::writeBase64() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_registerService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for errorCallback argument of PushManager.unregisterService method">
+      <testcase purpose="Check if FileStream::writeBase64() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.unregisterService method throws exception when errorCallback is invalid">
+      <testcase purpose="Check if FileStream::writeBase64() throws exception when writing to a file opened in 'r' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_without_w_permission" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_errorCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBase64_without_w_permission.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_exist" priority="P0" purpose="Check if method unregisterService of PushManager exists">
+      <testcase purpose="Check if FileStream::writeBytes() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes" priority="P1">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_successCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check type conversions for successCallback argument of PushManager.unregisterService method">
+      <testcase purpose="Check if FileStream::writeBytes() throws exception for wrong type of byteData" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_byteData_TypeMismatch" priority="P2">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_byteData_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/TBD/Push" execution_type="auto" id="PushManager_unregisterService_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if PushManager.unregisterService method throws exception when successCallback is invalid">
+      <testcase purpose="Check if FileStream::writeBytes() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_exist" priority="P0">
         <description>
-          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/PushManager_unregisterService_successCallback_invalid_cb.html</test_script_entry>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_exist.html</test_script_entry>
         </description>
       </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_missarg" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_missarg.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() method properly writes the specified bytes to file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_with_additional_null_parameter" priority="P1">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::writeBytes() throws exception when writing to a file opened in 'r' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_without_w_permission" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_writeBytes_without_w_permission.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_exist" priority="P0">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if FileStream::write() throws exception when writing to a file opened in 'r' mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_without_w_permission" priority="P2">
+        <description>
+          <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStream_write_without_w_permission.html</test_script_entry>
+        </description>
+      </testcase>
+       <testcase purpose="Interface FileArraySuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Test whether FileArraySuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileArraySuccessCallback_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Interface FileSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Test whether FileSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSuccessCallback_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Interface FileStringSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Test whether FileStringSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileStringSuccessCallback_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method can be called with only mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_documents.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Downloads virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_downloads.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if errorcallback of FileSystemManager::resolve() method can be invoked when location is wrong type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_errorCallback_invoked" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_errorCallback_invoked.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument (absolute)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_error_invoked" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_error_invoked.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_images" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_images.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method work for invalid location" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_location_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_location_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_missarg" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong value of mode argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'r'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_r.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Music virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_music.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Videos virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_videos.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory with mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving 'wgt-package' directory with mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-package' virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_package" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_package.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private' virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for 'wgt-private-tmp' virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private_tmp" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_wgt_private_tmp.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_mode" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_mode.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method can be called with onerror argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_onerror" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Documents and onsuccess is invoked with proper argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_works_correctly" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_works_correctly.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for Ringtones virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if instance of File can be extended with new property" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_extend.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Interface File should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist" priority="P3">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_notexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::parent attribute exists, has type File and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::parent attribute is set by resolve() for subdirectory of Documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute_notnull_using_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_parent_attribute_notnull_using_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readOnly attribute exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readOnly_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readOnly_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::fileSize attribute exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fileSize_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fileSize_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::fullPath attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fullPath_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_fullPath_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::isDirectory attribute exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isDirectory_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isDirectory_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::isFile attribute exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isFile_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_isFile_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::length attribute exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_length_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_length_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::created attribute exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_created_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_created_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::modified attribute exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_modified_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_modified_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::path attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_path_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::path attribute has proper value limitation" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_path_attribute_limitation" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_path_attribute_limitation.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::name attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_name_attribute" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_name_attribute.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method accepts extra argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_extra_argument" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_extra_argument.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::toURI() method throws exception when get a URI of non-existing file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_with_nonexist_file" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_toURI_with_nonexist_file.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new directory and then list files in this directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_createFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_createFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() method throws exception for wrong type of filter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() can be called with empty object as filter argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_filter_empty.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_missarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() works with filter argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_filter.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() calls errorCallback (listing files of a file)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::listFiles() call onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_valid_successCallback" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_listFiles_with_valid_successCallback.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() throws an exception for invalid encoding value" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_encoding_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_encoding_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_missarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() throws exception for wrong type of mode argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_a.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode r" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_r.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_rw.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() works for mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_w.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method can be called with valid encoding argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_encoding" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method calls errorCallback when invoked for file which was already removed" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_nonexist_file" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_nonexist_file.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method calls errorCallback properly (openStream used on directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method throws exception for wrong mode" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_mode_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::openStream() method works properly when the encoding is ISO-8859-1" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_encoding_not_default" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_openStream_with_encoding_not_default.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works properly without errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for invalid encoding value" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_encoding_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_encoding_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDocumentsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDocumentsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Downloads" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDownloadsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listDownloadsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Images" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listImagesFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listImagesFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Music" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listMusicFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listMusicFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works for a file created in Videos" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listVideosFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_listVideosFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() throws exception for missing mandatory parameter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_missarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_missarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works with encoding argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() properly calls errorCallback (called on a directory instead of file)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method works properly when the encoding is ISO-8859-1" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding_not_default" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_readAsText_with_encoding_not_default.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::readAsText() method reads the content of a file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_readAsText.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() method ends successfully (copy file from documents/ to images/)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a directory to another location where directory of that name already exists (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can copy a directory to another location where directory of that name already exists (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy directory dir1/subdir1 into dir1/ (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a file to another directory where a file of that name already exists (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can copy a file to another directory where a file of that name already exists (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a file to the same location (overwrite is false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_false" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if error callback is invoked when copy a file to the same location (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_true" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception when type of errorCallback is wrong" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception for wrong errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception when type of successCallback is wrong" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() throws exception for wrong successCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() calls errorCallback when called for object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() can be invoked with null successCallback and errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_null_success_and_error_callbacks" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() calls errorCallback (nonexisting originFilePath)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() with onSuccess creates a file copy" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, same directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_newName" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_newName.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if when create a new empty file, write content into it, then request a copy of it over existing file invokes errorCallback (overwrite=false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_overwrite_false" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new empty file, write content into it, then request a copy of it (different name, different directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_subdir" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_writeFile_subdir.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::copyTo() can be called" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_copyTo.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if copyTo method called with invalid destinationFilePath does what it should" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_destinationFilePath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_destinationFilePath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if copyTo method called with invalid originFilePath does what it should" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_originFilePath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_copyTo_originFilePath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() can be called successfully" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when originFilePath and destinationFilePath are empty" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_empty_destination_source_and_destination_paths" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() invokes error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() error callback when moving 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" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() method can be invoked with extra null parameter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_additional_null_parameter" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_additional_null_parameter.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback (source file does not exist)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls successCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback (NotFound) when destinationFilePath is in non-existing directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_path_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_with_path_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file, write content to it, and then move the file to the same directory with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_newName" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_newName.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::moveTo() calls errorCallback when originFilePath and destinationFilePath is the same path (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_overwrite_false" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file, write content to it, and then move the file to a subdirectory keeping the name of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_subdir" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_moveTo_writeFile_subdir.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() works for non-existing intermediate directory (creates 2 levels of directories)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_level2" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_level2.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if createDirectory method throws exception with missing non-optional argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_misarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_dirPath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createDirectory_dirPath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createFile() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createFile() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createFile() throws exception when the file already exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_existing_file" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_existing_file.html</test_script_entry>
+         </description>
+       </testcase>
+      <testcase purpose="Check if File::createFile() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_createFile_misarg.html</test_script_entry>
+         </description>
+      </testcase>
+       <testcase purpose="Check if you can create a new file in Documents, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_createFile" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_createFile.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() throws exception when resolving a file which not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_nonexist" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_with_nonexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() method called for a file returns a file handle" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/filesystem_File_resolve.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::resolve() throws exception with missing non-optional argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_misarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() throws exception when dirPath is invalid." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_filePath_invalid" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_resolve_filePath_invalid.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method can be called" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Documents and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_documents" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_documents.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Downloads and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_downloads" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_downloads.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Images and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_images" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_images.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Music and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_music" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_music.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Videos and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_videos" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_videos.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_empty_path" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_empty_path.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_file_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_file_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method can be called with null onsuccess and onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_null_callbacks" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method calls onerror properly (when removing non-existing directory)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() method with onsuccess optional argument works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteDirectory() throws exception with missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_misarg" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_misarg.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Document, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_downloads" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_downloads.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Images, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_images" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_images.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Music, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_music" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_music.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create a new file in Video, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_videos" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_videos.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_exist" priority="P0">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_exist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Documents, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDocumentsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDocumentsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Downloads, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDownloadsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listDownloadsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Images, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listImagsFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listImagsFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Music, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listMusicFiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listMusicFiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if you can create directories and file in Videos, list them, then request deleting the directory and the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listVideosfiles" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_listVideosfiles.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onerror_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_TypeMismatch" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_TypeMismatch.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_invalid_cb" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() calls errorCallback when called on File object representing file, not a directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_dir_handle" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_dir_handle.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() calls errorCallback when given filePath does not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_nonexist" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_nonexist.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method calls errorCallback properly (when removing non-existing file)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onerror" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onerror.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method calls given onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onsuccess" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_onsuccess.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() can be called with onsuccess and onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_vaild_callbacks" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::deleteFile() method can be called without onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_with_valid_filePath.html</test_script_entry>
+         </description>
+       </testcase>
+    </set>
+    <set name="deprecatedapi_Filesystem_camera">
+       <capabilities>
+         <capability name="http://tizen.org/feature/camera.back"/>
+       </capabilities>
+       <testcase purpose="Check if you can create a new file in Camera, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_camera" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if FileSystemManager::resolve() method works for camera virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_camera" priority="P2">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html</test_script_entry>
+         </description>
+       </testcase>
+       <testcase purpose="Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_camera" priority="P1">
+         <description>
+           <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html</test_script_entry>
+         </description>
+       </testcase>
     </set>
   </suite>
 </test_definition>