<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileArraySuccessCallback_notexist
-//==== LABEL Check if is possible to call FileArraySuccessCallback in new expresion
+//==== 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
<script type="text/javascript">
//==== TEST: FileArraySuccessCallback_onsuccess
-//==== LABEL Test whether the type of each argument is equal to the specified in FileArraySuccessCallback.
+//==== LABEL Test whether 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStreamSuccessCallback_notexist
-//==== LABEL Check if is possible to call FileStreamSuccessCallback in new expresion
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStreamSuccessCallback_onsuccess
-//==== LABEL Test whether the type of each argument is equal to the specified in FileStreamSuccessCallback.
+//==== LABEL Test whether 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
<script>
//==== TEST: FileStream_bytesAvailable_attribute
//==== PRIORITY P1
-//==== LABEL Check attribute bytesAvailable in FileStream
+//==== 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
<script>
//==== TEST: FileStream_close
//==== PRIORITY P2
-//==== LABEL Check proper invocation close()
+//==== 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
<div id="log"></div>
<script>
//==== TEST: FileStream_close_exist
-//==== LABEL Check if method close exists in FileStream
+//==== 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
<div id="log"></div>
<script>
//==== TEST: FileStream_close_extra_argument
-//==== LABEL Check if method close of FileStream accepts extra argument
+//==== 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
<script>
//==== TEST: FileStream_eof_attribute
//==== PRIORITY P1
-//==== LABEL Check attribute eof in FileStream
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_extend
-//==== LABEL Test whether the FileStream object can have new attribute added
+//==== LABEL Test whether 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_notexist
-//==== LABEL Check if is possible to call FileStream in new expresion
+//==== 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
<script>
//==== TEST: FileStream_position_attribute
//==== PRIORITY P2
-//==== LABEL Check attribute position in FileStream
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_read
-//==== LABEL Check if method read of FileStream works properly.
+//==== 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
openStreamReadSuccess = t.step_func(function (fs) {
text = fs.read(5);
fs.close();
- assert_equals(text, expected, "read fs failed, readed '" + text + "', expected '" + expected + "'");
+ assert_equals(text, expected, "read fs failed, read '" + text + "', expected '" + expected + "'");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBase64
-//==== LABEL Check if method readBase64 of FileStream works properly.
+//==== 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
openStreamReadSuccess = t.step_func(function (fs) {
base64 = fs.readBase64(256);
fs.close();
- assert_equals(base64, expected, "read fs failed, readed " + base64 + ", expected " + expected);
+ assert_equals(base64, expected, "read fs failed, read " + base64 + ", expected " + expected);
t.done();
});
<script src="support/filesystem_common.js"></script>
</head>
<body>
-<div id="log"></div>
+<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBase64_exist
-//==== LABEL Check if method readBase64 exists in FileStream
+//==== 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
t.step(function (){
openStreamSuccess = t.step_func(function (fs) {
- assert_true("readBase64" in fs, "readBase64 is exist");
+ assert_true("readBase64" in fs, "readBase64 exists");
fs.close();
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBase64_with_invalid_value
-//==== LABEL Check if throw an exception when readBase64 from a file with invalid value.
+//==== LABEL Check if FileStream::readBase64() method throws exception when argument byteCount=0
//==== 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
<script type="text/javascript">
//==== TEST: FileStream_readBase64_without_r_permission
-//==== LABEL Check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64.
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBase64_writeFile
-//==== LABEL Check if create a new empty file and write content of the file and then read the content of the file as base64
+//==== LABEL Check if 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
openStreamReadSuccess = t.step_func(function (fs) {
base64 = fs.readBase64(256);
fs.close();
- assert_equals(base64, expected, "read fs failed, readed " + base64 + ", expected " + expected);
+ assert_equals(base64, expected, "read fs failed, read " + base64 + ", expected " + expected);
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBytes
-//==== LABEL Check if method readBytes of FileStream works properly.
+//==== 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
bytes = fs.readBytes(256);
fs.close();
assert_type(bytes, "array", "incorrect read type");
- assert_equals(bytes.length, stringToWrite.length, "read fs failed, readed " + bytes.length + ", expected " + stringToWrite.length);
+ 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");
}
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBytes_exist
-//==== LABEL Check if method readBytes exists in FileStream
+//==== 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
t.step(function (){
openStreamSuccess = t.step_func(function (fs) {
- assert_true("readBytes" in fs, "readBytes is exist");
+ assert_true("readBytes" in fs, "readBytes exists");
fs.close();
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBytes_with_invalid_value
-//==== LABEL Check if throw an exception when readBytes from a file with invalid value.
+//==== LABEL Check if FileStream::readBytes() method throws exception when argument byteCount=0
//==== 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
<script type="text/javascript">
//==== TEST: FileStream_readBytes_without_r_permission
-//==== LABEL Check if throw an exception when read the specified number of bytes from a file without r permission.
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBytes_writeFile
-//==== LABEL Check if create a new empty file and write content of the file and then read the content of the file as a byte array
+//==== LABEL Check if 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
openStreamReadSuccess = t.step_func(function (fs) {
bytes = fs.readBytes(256);
fs.close();
- assert_equals(bytes.length, expected, "read fs failed, readed " + bytes.length + ", expected " + expected);
+ assert_equals(bytes.length, expected, "read fs failed, read " + bytes.length + ", expected " + expected);
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_read_exist
-//==== LABEL Check if method read exists in FileStream
+//==== 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
t.step(function (){
openStreamSuccess = t.step_func(function (fs) {
- assert_true("read" in fs, "read is exist");
+ assert_true("read" in fs, "read exists");
fs.close();
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_read_with_invalid_value
-//==== LABEL Check if throw an exception when read a file with invalid value.
+//==== LABEL Check if FileStream::read() method throws exception when argument byteCount=0
//==== 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
<script type="text/javascript">
//==== TEST: FileStream_read_without_r_permission
-//==== LABEL Check if throw an exception when read a file without r permission.
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_read_writeFile
-//==== LABEL Check if create a new empty file and write content of the file and then read the content of the file
+//==== LABEL Check if 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
openStreamRSuccess = t.step_func(function (fs) {
text = fs.read(expected.length);
fs.close();
- assert_equals(text, expected, "read fs failed, readed '" + text + "', expected '" + expected + "'");
+ assert_equals(text, expected, "read fs failed, read '" + text + "', expected '" + expected + "'");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_write
-//==== LABEL Check if method write of FileStream works properly.
+//==== 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
-// check if writes the specified DOMString to a FileStream.
+
var t = async_test(document.title),
resolveSuccess, resolveError, openStreamRSuccess, openStreamWSuccess,
openStreamError, file, text, testString = "abcde", retVal = null,
<div id="log"></div>
<script>
//==== TEST: FileStream_writeBase64
-//==== LABEL Check if method writeBase64 of FileStream works properly.
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_writeBase64_exist
-//==== LABEL Check if method writeBase64 exists in FileStream
+//==== 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
t.step(function (){
openStreamSuccess = t.step_func(function (fs) {
- assert_true("writeBase64" in fs, "writeBase64 is exist");
+ assert_true("writeBase64" in fs, "writeBase64 exists");
fs.close();
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_writeBase64_without_w_permission
-//==== LABEL Check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64.
+//==== LABEL Check if 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
<div id="log"></div>
<script>
//==== TEST: FileStream_writeBytes
-//==== LABEL Check if method writeBytes of FileStream works properly.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: FileStream_writeBytes_byteData_TypeMismatch
-//==== LABEL Check argument onError conversions exception in writeBytes method.
+//==== 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
-// Check if method writeBytes of FileStream works properly.
var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError,
file, conversionTable, bytes, i, exceptionName = "TypeMismatchError",
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_writeBytes_exist
-//==== LABEL Check if method writeBytes exists in FileStream
+//==== 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
-// check if method: writeBytes is exist
//==== 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 is exist");
+ assert_true("writeBytes" in fs, "writeBytes exists");
fs.close();
t.done();
});
<div id="log"></div>
<script>
//==== TEST: FileStream_writeBytes_missarg
-//==== LABEL Check if writeBytes of FileStream with missing non-optional argument works
+//==== 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
-// Check if method writeBytes of FileStream works properly.
var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
expected = "TypeMismatchError",
<script type="text/javascript">
//==== TEST: FileStream_writeBytes_with_additional_null_parameter
-//==== LABEL Check whether 'writeBytes' method properly writes the specified bytes to FileStream
+//==== LABEL Check 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_writeBytes_without_w_permission
-//==== LABEL Check if throw an exception when write the specified bytes to a file without w permission.
+//==== LABEL Check if 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
-// check if throw an exception when write the specified bytes to a file without w permission.
var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
bytes = new Array(104, 101, 108), expected = "IOError",
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_write_exist
-//==== LABEL Check if method write exists in FileStream
+//==== 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
-// check if method: write is exist
+
var t = async_test(document.title),
fsTestFileName = getFileName("existFile08.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
-t.step(function (){
+t.step(function () {
openStreamSuccess = t.step_func(function (fs) {
- assert_true("write" in fs, "write is exist");
+ assert_true("write" in fs, "write exists");
fs.close();
t.done();
});
<script type="text/javascript">
//==== TEST: FileStream_write_without_w_permission
-//==== LABEL Check if throw an exception when write a file without w permission.
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStringSuccessCallback_notexist
-//==== LABEL Check if is possible to call FileStringSuccessCallback in new expresion
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStringSuccessCallback_onsuccess
-//==== LABEL Test whether the type of each argument is equal to the specified in FileStringSuccessCallback.
+//==== LABEL Test whether 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSuccessCallback_notexist
-//==== LABEL Check if is possible to call FileSuccessCallback in new expresion
+//==== 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
<script type="text/javascript">
//==== TEST: FileSuccessCallback_onsuccess
-//==== LABEL Test whether the type of each argument is equal to the specified.
+//==== 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
<script type="text/javascript">
//==== TEST: FileSystemManagerObject_notexist
-//==== LABEL Check if FileSystemManagerObject not exist
+//==== LABEL Interface FileSystemManagerObject should not be accessible
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManagerObject:FileSystemManagerObject U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== PRIORITY P3
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_addStorageStateChangeListener
-//==== LABEL Check addStorageStateChangeListener with non-optional arguments
+//==== LABEL Check if FileSystemManager::addStorageStateChangeListener() method can be called
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-// Check addStorageStateChangeListener with non-optional arguments
var t = async_test(document.title),
successCallback, retValue = null;
t.step(function () {
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_addStorageStateChangeListener_exist
-//==== LABEL Check if method addStorageStateChangeListener of FileSystemManager exists
+//==== LABEL Check if FileSystemManager::addStorageStateChangeListener() method exists
//==== PRIORITY P0
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script>
//==== TEST: FileSystemManager_addStorageStateChangeListener_missarg
//==== PRIORITY P2
-//==== LABEL Check with missing non-optional argument in addStorageStateChangeListener method
+//==== LABEL Check if FileSystemManager::addStorageStateChangeListener() method throws exception for missing mandatory argument
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
<script>
//==== TEST: FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check argument onerror conversions exception in addStorageStateChangeListener method.
+//==== LABEL Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong type of onerror
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
<script>
//==== TEST: FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument onError validation in addStorageStateChangeListener method onerror callback
+//==== LABEL Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong onerror
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-// Check argument onError validation
var t = async_test(document.title),
incorrectCallback, onSuccess;
t.step(function () {
<script>
//==== TEST: FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check argument onSuccess conversions exception in addStorageStateChangeListener method
+//==== LABEL Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong type of onsuccess
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-// Check argument onSuccess conversions exception
var t = async_test(document.title),
i, onSuccess, exceptionName, conversionTable;
t.step(function () {
<script>
//==== TEST: FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument onSuccess validation in addStorageStateChangeListener method onsuccess callback
+//==== LABEL Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong onsuccess
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-// Check argument onSuccess validation
var t = async_test(document.title),
incorrectCallback;
<script>
//==== TEST: FileSystemManager_addStorageStateChangeListener_with_onerror
//==== PRIORITY P1
-//==== LABEL Check with optional arguments addStorageStateChangeListener
+//==== LABEL Check if FileSystemManager::addStorageStateChangeListener() can be called with onerror
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-// Check with optional arguments getStorage
var t = async_test(document.title),
onError, successCallback;
t.step(function (){
<body>
<div id="log"></div>
<script type="text/javascript">
-// TESTS
-
//==== TEST: FileSystemManager_addStorageStateChangeListener_without_arguments
//==== PRIORITY P2
-//==== LABEL Check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly
+//==== LABEL Check if FileSystemManager::addStorageStateChangeListener() throws exception for missing mandatory argument
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
+
test(function () {
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.filesystem.addStorageStateChangeListener();
<script>
//==== TEST: FileSystemManager_extend
//==== PRIORITY P3
-//==== LABEL Check if instance of interface FileSystemManager can be extended with new property
+//==== LABEL Check if instance of FileSystemManager can be extended with new property
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:FileSystemManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA OBX
<script>
//==== TEST: FileSystemManager_getStorage
//==== PRIORITY P1
-//==== LABEL Check with non-optional arguments getStorage
+//==== LABEL Check if FileSystemManager::getStorage() calls onsuccess callback
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-// Check with non-optional arguments getStorage
var t = async_test(document.title),
onSuccess, onError, successCallback, retValue = null;
t.step(function () {
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_getStorage_exist
-//==== LABEL Check if method getStorage of FileSystemManager exists
+//==== LABEL Check if FileSystemManager::getStorage() method exists
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
<script>
//==== TEST: FileSystemManager_getStorage_missarg
//==== PRIORITY P2
-//==== LABEL Check with missing non-optional argument in getStorage method
+//==== LABEL Check if FileSystemManager::getStorage() throws exception for missing mandatory argument
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
<script>
//==== TEST: FileSystemManager_getStorage_onerror_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check argument onerror conversions exception in getStorage method.
+//==== LABEL Check if FileSystemManager::getStorage() throws exception for wrong type of onerror
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-// Check argument onError conversions exception
var t = async_test(document.title), i,
getStorageSuccess, getStorageError, exceptionName,
listStoragesSuccess, listStoragesError, conversionTable;
<script>
//==== TEST: FileSystemManager_getStorage_onerror_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument onError validation in getStorage method onerror callback
+//==== LABEL Check if FileSystemManager::getStorage() throws exception for wrong onerror
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-// Check argument onError validation
var t = async_test(document.title),
getStorageIncorrect, getStorageSuccess,
listStoragesSuccess, listStoragesError;
<script>
//==== TEST: FileSystemManager_getStorage_onsuccess_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check argument onSuccess conversions exception in getStorage method
+//==== LABEL Check if FileSystemManager::getStorage() throws exception for wrong type of onsuccess
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-// Check argument onSuccess conversions exception
var t = async_test(document.title), i,
listStoragesSuccess, listStoragesError, exceptionName,
getStorageSuccess, conversionTable;
<script>
//==== TEST: FileSystemManager_getStorage_onsuccess_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument onSuccess validation in getStorage method onsuccess callback
+//==== LABEL Check if FileSystemManager::getStorage() throws exception for wrong onsuccess
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-// Check argument onSuccess validation
var t = async_test(document.title),
getStorageIncorrect, listStoragesError,
listStoragesSuccess;
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSystemManager_getStorage_with_nonexist_label
-//==== LABEL Check if throw an exception when get information about a storage based on nonexist label.
+//==== LABEL Check if FileSystemManager::getStorage() throws an exception when storage with given label does not exist
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-// check if get information about a storage based on nonexist label
var t = async_test(document.title),
onSuccess, onError, expected = "NotFoundError";
<script>
//==== TEST: FileSystemManager_getStorage_with_onerror
//==== PRIORITY P1
-//==== LABEL Check with optional arguments getStorage
+//==== LABEL Check if FileSystemManager::getStorage() can be called with onerror callback
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-// Check with optional arguments getStorage
var t = async_test(document.title),
getStorageSuccess, getStorageError, listStoragesSuccess, listStoragesError;
t.step(function (){
<script type="text/javascript">
//==== TEST: FileSystemManager_in_tizen
-//==== LABEL Check if FileSystemManager exists in tizen.
+//==== LABEL Check if tizen namespace contains filesystem
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:FileSystemManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script>
//==== TEST: FileSystemManager_listStorages
//==== PRIORITY P1
-//==== LABEL Check with non-optional argument
+//==== LABEL Check if FileSystemManager::listStorages() method works
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-// check if list the available storages on the device.
var t = async_test(document.title),
onSuccess, retValue = null;
t.step(function () {
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_listStorages_exist
-//==== LABEL Check if method listStorages of FileSystemManager exists
+//==== LABEL Check if FileSystemManager::listStorages() method exists
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
<script>
//==== TEST: FileSystemManager_listStorages_missarg
//==== PRIORITY P2
-//==== LABEL Check with missing non-optional argument in listStorages method
+//==== LABEL Check if FileSystemManager::listStorages() throws exception for missing mandatory argument
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
<script>
//==== TEST: FileSystemManager_listStorages_onerror_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check argument onerror conversions exception in listStorages method.
+//==== LABEL Check if FileSystemManager::listStorages() method throws exception for wrong type of onerror
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-// Check argument onError conversions exception
var t = async_test(document.title), i,
listStoragesSuccess, exceptionName, listStoragesSuccess, listStoragesError,
conversionTable;
<script>
//==== TEST: FileSystemManager_listStorages_onerror_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument onError validation in listStorages method onerror callback
+//==== LABEL Check if FileSystemManager::listStorages() method throws exception for wrong onerror
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-// Check argument onError validation
var t = async_test(document.title),
listStoragesIncorrect, listStoragesSuccess;
<script>
//==== TEST: FileSystemManager_listStorages_onsuccess_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check argument onSuccess conversions exception in listStorages method
+//==== LABEL Check if FileSystemManager::listStorages() method throws exception for wrong type of onsuccess
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-// Check argument onSuccess conversions exception
var t = async_test(document.title), i,
exceptionName, listStoragesSuccess, listStoragesError, conversionTable;
<script>
//==== TEST: FileSystemManager_listStorages_onsuccess_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument onSuccess validation in listStorages method onsuccess callback
+//==== LABEL Check if FileSystemManager::listStorages() method throws exception for wrong onsuccess
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-// Check argument onSuccess validation
var t = async_test(document.title),
listStoragesIncorrect;
<script type="text/javascript">
//==== TEST: FileSystemManager_listStorages_storages_retrieve
-//==== LABEL Check whether 'listStorages' method properly retrieves the available storages on the device
+//==== LABEL Check if FileSystemManager::listStorages() method properly retrieves the available storages on the device
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
<body>
<div id="log"></div>
<script type="text/javascript">
-// TESTS
//==== TEST: FileSystemManager_listStorages_with_invalid_error_callbacks
-//==== LABEL Check whether invoking 'listStorages' method with improper argument throws exception properly
+//==== LABEL Check if FileSystemManager::listStorages() method throws exception for wrong type of onerror (literals)
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST: FileSystemManager_listStorages_with_onerror
//==== PRIORITY P1
-//==== LABEL Check with optional arguments listStorages
+//==== LABEL Check if FileSystemManager::listStorages() can be called with onerror argument
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA MR
<body>
<div id="log"></div>
<script type="text/javascript">
-// TESTS
-
//==== TEST: FileSystemManager_listStorages_without_arguments
-//==== LABEL Check whether invoking 'listStorages' method without any argument throws exception properly
+//==== LABEL Check if FileSystemManager::listStorages() method throws exception for missing mandatory argument
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
+
test(function () {
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.filesystem.listStorages();
<script type="text/javascript">
//==== TEST: FileSystemManager_listStorages_works_correctly
-//==== LABEL Check whether 'listStorages' method returns the available storages on the device
+//==== LABEL Check if FileSystemManager::listStorages() method invokes onsuccess callback
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
//==== TEST: FileSystemManager_maxPathLength_attribute
//==== PRIORITY P1
-//==== LABEL Check if maxPathLength attribute exists
+//==== LABEL Check if FileSystemManager::maxPathLength attribute exists
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:maxPathLength A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
<script>
//==== TEST: FileSystemManager_notexist
//==== PRIORITY P3
-//==== LABEL Check if interface FileSystemManager exists, it should not.
+//==== LABEL Interface FileSystemManager should not be accessible
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:FileSystemManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA NIO
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_removeStorageStateChangeListener
-//==== LABEL Check removeStorageStateChangeListener with non-optional arguments
+//==== LABEL Check if FileSystemManager::removeStorageStateChangeListener() method works with only mandatory arguments
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:removeStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-// Check removeStorageStateChangeListener with non-optional arguments
var t = async_test(document.title),
successCallback, watch, retValue = null;
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_removeStorageStateChangeListener_exist
-//==== LABEL Check if method removeStorageStateChangeListener of FileSystemManager exists
+//==== LABEL Check if FileSystemManager::removeStorageStateChangeListener() method exists
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:removeStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_removeStorageStateChangeListener_with_para_invalid
-//==== LABEL Check if throw an exception when removeStorageStateChangeListener with an invalid input parameter.
+//==== LABEL Check if FileSystemManager::removeStorageStateChangeListener() method throws NotFoundError when given invalid watchId
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:removeStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script type="text/javascript">
//==== TEST: FileSystemManager_removeStorageStateChangeListener_works_correctly
-//==== LABEL Check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes
+//==== LABEL Check if FileSystemManager::removeStorageStateChangeListener() method can be called with valid watchId
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:removeStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA
//==== TEST: FileSystemManager_resolve
//==== PRIORITY P1
-//==== LABEL Check with non-optional arguments resolve
+//==== 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_documents
-//==== LABEL Check if resolve documents to a file handle.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_downloads
-//==== LABEL Check if resolve downloads to a file handle.
+//==== 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: FileSystemManager_resolve_error_invoked
//==== PRIORITY P2
-//==== LABEL Check with error callback invoked
+//==== 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
//==== TEST: FileSystemManager_resolve_exist
//==== PRIORITY P0
-//==== LABEL Check if method can be overriden
+//==== 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
<script>
//==== TEST: FileSystemManager_resolve_images
-//==== LABEL Check if resolve images to a file handle.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_invalid_location
-//==== LABEL Check if throw an exception when resolve an invalid location.
+//==== LABEL Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument
//==== 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
<script>
//==== TEST: FileSystemManager_resolve_missarg
-//==== LABEL Check with missing non-optional argument in resolve method
+//==== 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: FileSystemManager_resolve_mode_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check argument mode conversions exception
+//==== 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_mode_a
-//==== LABEL Check if resolve a location with 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_mode_r
-//==== LABEL Check if resolve a location with 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_mode_w
-//==== LABEL Check if resolve a location with 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_music
-//==== LABEL Check if resolve music to a file handle.
+//==== 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: FileSystemManager_resolve_onerror_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check argument onerror conversions exception in resolve method.
+//==== 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
//==== TEST: FileSystemManager_resolve_onerror_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument onError validation in resolve method onerror callback
+//==== 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
//==== TEST: FileSystemManager_resolve_onsuccess_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check argument onSuccess conversions exception in resolve method
+//==== 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
//==== TEST: FileSystemManager_resolve_onsuccess_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument onSuccess validation in resolve method onsuccess callback
+//==== 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
<script>
//==== TEST: FileSystemManager_resolve_ringtones
-//==== LABEL Check if resolve ringtones to a file handle.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_a
-//==== LABEL Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a
+//==== LABEL Check if 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_rw
-//==== LABEL Check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw
+//==== LABEL Check if 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_w
-//==== LABEL Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w
+//==== LABEL Check if 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_videos
-//==== LABEL Check if resolve videos to a file handle.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_a
-//==== LABEL Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a
+//==== LABEL Check if 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_rw
-//==== LABEL Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw
+//==== LABEL Check if 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
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_w
-//==== LABEL Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w
+//==== LABEL Check if 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
<script>
//==== TEST: FileSystemManager_resolve_wgt_package
-//==== LABEL Check if resolve wgt-package to a file handle.
+//==== 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
<script>
//==== TEST: FileSystemManager_resolve_wgt_private
-//==== LABEL Check if resolve wgt-private to a file handle.
+//==== 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
<script>
//==== TEST: FileSystemManager_resolve_wgt_private_tmp
-//==== LABEL Check if resolve wgt-private-tmp to a file handle.
+//==== 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
//==== TEST: FileSystemManager_resolve_with_mode
//==== PRIORITY P1
-//==== LABEL Check with optional arguments resolve(valid_location, valid_onsuccess, valid_onerror, valid_mode) [METH7]
+//==== 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
//==== TEST: FileSystemManager_resolve_with_onerror
//==== PRIORITY P2
-//==== LABEL Check with optional arguments resolve
+//==== 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
<script type="text/javascript">
//==== TEST: FileSystemManager_resolve_works_correctly
-//==== LABEL Check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved
+//==== LABEL Check 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSystemStorageArraySuccessCallback_notexist
-//==== LABEL Check if is possible to call FileSystemStorageArraySuccessCallback in new expresion
+//==== LABEL Interface FileSystemStorageArraySuccessCallback should not be accessible
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageArraySuccessCallback:FileSystemStorageArraySuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script type="text/javascript">
//==== TEST: FileSystemStorageArraySuccessCallback_onsuccess
-//==== LABEL Test whether the type of each argument is equal to the specified in FileSystemStorageArraySuccessCallback.
+//==== LABEL Test whether FileSystemStorageArraySuccessCallback::onsuccess is called with valid argument
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageArraySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSystemStorageSuccessCallback_notexist
-//==== LABEL Check if is possible to call FileSystemStorageSuccessCallback in new expresion
+//==== LABEL Interface FileSystemStorageSuccessCallback should not be accessible
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageSuccessCallback:FileSystemStorageSuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script type="text/javascript">
//==== TEST: FileSystemStorageSuccessCallback_onsuccess
-//==== LABEL Test whether the type of each argument is equal to the specified in FileSystemStorageSuccessCallback.
+//==== LABEL Test whether FileSystemStorageSuccessCallback::onsuccess is called with valid argument
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageSuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script type="text/javascript">
//==== TEST: FileSystemStorage_extend
-//==== LABEL Test whether the FileSystemStorage object can have new attribute added
+//==== LABEL Check if instance of FileSystemStorage object can be extended with new attribute
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorage:FileSystemStorage U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script type="text/javascript">
//==== TEST: FileSystemStorage_label_attribute
-//==== LABEL Check if attribute label of FileSystemStorage exists, has type DOMString and is readonly
+//==== LABEL Check if FileSystemStorage::label attribute exists, has type DOMString and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemStorage:label A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSystemStorage_notexist
-//==== LABEL Check if is possible to call FileSystemStorage in new expresion
+//==== LABEL Interface FileSystemStorage should not be accessible
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorage:FileSystemStorage U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script type="text/javascript">
//==== TEST: FileSystemStorage_state_attribute
-//==== LABEL Check if attribute state of FileSystemStorage exists, has type FileSystemStorageState and is readonly
+//==== LABEL Check if FileSystemStorage::state attribute exists, has type FileSystemStorageState and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemStorage:state A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
<script type="text/javascript">
//==== TEST: FileSystemStorage_type_attribute
-//==== LABEL Check if attribute type of FileSystemStorage exists, has type FileSystemStorageType and is readonly
+//==== LABEL Check if FileSystemStorage::type attribute exists, has type FileSystemStorageType and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemStorage:type A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
<div id="log"></div>
<script>
//==== TEST: File_copyTo
-//==== LABEL Check if method copyTo of File works properly.
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_dir_overwrite_false
-//==== LABEL Check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false).
+//==== LABEL Check if error callback 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_dir_overwrite_true
-//==== LABEL Check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull.
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_dir_samedir_samename_overwrite_false
-//==== LABEL Check if error callback invoked when copy a directory to the same location with the same name (overwrite is false).
+//==== LABEL Check if error callback 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_dir_samedir_samename_overwrite_true
-//==== LABEL Check if error callback invoked when copy a directory to the same location with the same name (overwrite is true).
+//==== LABEL Check if error callback 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
<script type="text/javascript">
//==== TEST: File_copyTo_exist
-//==== LABEL Check if method copyTo exists in File
+//==== 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
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
- assert_true("copyTo" in dir, "method copyTo is exist");
+ assert_true("copyTo" in dir, "method copyTo exists");
check_method_exists(dir, "copyTo");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_file_overwrite_false
-//==== LABEL Check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false).
+//==== LABEL Check if error callback 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_file_overwrite_true
-//==== LABEL Check if copy a file to another location of the file with the same name (overwrite is true) was successfull.
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_file_samedir_samename_overwrite_false
-//==== LABEL Check if error callback invoked when copy a file to the same location with the same name (overwrite is false).
+//==== LABEL Check if error callback 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_file_samedir_samename_overwrite_true
-//==== LABEL Check if error callback invoked when copy a file to the same location with the same name (overwrite is true)
+//==== LABEL Check if error callback 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
<script type="text/javascript">
//==== TEST: File_copyTo_onerror_TypeMismatch
-//==== LABEL Check argument onError conversions exception in copyTo method.
+//==== 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
<script>
//==== TEST: File_copyTo_onerror_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in copyTo method onError callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_copyTo_onsuccess_TypeMismatch
-//==== LABEL Check argument onSuccess conversions exception in copyTo method.
+//==== 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
<script type="text/javascript">
//==== TEST: File_copyTo_onsuccess_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in copyTo method onSuccess callback.
+//==== LABEL 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_with_destination_invalid
-//==== LABEL Check if throw an exception when copy a file to an invalid destination.
+//==== LABEL Check if File::copyTo() throws exception when copy a file to an invalid destination
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_with_file_handle
-//==== LABEL Check if throw an exception when copyTo with file handle.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_copyTo_with_invalid_filepath
-//==== LABEL Check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly
+//==== LABEL Check if File::copyTo() method with invalid originFilePath param calls errorCallback properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script type="text/javascript">
//==== TEST: File_copyTo_with_invalid_virtual_file
-//==== LABEL Check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly
+//==== LABEL Check if File::copyTo() method with empty originFilePath and destinationFilePath reports error by calling 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
<script type="text/javascript">
//==== TEST: File_copyTo_with_null_success_and_error_callbacks
-//==== LABEL Check whether 'copyTo' method properly copies file in case success and error callbacks are undefined
+//==== LABEL Check 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
<script type="text/javascript">
//==== TEST: File_copyTo_with_onerror
-//==== LABEL Check if method copyTo wit onError optional argument works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_copyTo_with_onsuccess
-//==== LABEL Check if method copyTo with onSuccess optional argument works properly.
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_with_para_invalid
-//==== LABEL Check if throw an exception when copyTo with invalid parameters.
+//==== LABEL Check if File::copyTo() method throws an exception when destinationFilePath is invalid
//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_writeFile_newName
-//==== LABEL Check if create a new empty file and write content of the file and then copy the file to the same location with different file name
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_writeFile_overwrite_false
-//==== LABEL Check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_writeFile_subdir
-//==== LABEL Check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_createDirectory
-//==== LABEL Check if method createDirectory of File works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_createDirectory_exist
-//==== LABEL Check if method createDirectory exists in File
+//==== 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
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
- assert_true("createDirectory" in dir, "method createDirectory is exist");
+ assert_true("createDirectory" in dir, "method createDirectory exists");
check_method_exists(dir, "createDirectory");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_createDirectory_level2
-//==== LABEL Check if create directory of two levels.
+//==== 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
<script type="text/javascript">
//==== TEST: File_createFile
-//==== LABEL Check if method createFile of File works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_createFile_exist
-//==== LABEL Check if method createFile exists in File
+//==== 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
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
- assert_true("createFile" in dir, "method createFile is exist");
+ assert_true("createFile" in dir, "method createFile exists");
check_method_exists(dir, "createFile");
t.done();
});
<script type="text/javascript">
//==== TEST: File_createFile_existing_file
-//==== LABEL Create 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_createFile_with_invalid_name
-//==== LABEL Check if throw an exception when create file with invalid file name.
+//==== LABEL Check if File::createFile() throws an exception when create file with invalid file name
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:createFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
<script type="text/javascript">
//==== TEST: File_created_attribute
-//==== LABEL Check if attribute created of File exists, has type Date and is readonly
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory
-//==== LABEL Check if method deleteDirectory of File works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_documents
-//==== LABEL Check if create a new directory in documents and then delete the directory
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_downloads
-//==== LABEL Check if create a new directory in downloads and then delete the directory
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_images
-//==== LABEL Check if create a new directory in images and then delete the directory
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_music
-//==== LABEL Check if create a new directory in music and then delete the directory
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_videos
-//==== LABEL Check if create a new directory in videos and then delete the directory
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_exist
-//==== LABEL Check if method deleteDirectory exists in File
+//==== 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
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
- assert_true("deleteDirectory" in dir, "method deleteDirectory is exist");
+ assert_true("deleteDirectory" in dir, "method deleteDirectory exists");
check_method_exists(dir, "deleteDirectory");
t.done();
});
<script type="text/javascript">
//==== TEST: File_deleteDirectory_onerror_TypeMismatch
-//==== LABEL Check argument onError conversions exception in deleteDirectory method.
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_onerror_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in deleteDirectory method onError callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_onsuccess_TypeMismatch
-//==== LABEL Check argument onSuccess conversions exception in deleteDirectory method.
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_onsuccess_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in deleteDirectory method onSuccess callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_empty_path
-//==== LABEL Check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly
+//==== LABEL Check 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_file_handle
-//==== LABEL Check if throw an exception when delete a dir with file handle.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_null_callbacks
-//==== LABEL Check whether 'deleteDirectory' method properly removes a specified directory
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_onerror
-//==== LABEL Check if method deleteDirectory wit onError optional argument works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_onsuccess
-//==== LABEL Check if method deleteDirectory wit onSuccess optional argument works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteFile
-//==== LABEL Check if method deleteFile of File works properly.
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_copyFile_downloads
-//==== LABEL Check if create a new file in downloads and copy the file to another location and then delete the file
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_copyFile_images
-//==== LABEL Check if create a new file in images and copy the file to another location and then delete the file
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_copyFile_music
-//==== LABEL Check if create a new file in music and copy the file to another location and then delete the file
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_copyFile_videos
-//==== LABEL Check if create a new file in videos and copy the file to another location and then delete the file
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_createFile
-//==== LABEL Check if create a new file and then delete the file
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteFile_exist
-//==== LABEL Check if method deleteFile exists in File
+//==== 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
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
- assert_true("deleteFile" in dir, "method deleteFile is exist");
+ assert_true("deleteFile" in dir, "method deleteFile exists");
check_method_exists(dir, "deleteFile");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_listDocumentsFiles
-//==== LABEL Check if delete the list of all files in documents
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_listDownloadsFiles
-//==== LABEL Check if delete the list of all files in downloads
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteFile_listImagsFiles
-//==== LABEL Check if delete the list of all files in images
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_listMusicFiles
-//==== LABEL Check if delete the list of all files in music
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_listVideosfiles
-//==== LABEL Check if delete the list of all files in videos
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteFile_onerror_TypeMismatch
-//==== LABEL Check argument onError conversions exception in deleteFile method.
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteFile_onerror_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in deleteFile method onError callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_deleteFile_onsuccess_TypeMismatch
-//==== LABEL Check argument onsuccess conversions exception in deleteFile method.
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteFile_onsuccess_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in deleteFile method onSuccess callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_deleteFile_with_dir_handle
-//==== LABEL Check if throw an exception when delete a file with dir handle.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteFile_with_nonexist
-//==== LABEL Check if throw an exception when delete a file which not exist.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_deleteFile_with_onerror
-//==== LABEL Check if method deleteFile wit onError optional argument works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteFile_with_onsuccess
-//==== LABEL Check if method deleteFile with onSuccess optional argument works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteFile_with_vaild_callbacks
-//==== LABEL Check whether 'deleteFile' method properly removes a specified file
+//==== 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
<script type="text/javascript">
//==== TEST: File_deleteFile_with_valid_filePath
-//==== LABEL Check whether 'deleteFile' method works properly removing a specified file
+//==== 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
<script type="text/javascript">
//==== TEST: File_extend
-//==== LABEL Test whether the File object can have new attribute added
+//==== 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
<script type="text/javascript">
//==== TEST: File_fileSize_attribute
-//==== LABEL Check if attribute fileSize of File exists, has type Number and is readonly
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_fullPath_attribute
-//==== LABEL Check if attribute fullPath of File exists, has type DOMString and is readonly
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_isDirectory_attribute
-//==== LABEL Check if attribute isDirectory of File exists, has type Boolean and is readonly
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_isFile_attribute
-//==== LABEL Check if attribute isFile of File exists, has type Boolean and is readonly
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_length_attribute
-//==== LABEL Check if attribute length of File exists, has type Number and is readonly
+//==== LABEL Check if 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
<script>
//==== TEST: File_listFiles
-//==== LABEL Check if method listFiles of File works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_listFiles_createFiles
-//==== LABEL Check if create a new directory and then list all files in this directory
+//==== LABEL Check if 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
<script>
//==== TEST: File_listFiles_exist
-//==== LABEL Check if method listFiles exists in File
+//==== 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
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
- assert_true("listFiles" in dir, "method listFiles is exist");
+ assert_true("listFiles" in dir, "method listFiles exists");
check_method_exists(dir, "listFiles");
t.done();
});
<script>
//==== TEST: File_listFiles_filter_TypeMismatch
-//==== LABEL Check argument filter conversions exception.
+//==== 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
<script type="text/javascript">
//==== TEST: File_listFiles_filter_empty
-//==== LABEL Check with empty FileFilter argument of listFiles
+//==== 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: File_listFiles_missarg
//==== PRIORITY: P2
-//==== LABEL Check if listFiles of File with missing non-optional argument works
+//==== 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
<script type="text/javascript">
//==== TEST: File_listFiles_onerror_TypeMismatch
-//==== LABEL Check argument onError conversions exception in listFiles method.
+//==== 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
<script type="text/javascript">
//==== TEST: File_listFiles_onerror_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in listFiles method onError callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_listFiles_onsuccess_TypeMismatch
-//==== LABEL Check argument onSuccess conversions exception in listFiles method.
+//==== 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
<script type="text/javascript">
//==== TEST: File_listFiles_onsuccess_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in listFiles method onSuccess callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_listFiles_with_file_handle
-//==== LABEL Check if throw an exception when listFiles with a file handle.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_listFiles_with_filter
-//==== LABEL Check if list files in documents directory 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
<script type="text/javascript">
//==== TEST: File_listFiles_with_onerror
-//==== LABEL Check if method listFiles wit onError optional argument works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_listFiles_with_valid_successCallback
-//==== LABEL Check whether 'listFiles' method properly retrieves the list of files in directory
+//==== LABEL Check 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
<script type="text/javascript">
//==== TEST: File_modified_attribute
-//==== LABEL Check if attribute modified of File exists, has type Date and is readonly
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_moveTo
-//==== LABEL Check if method moveTo of File works properly.
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_moveTo_dir_samedir_samename_overwrite_false
-//==== LABEL Check if error callback invoked when move a directory to the same location with the same name (overwrite is false).
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_moveTo_dir_samedir_samename_overwrite_true
-//==== LABEL Check if error callback invoked when move a directory to the same location with the same name (overwrite is true).
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_moveTo_empty_destination_source_and_destination_paths
-//==== LABEL Check whether invoking 'moveTo' method with improper arguments calls error callback function properly
+//==== LABEL Check 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
<script type="text/javascript">
//==== TEST: File_moveTo_exist
-//==== LABEL Check if method moveTo exists in File
+//==== 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
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
- assert_true("moveTo" in dir, "method moveTo is exist");
+ assert_true("moveTo" in dir, "method moveTo exists");
check_method_exists(dir, "moveTo");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_moveTo_file_samedir_samename_overwrite_false
-//==== LABEL Check if error callback invoked when move a file to the same location with the same name (overwrite is false).
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_moveTo_file_samedir_samename_overwrite_true
-//==== LABEL Check if error callback invoked when move a file to the same location with the same name (overwrite is true)
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_moveTo_onerror_TypeMismatch
-//==== LABEL Check argument onError conversions exception in moveTo method.
+//==== 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
<script type="text/javascript">
//==== TEST: File_moveTo_onerror_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in moveTo method onError callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_moveTo_onsuccess_TypeMismatch
-//==== LABEL Check argument onSuccess conversions exception in moveTo method.
+//==== 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
<script type="text/javascript">
//==== TEST: File_moveTo_onsuccess_invalid_cb
-//==== LABEL Check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_moveTo_with_additional_null_parameter
-//==== LABEL Check whether 'moveTo' method invoked with additional null parameter properly transfers a file
+//==== LABEL Check 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
<script type="text/javascript">
//==== TEST: File_moveTo_with_file_handle
-//==== LABEL Check if errorCallback will be invoked when moveTo will be used with file handle.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_moveTo_with_invalid_filePath
-//==== LABEL Check whether invoking 'moveTo' method with improper argument calls error callback function properly
+//==== LABEL Check if File::moveTo() calls errorCallback when source file does not exist
//==== 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
resolveSuccess = t.step_func(function (dir) {
for (i = 0; i < param.length; i++) {
dir.moveTo(param[i], dir.fullPath + "/" + fsTestFileName, true,
- moveToSuccess, moveToError);
+ moveToSuccess, moveToError);
}
});
<script type="text/javascript">
//==== TEST: File_moveTo_with_onerror
-//==== LABEL Check if method moveTo wit onError optional argument works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_moveTo_with_onsuccess
-//==== LABEL Check if method moveTo wit onSuccess optional argument works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_moveTo_with_path_invalid
-//==== LABEL Check if throw an exception when move a file to an invalid path.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_moveTo_writeFile_newName
-//==== LABEL Check if create a new empty file and write content of the file and then move the file to the same location with different file name
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_moveTo_writeFile_overwrite_false
-//==== LABEL Check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_moveTo_writeFile_subdir
-//==== LABEL Check if create a new empty file and write content of the file and then move the file to subdirectory with same file name
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_name_attribute
-//==== LABEL Check if attribute name of File exists, has type DOMString and is readonly
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_notexist
-//==== LABEL Check if is possible to call File in new expresion
+//==== 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
<script type="text/javascript">
//==== TEST: File_openStream
-//==== LABEL Check if method openStream of File works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_openStream_encoding_invalid
-//==== LABEL Check if throw an exception when open the file in invalid encoding.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_openStream_exist
-//==== LABEL Check if method openStream exists in File
+//==== 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
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
- assert_true("openStream" in dir, "method openStream is exist");
+ assert_true("openStream" in dir, "method openStream exists");
check_method_exists(dir, "listFiles");
t.done();
});
//==== TEST: File_openStream_missarg
//==== PRIORITY: P2
-//==== LABEL Check if openStream of File with missing non-optional argument works
+//==== 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
<script>
//==== TEST: File_openStream_mode_TypeMismatch
-//==== LABEL Check argument mode conversions exception.
+//==== 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
<script type="text/javascript">
//==== TEST: File_openStream_mode_a
-//==== LABEL Check if open the file with 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
<script type="text/javascript">
//==== TEST: File_openStream_mode_r
-//==== LABEL Check if open the file with 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
<script type="text/javascript">
//==== TEST: File_openStream_mode_rw
-//==== LABEL Check if open the file with 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
<script type="text/javascript">
//==== TEST: File_openStream_mode_w
-//==== LABEL Check if open the file with 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
<div id="log"></div>
<script>
//==== TEST: File_openStream_onerror_TypeMismatch
-//==== LABEL Check argument onError conversions exception in openStream method.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: File_openStream_onerror_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in openStream method onError callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_openStream_onsuccess_TypeMismatch
-//==== LABEL Check argument onSuccess conversions exception in openStream method.
+//==== 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
<script>
//==== TEST: File_openStream_onsuccess_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in openStream method onSuccess callback.
+//==== LABEL 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
<script type="text/javascript">
//==== TEST: File_openStream_with_encoding
-//==== LABEL Check if method openStream wit encoding optional argument works properly.
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_openStream_with_nonexist_file
-//==== LABEL Check if throw an exception when open the file which not exist.
+//==== LABEL Check if 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
<script>
//==== TEST: File_openStream_with_onerror
-//==== LABEL Check if method openStream wit onError optional argument works properly.
+//==== 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
<script>
//==== TEST: File_parent_attribute
-//==== LABEL Check if attribute parent of File exists, has type File and is readonly
+//==== 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
<script type="text/javascript">
//==== TEST: File_parent_attribute_notnull_using_resolve
-//==== LABEL Check if attribute parent of File is not null when using resolve method
+//==== LABEL Check if 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
-//Check if attribute parent of File is not null when using resolve method
var t = async_test(document.title),
resolveSuccess, resolveError, resolveFileSuccess, fsTestFileName;
<script type="text/javascript">
//==== TEST: File_path_attribute
-//==== LABEL Check if attribute path of File exists, has type DOMString and is readonly
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_readAsText
-//==== LABEL Check if method readAsText of File works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_readAsText_encoding_invalid
-//==== LABEL Check if throw an exception when readAsText in invalid encoding.
+//==== 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
<script type="text/javascript">
//==== TEST: File_readAsText_exist
-//==== LABEL Check if method readAsText exists in File
+//==== 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
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
- assert_true("readAsText" in dir, "method readAsText is exist");
+ assert_true("readAsText" in dir, "method readAsText exists");
check_method_exists(dir, "readAsText");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listDocumentsFiles
-//==== LABEL Check if list all files in documents and then read the content of the file as a DOMString
+//==== LABEL Check if 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
t.step(function (){
readAsTextSuccess = t.step_func(function (str) {
- assert_equals(str, text, "text readed from file is wrong");
+ assert_equals(str, text, "text read from file is wrong");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listDownloadsFiles
-//==== LABEL Check if list all files in downloads and then read the content of the file as a DOMString
+//==== LABEL Check if 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
t.step(function (){
readAsTextSuccess = t.step_func(function (str) {
- assert_equals(str, text, "text readed from file is wrong");
+ assert_equals(str, text, "text read from file is wrong");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listImagesFiles
-//==== LABEL Check if list all files in images and then read the content of the file as a DOMString
+//==== LABEL Check if 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
t.step(function (){
readAsTextSuccess = t.step_func(function (str) {
- assert_equals(str, text, "text readed from file is wrong");
+ assert_equals(str, text, "text read from file is wrong");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listMusicFiles
-//==== LABEL Check if list all files in music and then read the content of the file as a DOMString
+//==== LABEL Check if 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
t.step(function (){
readAsTextSuccess = t.step_func(function (str) {
- assert_equals(str, text, "text readed from file is wrong");
+ assert_equals(str, text, "text read from file is wrong");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listVideosFiles
-//==== LABEL Check if list all files in videos and then read the content of the file as a DOMString
+//==== LABEL Check if 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
t.step(function (){
readAsTextSuccess = t.step_func(function (str) {
- assert_equals(str, text, "text readed from file is wrong");
+ assert_equals(str, text, "text read from file is wrong");
t.done();
});
//==== TEST: File_readAsText_missarg
//==== PRIORITY: P2
-//==== LABEL Check if readAsText of File with missing non-optional argument works
+//==== 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
<div id="log"></div>
<script>
//==== TEST: File_readAsText_onerror_TypeMismatch
-//==== LABEL Check argument onError conversions exception in readAsText method.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: File_readAsText_onerror_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in readAsText method onError callback.
+//==== LABEL 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
<div id="log"></div>
<script>
//==== TEST: File_readAsText_onsuccess_TypeMismatch
-//==== LABEL Check argument onSuccess conversions exception in readAsText method.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: File_readAsText_onsuccess_invalid_cb
-//==== LABEL Test whether the constructor of the interface is defined or not in readAsText method onSuccess callback.
+//==== LABEL 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
<div id="log"></div>
<script>
//==== TEST: File_readAsText_with_encoding
-//==== LABEL Check if method readAsText wit encoding optional argument works properly.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: File_readAsText_with_onerror
-//==== LABEL Check if method readAsText wit onError optional argument works properly.
+//==== 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
<div id="log"></div>
<script>
//==== TEST: File_readOnly_attribute
-//==== LABEL Check if attribute readOnly of File exists, has type Boolean and is readonly
+//==== LABEL Check if 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
<div id="log"></div>
<script>
//==== TEST: File_resolve
-//==== LABEL Check if method resolve of File works properly.
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_resolve_exist
-//==== LABEL Check if method resolve exists in File
+//==== 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
onSuccess, onError;
t.step(function (){
onSuccess = t.step_func(function (dir) {
- assert_true("resolve" in dir, "method resolve is exist");
+ assert_true("resolve" in dir, "method resolve exists");
check_method_exists(dir, "resolve");
t.done();
});
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_resolve_with_invalid_para
-//==== LABEL Check if throw an exception when resolve a file with the incompatible input parameter.
+//==== LABEL Check if File::resolve() throws exception when file given by filePath does 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
<script type="text/javascript">
//==== TEST: File_resolve_with_nonexist
-//==== LABEL Check if throw an exception when resolve a file which not exist.
+//==== LABEL Check if 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
<script type="text/javascript">
//==== TEST: File_toURI
-//==== LABEL Check if method toURI of File works properly.
+//==== 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
<script type="text/javascript">
//==== TEST: File_toURI_exist
-//==== LABEL Check if method toURI exists in File
+//==== 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
<script type="text/javascript">
//==== TEST: File_toURI_extra_argument
-//==== LABEL Check if method toURI of File accepts extra argument
+//==== 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_toURI_with_nonexist_file
-//==== LABEL Check if throw an exception when get a URI of nonexist file.
+//==== LABEL Check if 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
<div id="log"></div>
<script type="text/javascript">
//==== TEST: filesystem_FileStreamSuccessCallback_onsuccess
-//==== LABEL Check if FileStreamSuccessCallback method: onsuccess is exist
+//==== 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
-// check if FileStreamSuccessCallback method: onSuccess is exist
var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
fsTestFileName = getFileName("successFile.txt");
<div id="log"></div>
<script type="text/javascript">
//==== TEST: filesystem_File_copyTo
-//==== LABEL Check if copy a file successfully
+//==== 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
-// check if copy a file successfully
var t = async_test(document.title),
createFile, resolveSuccess, resolveError, copyToSuccess, copyToError,
fsTestFileName = getFileName("copyFile.txt");
<div id="log"></div>
<script type="text/javascript">
//==== TEST: filesystem_File_readAsText
-//==== LABEL Check if reads the content of a file as a DOMString.
+//==== LABEL Check if 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
-// check if reads the content of a file as a DOMString.
var t = async_test(document.title), text = "test write method",
testFile, resolveSuccess, resolveError, openStreamSuccess, openStreamError,
readAsTextSuccess, readAsTextError,
t.step(function (){
readAsTextSuccess = t.step_func(function (str) {
- assert_equals(str, text, "text readed from file is wrong");
+ assert_equals(str, text, "text read from file is wrong");
t.done();
});
readAsTextError = t.step_func(function (error) {
<div id="log"></div>
<script type="text/javascript">
//==== TEST: filesystem_File_resolve
-//==== LABEL Check if resolve a file and return a file handle
+//==== LABEL Check if 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
-// check if resolves a file and returns a file handle.
var t = async_test(document.title),
resolveSuccess, resolveError, expected = "object", handle,
fsTestFileName = getFileName("resolve.doc");
<test_definition>
<suite name="tct-filesystem-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Filesystem">
- <testcase purpose="Check if is possible to call FileArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileArraySuccessCallback_notexist">
+ <testcase purpose="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-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileArraySuccessCallback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileArraySuccessCallback_onsuccess">
+ <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-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if is possible to call FileStreamSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStreamSuccessCallback_notexist">
+ <testcase purpose="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-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileStreamSuccessCallback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStreamSuccessCallback_onsuccess">
+ <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-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check attribute bytesAvailable in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_bytesAvailable_attribute">
+ <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-filesystem-tizen-tests/filesystem/FileStream_bytesAvailable_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check proper invocation close()" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_close">
+ <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-filesystem-tizen-tests/filesystem/FileStream_close.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method close exists in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_close_exist">
+ <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-filesystem-tizen-tests/filesystem/FileStream_close_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method close of FileStream accepts extra argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_close_extra_argument">
+ <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-filesystem-tizen-tests/filesystem/FileStream_close_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check attribute eof in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_eof_attribute">
+ <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-filesystem-tizen-tests/filesystem/FileStream_eof_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the FileStream object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_extend">
+ <testcase purpose="Test whether 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-filesystem-tizen-tests/filesystem/FileStream_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if is possible to call FileStream in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_notexist">
+ <testcase purpose="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-filesystem-tizen-tests/filesystem/FileStream_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check attribute position in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_position_attribute">
+ <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-filesystem-tizen-tests/filesystem/FileStream_position_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method read of FileStream works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_read">
+ <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-filesystem-tizen-tests/filesystem/FileStream_read.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method readBase64 of FileStream works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_readBase64">
+ <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-filesystem-tizen-tests/filesystem/FileStream_readBase64.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method readBase64 exists in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_readBase64_exist">
+ <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-filesystem-tizen-tests/filesystem/FileStream_readBase64_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when readBase64 from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBase64_with_invalid_value">
+ <testcase purpose="Check if FileStream::readBase64() method throws exception when argument byteCount=0" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBase64_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_with_invalid_value.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBase64_without_r_permission">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileStream_readBase64_without_r_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file as base64" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBase64_writeFile">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileStream_readBase64_writeFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method readBytes of FileStream works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_readBytes">
+ <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-filesystem-tizen-tests/filesystem/FileStream_readBytes.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method readBytes exists in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_readBytes_exist">
+ <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-filesystem-tizen-tests/filesystem/FileStream_readBytes_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when readBytes from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_with_invalid_value">
+ <testcase purpose="Check if FileStream::readBytes() method throws exception when argument byteCount=0" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_with_invalid_value.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when read the specified number of bytes from a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_without_r_permission">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileStream_readBytes_without_r_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file as a byte array" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBytes_writeFile">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileStream_readBytes_writeFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method read exists in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_read_exist">
+ <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-filesystem-tizen-tests/filesystem/FileStream_read_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when read a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_with_invalid_value">
+ <testcase purpose="Check if FileStream::read() method throws exception when argument byteCount=0" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_with_invalid_value.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when read a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_without_r_permission">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileStream_read_without_r_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_read_writeFile">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileStream_read_writeFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method write of FileStream works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_write">
+ <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-filesystem-tizen-tests/filesystem/FileStream_write.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method writeBase64 of FileStream works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBase64">
+ <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-filesystem-tizen-tests/filesystem/FileStream_writeBase64.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method writeBase64 exists in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_writeBase64_exist">
+ <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-filesystem-tizen-tests/filesystem/FileStream_writeBase64_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBase64_without_w_permission">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileStream_writeBase64_without_w_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method writeBytes of FileStream works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes">
+ <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-filesystem-tizen-tests/filesystem/FileStream_writeBytes.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError conversions exception in writeBytes method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBytes_byteData_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/FileStream_writeBytes_byteData_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method writeBytes exists in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_writeBytes_exist">
+ <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-filesystem-tizen-tests/filesystem/FileStream_writeBytes_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if writeBytes of FileStream with missing non-optional argument works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes_missarg">
+ <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-filesystem-tizen-tests/filesystem/FileStream_writeBytes_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'writeBytes' method properly writes the specified bytes to FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes_with_additional_null_parameter">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBytes_without_w_permission">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileStream_writeBytes_without_w_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method write exists in FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileStream_write_exist">
+ <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-filesystem-tizen-tests/filesystem/FileStream_write_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when write a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_write_without_w_permission">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileStream_write_without_w_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if is possible to call FileStringSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStringSuccessCallback_notexist">
+ <testcase purpose="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-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileStringSuccessCallback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStringSuccessCallback_onsuccess">
+ <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-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if is possible to call FileSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSuccessCallback_notexist">
+ <testcase purpose="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-filesystem-tizen-tests/filesystem/FileSuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSuccessCallback_onsuccess">
+ <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-filesystem-tizen-tests/filesystem/FileSuccessCallback_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if FileSystemManagerObject not exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManagerObject_notexist">
+ <testcase purpose="Interface FileSystemManagerObject should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManagerObject_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManagerObject_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addStorageStateChangeListener with non-optional arguments" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_addStorageStateChangeListener">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method can be called" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_addStorageStateChangeListener">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method addStorageStateChangeListener of FileSystemManager exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_addStorageStateChangeListener_exist">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_addStorageStateChangeListener_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument in addStorageStateChangeListener method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_missarg">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onerror conversions exception in addStorageStateChangeListener method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError validation in addStorageStateChangeListener method onerror callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in addStorageStateChangeListener method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess validation in addStorageStateChangeListener method onsuccess callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments addStorageStateChangeListener" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_addStorageStateChangeListener_with_onerror">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() can be called with onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_addStorageStateChangeListener_with_onerror">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_without_arguments.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if instance of interface FileSystemManager can be extended with new property" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManager_extend">
+ <testcase purpose="Check if instance of FileSystemManager can be extended with new property" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManager_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with non-optional arguments getStorage" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_getStorage">
+ <testcase purpose="Check if FileSystemManager::getStorage() calls onsuccess callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_getStorage">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getStorage of FileSystemManager exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_getStorage_exist">
+ <testcase purpose="Check if FileSystemManager::getStorage() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_getStorage_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument in getStorage method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_missarg">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onerror conversions exception in getStorage method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_onerror_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_onerror_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError validation in getStorage method onerror callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_onerror_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in getStorage method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_onsuccess_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_onsuccess_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess validation in getStorage method onsuccess callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_onsuccess_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when get information about a storage based on nonexist label." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_with_nonexist_label">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws an exception when storage with given label does not exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_with_nonexist_label">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_nonexist_label.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments getStorage" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_getStorage_with_onerror">
+ <testcase purpose="Check if FileSystemManager::getStorage() can be called with onerror callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_getStorage_with_onerror">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if FileSystemManager exists in tizen." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManager_in_tizen">
+ <testcase purpose="Check if tizen namespace contains filesystem" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManager_in_tizen">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_in_tizen.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with non-optional argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages">
+ <testcase purpose="Check if FileSystemManager::listStorages() method works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method listStorages of FileSystemManager exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_exist">
+ <testcase purpose="Check if FileSystemManager::listStorages() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument in listStorages method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_missarg">
+ <testcase purpose="Check if FileSystemManager::listStorages() throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onerror conversions exception in listStorages method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_onerror_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong type of onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_onerror_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError validation in listStorages method onerror callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_onerror_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in listStorages method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_onsuccess_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong type of onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_onsuccess_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess validation in listStorages method onsuccess callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_onsuccess_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong onsuccess" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'listStorages' method properly retrieves the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_storages_retrieve">
+ <testcase purpose="Check if FileSystemManager::listStorages() method properly retrieves the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_storages_retrieve">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_storages_retrieve.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether invoking 'listStorages' method with improper argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong type of onerror (literals)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_invalid_error_callbacks.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments listStorages" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_with_onerror">
+ <testcase purpose="Check if FileSystemManager::listStorages() can be called with onerror argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_with_onerror">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether invoking 'listStorages' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_without_arguments">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_without_arguments">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_without_arguments.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'listStorages' method returns the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_works_correctly">
+ <testcase purpose="Check if FileSystemManager::listStorages() method invokes onsuccess callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_works_correctly.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if maxPathLength attribute exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_maxPathLength_attribute">
+ <testcase purpose="Check if FileSystemManager::maxPathLength attribute exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_maxPathLength_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_maxPathLength_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface FileSystemManager exists, it should not." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManager_notexist">
+ <testcase purpose="Interface FileSystemManager should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManager_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check removeStorageStateChangeListener with non-optional arguments" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener">
+ <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method works with only mandatory arguments" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method removeStorageStateChangeListener of FileSystemManager exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener_exist">
+ <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when removeStorageStateChangeListener with an invalid input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
+ <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method throws NotFoundError when given invalid watchId" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_with_para_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
+ <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method can be called with valid watchId" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_works_correctly.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with non-optional arguments resolve" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve documents to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_documents">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_documents.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve downloads to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_downloads">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_downloads.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with error callback invoked" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_error_invoked">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_error_invoked.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method can be overriden" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_resolve_exist">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve images to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_images">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_images.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when resolve an invalid location." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_invalid_location">
+ <testcase purpose="Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_invalid_location">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_invalid_location.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument in resolve method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_resolve_missarg">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument mode conversions exception" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve a location with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_a">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_a.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve a location with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_r">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_r.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve a location with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_w">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_w.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve music to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_music">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_music.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onerror conversions exception in resolve method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onerror_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError validation in resolve method onerror callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onerror_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in resolve method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onsuccess_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess validation in resolve method onsuccess callback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_onsuccess_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve ringtones to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_ringtones">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_a">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_rw">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_w">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve videos to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_videos">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_videos.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_a">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_w">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve wgt-package to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_package">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_package.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve wgt-private to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_private">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_private.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve wgt-private-tmp to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_wgt_private_tmp">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_private_tmp.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments resolve(valid_location, valid_onsuccess, valid_onerror, valid_mode) [METH7]" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_with_mode">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_mode.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments resolve" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_with_onerror">
+ <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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_works_correctly">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_works_correctly.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageArraySuccessCallback_notexist">
+ <testcase purpose="Interface FileSystemStorageArraySuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageArraySuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileSystemStorageArraySuccessCallback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorageArraySuccessCallback_onsuccess">
+ <testcase purpose="Test whether FileSystemStorageArraySuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorageArraySuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if is possible to call FileSystemStorageSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageSuccessCallback_notexist">
+ <testcase purpose="Interface FileSystemStorageSuccessCallback should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileSystemStorageSuccessCallback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorageSuccessCallback_onsuccess">
+ <testcase purpose="Test whether FileSystemStorageSuccessCallback::onsuccess is called with valid argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorageSuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the FileSystemStorage object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_extend">
+ <testcase purpose="Check if instance of FileSystemStorage object can be extended with new attribute" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute label of FileSystemStorage exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorage_label_attribute">
+ <testcase purpose="Check if FileSystemStorage::label attribute exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorage_label_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_label_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if is possible to call FileSystemStorage in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_notexist">
+ <testcase purpose="Interface FileSystemStorage should not be accessible" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute state of FileSystemStorage exists, has type FileSystemStorageState and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorage_state_attribute">
+ <testcase purpose="Check if FileSystemStorage::state attribute exists, has type FileSystemStorageState and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorage_state_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_state_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute type of FileSystemStorage exists, has type FileSystemStorageType and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorage_type_attribute">
+ <testcase purpose="Check if FileSystemStorage::type attribute exists, has type FileSystemStorageType and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemStorage_type_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_type_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method copyTo of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo">
+ <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-filesystem-tizen-tests/filesystem/File_copyTo.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_overwrite_false">
+ <testcase purpose="Check if error callback 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-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_overwrite_true">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback 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-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback 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-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method copyTo exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_copyTo_exist">
+ <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-filesystem-tizen-tests/filesystem/File_copyTo_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_overwrite_false">
+ <testcase purpose="Check if error callback 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-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if copy a file to another location of the file with the same name (overwrite is true) was successfull." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_overwrite_true">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback 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-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback 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-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError conversions exception in copyTo method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onerror_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in copyTo method onError callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onerror_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_copyTo_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in copyTo method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onsuccess_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in copyTo method onSuccess callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onsuccess_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when copy a file to an invalid destination." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_destination_invalid">
+ <testcase purpose="Check if File::copyTo() throws exception when copy a file to an invalid destination" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_destination_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when copyTo with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_file_handle">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_copyTo_with_file_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_filepath">
+ <testcase purpose="Check if File::copyTo() method with invalid originFilePath param calls errorCallback properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_filepath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_filepath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_virtual_file">
+ <testcase purpose="Check if File::copyTo() method with empty originFilePath and destinationFilePath reports error by calling errorCallback" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_virtual_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_virtual_file.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'copyTo' method properly copies file in case success and error callbacks are undefined" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_null_success_and_error_callbacks">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method copyTo wit onError optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_onerror">
+ <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-filesystem-tizen-tests/filesystem/File_copyTo_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method copyTo with onSuccess optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_onsuccess">
+ <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-filesystem-tizen-tests/filesystem/File_copyTo_with_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when copyTo with invalid parameters." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_para_invalid">
+ <testcase purpose="Check if File::copyTo() method throws an exception when destinationFilePath is invalid" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_para_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_para_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_newName">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newName.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_overwrite_false">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_subdir">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_subdir.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method createDirectory of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_createDirectory">
+ <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-filesystem-tizen-tests/filesystem/File_createDirectory.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method createDirectory exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_createDirectory_exist">
+ <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-filesystem-tizen-tests/filesystem/File_createDirectory_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create directory of two levels." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_level2">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_createDirectory_level2.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method createFile of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_createFile">
+ <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-filesystem-tizen-tests/filesystem/File_createFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method createFile exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_createFile_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-filesystem-tizen-tests/filesystem/File_createFile_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Create existing file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_existing_file">
+ <testcase purpose="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-filesystem-tizen-tests/filesystem/File_createFile_existing_file.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when create file with invalid file name." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_with_invalid_name">
+ <testcase purpose="Check if File::createFile() throws an exception when create file with invalid file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_with_invalid_name">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_with_invalid_name.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute created of File exists, has type Date and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_created_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_created_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method deleteDirectory of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory">
+ <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-filesystem-tizen-tests/filesystem/File_deleteDirectory.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new directory in documents and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_documents">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_documents.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new directory in downloads and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_downloads">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_downloads.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new directory in images and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_images">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_images.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new directory in music and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_music">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_music.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new directory in videos and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_videos">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_videos.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method deleteDirectory exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_deleteDirectory_exist">
+ <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-filesystem-tizen-tests/filesystem/File_deleteDirectory_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError conversions exception in deleteDirectory method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onerror_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_deleteDirectory_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in deleteDirectory method onError callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onerror_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_deleteDirectory_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in deleteDirectory method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onsuccess_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in deleteDirectory method onSuccess callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_onsuccess_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_empty_path">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_empty_path.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when delete a dir with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_with_file_handle">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_file_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'deleteDirectory' method properly removes a specified directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_null_callbacks">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method deleteDirectory wit onError optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_onerror">
+ <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-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method deleteDirectory wit onSuccess optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_onsuccess">
+ <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-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method deleteFile of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile">
+ <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-filesystem-tizen-tests/filesystem/File_deleteFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new file in downloads and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_downloads">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_downloads.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new file in images and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_images">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_images.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new file in music and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_music">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_music.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new file in videos and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_videos">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_videos.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new file and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_createFile">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_createFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method deleteFile exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_deleteFile_exist">
+ <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-filesystem-tizen-tests/filesystem/File_deleteFile_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if delete the list of all files in documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDocumentsFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_listDocumentsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if delete the list of all files in downloads" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDownloadsFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_listDownloadsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if delete the list of all files in images" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listImagsFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_listImagsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if delete the list of all files in music" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listMusicFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_listMusicFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if delete the list of all files in videos" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listVideosfiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_listVideosfiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError conversions exception in deleteFile method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onerror_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-filesystem-tizen-tests/filesystem/File_deleteFile_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in deleteFile method onError callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onerror_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_deleteFile_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onsuccess conversions exception in deleteFile method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onsuccess_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-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in deleteFile method onSuccess callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_onsuccess_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-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when delete a file with dir handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_with_dir_handle">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_with_dir_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when delete a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_with_nonexist">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_deleteFile_with_nonexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method deleteFile wit onError optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_onerror">
+ <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-filesystem-tizen-tests/filesystem/File_deleteFile_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method deleteFile with onSuccess optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_onsuccess">
+ <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-filesystem-tizen-tests/filesystem/File_deleteFile_with_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'deleteFile' method properly removes a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_vaild_callbacks">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'deleteFile' method works properly removing a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_valid_filePath">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/File_deleteFile_with_valid_filePath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the File object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_extend">
+ <testcase purpose="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-filesystem-tizen-tests/filesystem/File_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute fileSize of File exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_fileSize_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_fileSize_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute fullPath of File exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_fullPath_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_fullPath_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute isDirectory of File exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_isDirectory_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_isDirectory_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute isFile of File exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_isFile_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_isFile_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute length of File exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_length_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_length_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method listFiles of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles">
+ <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-filesystem-tizen-tests/filesystem/File_listFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new directory and then list all files in this directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_createFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_listFiles_createFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method listFiles exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_listFiles_exist">
+ <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-filesystem-tizen-tests/filesystem/File_listFiles_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument filter conversions exception." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_listFiles_filter_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with empty FileFilter argument of listFiles" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_empty">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/File_listFiles_filter_empty.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if listFiles of File with missing non-optional argument works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_missarg">
+ <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-filesystem-tizen-tests/filesystem/File_listFiles_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError conversions exception in listFiles method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onerror_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_listFiles_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in listFiles method onError callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onerror_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_listFiles_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in listFiles method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onsuccess_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in listFiles method onSuccess callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_onsuccess_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when listFiles with a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_with_file_handle">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_listFiles_with_file_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if list files in documents directory with filter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_filter">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_listFiles_with_filter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method listFiles wit onError optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_onerror">
+ <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-filesystem-tizen-tests/filesystem/File_listFiles_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'listFiles' method properly retrieves the list of files in directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_valid_successCallback">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/File_listFiles_with_valid_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute modified of File exists, has type Date and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_modified_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_modified_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method moveTo of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo">
+ <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-filesystem-tizen-tests/filesystem/File_moveTo.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_dir_samedir_samename_overwrite_false">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_dir_samedir_samename_overwrite_true">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether invoking 'moveTo' method with improper arguments calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_empty_destination_source_and_destination_paths">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method moveTo exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_moveTo_exist">
+ <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-filesystem-tizen-tests/filesystem/File_moveTo_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback invoked when move a file to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_false">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback invoked when move a file to the same location with the same name (overwrite is true)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_true">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError conversions exception in moveTo method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onerror_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_moveTo_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in moveTo method onError callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onerror_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_moveTo_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in moveTo method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onsuccess_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onsuccess_invalid_cb">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'moveTo' method invoked with additional null parameter properly transfers a file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_additional_null_parameter">
+ <testcase purpose="Check 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-filesystem-tizen-tests/filesystem/File_moveTo_with_additional_null_parameter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if errorCallback will be invoked when moveTo will be used with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_file_handle">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_with_file_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether invoking 'moveTo' method with improper argument calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_invalid_filePath">
+ <testcase purpose="Check if File::moveTo() calls errorCallback when source file does not exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_invalid_filePath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_invalid_filePath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method moveTo wit onError optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_onerror">
+ <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-filesystem-tizen-tests/filesystem/File_moveTo_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method moveTo wit onSuccess optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_onsuccess">
+ <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-filesystem-tizen-tests/filesystem/File_moveTo_with_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when move a file to an invalid path." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_path_invalid">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_with_path_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then move the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_newName">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newName.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_overwrite_false">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then move the file to subdirectory with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_subdir">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_subdir.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute name of File exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_name_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_name_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if is possible to call File in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_notexist">
+ <testcase purpose="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-filesystem-tizen-tests/filesystem/File_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method openStream of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream">
+ <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-filesystem-tizen-tests/filesystem/File_openStream.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when open the file in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_encoding_invalid">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_openStream_encoding_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method openStream exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_openStream_exist">
+ <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-filesystem-tizen-tests/filesystem/File_openStream_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if openStream of File with missing non-optional argument works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_missarg">
+ <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-filesystem-tizen-tests/filesystem/File_openStream_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument mode conversions exception." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_openStream_mode_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if open the file with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_a">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_openStream_mode_a.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if open the file with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_r">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_openStream_mode_r.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if open the file with mode rw." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_rw">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_openStream_mode_rw.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if open the file with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_w">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_openStream_mode_w.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError conversions exception in openStream method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onerror_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_openStream_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in openStream method onError callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onerror_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_openStream_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in openStream method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onsuccess_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_openStream_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in openStream method onSuccess callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_onsuccess_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_openStream_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method openStream wit encoding optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream_with_encoding">
+ <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-filesystem-tizen-tests/filesystem/File_openStream_with_encoding.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when open the file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_with_nonexist_file">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_openStream_with_nonexist_file.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method openStream wit onError optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_openStream_with_onerror">
+ <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-filesystem-tizen-tests/filesystem/File_openStream_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute parent of File exists, has type File and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_parent_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_parent_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute parent of File is not null when using resolve method" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_parent_attribute_notnull_using_resolve">
+ <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-filesystem-tizen-tests/filesystem/File_parent_attribute_notnull_using_resolve.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute path of File exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_path_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_path_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method readAsText of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText">
+ <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-filesystem-tizen-tests/filesystem/File_readAsText.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when readAsText in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_encoding_invalid">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_readAsText_encoding_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method readAsText exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_readAsText_exist">
+ <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-filesystem-tizen-tests/filesystem/File_readAsText_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if list all files in documents and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDocumentsFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_readAsText_listDocumentsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if list all files in downloads and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDownloadsFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_readAsText_listDownloadsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if list all files in images and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listImagesFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_readAsText_listImagesFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if list all files in music and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listMusicFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_readAsText_listMusicFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if list all files in videos and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listVideosFiles">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_readAsText_listVideosFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if readAsText of File with missing non-optional argument works" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_missarg">
+ <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-filesystem-tizen-tests/filesystem/File_readAsText_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onError conversions exception in readAsText method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onerror_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_readAsText_onerror_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in readAsText method onError callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onerror_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_readAsText_onerror_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in readAsText method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onsuccess_TypeMismatch">
+ <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-filesystem-tizen-tests/filesystem/File_readAsText_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in readAsText method onSuccess callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_onsuccess_invalid_cb">
+ <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-filesystem-tizen-tests/filesystem/File_readAsText_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method readAsText wit encoding optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_with_encoding">
+ <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-filesystem-tizen-tests/filesystem/File_readAsText_with_encoding.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method readAsText wit onError optional argument works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_with_onerror">
+ <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-filesystem-tizen-tests/filesystem/File_readAsText_with_onerror.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute readOnly of File exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readOnly_attribute">
+ <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-filesystem-tizen-tests/filesystem/File_readOnly_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method resolve of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_resolve">
+ <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-filesystem-tizen-tests/filesystem/File_resolve.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method resolve exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_resolve_exist">
+ <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-filesystem-tizen-tests/filesystem/File_resolve_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when resolve a file with the incompatible input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_invalid_para">
+ <testcase purpose="Check if File::resolve() throws exception when file given by filePath does not exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_invalid_para">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_invalid_para.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when resolve a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_nonexist">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_resolve_with_nonexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toURI of File works properly." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_toURI">
+ <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-filesystem-tizen-tests/filesystem/File_toURI.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toURI exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_toURI_exist">
+ <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-filesystem-tizen-tests/filesystem/File_toURI_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toURI of File accepts extra argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_toURI_extra_argument">
+ <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-filesystem-tizen-tests/filesystem/File_toURI_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if throw an exception when get a URI of nonexist file." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_toURI_with_nonexist_file">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/File_toURI_with_nonexist_file.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if FileStreamSuccessCallback method: onsuccess is exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_FileStreamSuccessCallback_onsuccess">
+ <testcase purpose="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-filesystem-tizen-tests/filesystem/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if copy a file successfully" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="filesystem_File_copyTo">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/filesystem_File_copyTo.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if reads the content of a file as a DOMString." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_readAsText">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/filesystem_File_readAsText.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if resolve a file and return a file handle" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_resolve">
+ <testcase purpose="Check if 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-filesystem-tizen-tests/filesystem/filesystem_File_resolve.html</test_script_entry>
</description>
<test_definition>
<suite name="tct-filesystem-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Filesystem">
- <testcase purpose="Check if is possible to call FileArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist">
+ <testcase purpose="Interface FileArraySuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileArraySuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_onsuccess">
+ <testcase purpose="Test whether FileArraySuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if is possible to call FileStreamSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist">
+ <testcase purpose="Interface FileStreamSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileStreamSuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_onsuccess">
+ <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with argument of proper type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check attribute bytesAvailable in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_bytesAvailable_attribute">
+ <testcase purpose="Check if FileStream::bytesAvailable attribute exist, is of proper type" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_bytesAvailable_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_bytesAvailable_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check proper invocation close()" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close">
+ <testcase purpose="Check if FileStream::close() method works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_close.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method close exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_exist">
+ <testcase purpose="Check if FileStream::close() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_close_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method close of FileStream accepts extra argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_extra_argument">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_close_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check attribute eof in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_eof_attribute">
+ <testcase purpose="Check if FileStream::eof attribute exists, is Boolean" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_eof_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_eof_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the FileStream object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend">
+ <testcase purpose="Test whether instance of FileStream can be extended with new attribute" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if is possible to call FileStream in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist">
+ <testcase purpose="Interface FileStream should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check attribute position in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_position_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_position_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method read of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read">
+ <testcase purpose="Check if FileStream::read() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method readBase64 of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64">
+ <testcase purpose="Check if FileStream::readBase64() method works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method readBase64 exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_exist">
+ <testcase purpose="Check if FileStream::readBase64() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when readBase64 from a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_with_invalid_value">
+ <testcase purpose="Check if FileStream::readBase64() method throws exception when argument byteCount=0" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_with_invalid_value.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_without_r_permission">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_without_r_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file as base64" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_writeFile">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_writeFile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method readBytes of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes">
+ <testcase purpose="Check if FileStream::readBytes() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method readBytes exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_exist">
+ <testcase purpose="Check if FileStream::readBytes() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when readBytes from a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_with_invalid_value">
+ <testcase purpose="Check if FileStream::readBytes() method throws exception when argument byteCount=0" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_with_invalid_value.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when read the specified number of bytes from a file without r permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_without_r_permission">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_without_r_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file as a byte array" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_writeFile">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_writeFile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method read exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_exist">
+ <testcase purpose="Check if FileStream::read() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when read a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_with_invalid_value">
+ <testcase purpose="Check if FileStream::read() method throws exception when argument byteCount=0" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_with_invalid_value.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when read a file without r permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_without_r_permission">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_without_r_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_writeFile">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_writeFile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method write of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write">
+ <testcase purpose="Check if FileStream::write() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method writeBase64 of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64">
+ <testcase purpose="Check if FileStream::writeBase64() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method writeBase64 exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_exist">
+ <testcase purpose="Check if FileStream::writeBase64() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_without_w_permission">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_without_w_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method writeBytes of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes">
+ <testcase purpose="Check if FileStream::writeBytes() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError conversions exception in writeBytes method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_byteData_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_byteData_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method writeBytes exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_exist">
+ <testcase purpose="Check if FileStream::writeBytes() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if writeBytes of FileStream with missing non-optional argument works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_missarg">
+ <testcase purpose="Check if FileStream::writeBytes() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'writeBytes' method properly writes the specified bytes to FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_with_additional_null_parameter">
+ <testcase purpose="Check 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_without_w_permission">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_without_w_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method write exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_exist">
+ <testcase purpose="Check if FileStream::write() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when write a file without w permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_without_w_permission">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write_without_w_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if is possible to call FileStringSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist">
+ <testcase purpose="Interface FileStringSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileStringSuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_onsuccess">
+ <testcase purpose="Test whether FileStringSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if is possible to call FileSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist">
+ <testcase purpose="Interface FileSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_onsuccess">
+ <testcase purpose="Test whether FileSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if FileSystemManagerObject not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManagerObject_notexist">
+ <testcase purpose="Interface FileSystemManagerObject should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManagerObject_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManagerObject_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addStorageStateChangeListener with non-optional arguments" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method can be called" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method addStorageStateChangeListener of FileSystemManager exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_exist">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument in addStorageStateChangeListener method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_missarg">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onerror conversions exception in addStorageStateChangeListener method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError validation in addStorageStateChangeListener method onerror callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in addStorageStateChangeListener method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess validation in addStorageStateChangeListener method onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments addStorageStateChangeListener" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_with_onerror">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() can be called with onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_with_onerror">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
+ <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_without_arguments.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if instance of interface FileSystemManager can be extended with new property" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_extend">
+ <testcase purpose="Check if instance of FileSystemManager can be extended with new property" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with non-optional arguments getStorage" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage">
+ <testcase purpose="Check if FileSystemManager::getStorage() calls onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getStorage of FileSystemManager exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_exist">
+ <testcase purpose="Check if FileSystemManager::getStorage() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument in getStorage method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_missarg">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onerror conversions exception in getStorage method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onerror_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onerror_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError validation in getStorage method onerror callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onerror_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in getStorage method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onsuccess_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onsuccess_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess validation in getStorage method onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onsuccess_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when get information about a storage based on nonexist label." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_nonexist_label">
+ <testcase purpose="Check if FileSystemManager::getStorage() throws an exception when storage with given label does not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_nonexist_label">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_nonexist_label.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments getStorage" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_onerror">
+ <testcase purpose="Check if FileSystemManager::getStorage() can be called with onerror callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_onerror">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if FileSystemManager exists in tizen." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_in_tizen">
+ <testcase purpose="Check if tizen namespace contains filesystem" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_in_tizen">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_in_tizen.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with non-optional argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages">
+ <testcase purpose="Check if FileSystemManager::listStorages() method works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method listStorages of FileSystemManager exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_exist">
+ <testcase purpose="Check if FileSystemManager::listStorages() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument in listStorages method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_missarg">
+ <testcase purpose="Check if FileSystemManager::listStorages() throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onerror conversions exception in listStorages method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onerror_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong type of onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onerror_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError validation in listStorages method onerror callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onerror_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in listStorages method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onsuccess_TypeMismatch">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong type of onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onsuccess_TypeMismatch">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess validation in listStorages method onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onsuccess_invalid_cb">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'listStorages' method properly retrieves the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_storages_retrieve">
+ <testcase purpose="Check if FileSystemManager::listStorages() method properly retrieves the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_storages_retrieve">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_storages_retrieve.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether invoking 'listStorages' method with improper argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for wrong type of onerror (literals)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_invalid_error_callbacks.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments listStorages" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_onerror">
+ <testcase purpose="Check if FileSystemManager::listStorages() can be called with onerror argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_onerror">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether invoking 'listStorages' method without any argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_without_arguments">
+ <testcase purpose="Check if FileSystemManager::listStorages() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_without_arguments">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_without_arguments.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'listStorages' method returns the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_works_correctly">
+ <testcase purpose="Check if FileSystemManager::listStorages() method invokes onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_works_correctly.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if maxPathLength attribute exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_maxPathLength_attribute">
+ <testcase purpose="Check if FileSystemManager::maxPathLength attribute exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_maxPathLength_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_maxPathLength_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface FileSystemManager exists, it should not." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_notexist">
+ <testcase purpose="Interface FileSystemManager should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check removeStorageStateChangeListener with non-optional arguments" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener">
+ <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method works with only mandatory arguments" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method removeStorageStateChangeListener of FileSystemManager exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_exist">
+ <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when removeStorageStateChangeListener with an invalid input parameter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
+ <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method throws NotFoundError when given invalid watchId" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_with_para_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
+ <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method can be called with valid watchId" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_works_correctly.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with non-optional arguments resolve" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve">
+ <testcase purpose="Check if FileSystemManager::resolve() method can be called with only mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve documents to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents">
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_documents.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve downloads to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads">
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Downloads virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_downloads.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with error callback invoked" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_error_invoked">
+ <testcase purpose="Check 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_error_invoked.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method can be overriden" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_exist">
+ <testcase purpose="Check if FileSystemManager::resolve() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve images to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_images">
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Images virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_images">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_images.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when resolve an invalid location." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_invalid_location">
+ <testcase purpose="Check if FileSystemManager::resolve() method reports NotFoundError by onerror for wrong value of location argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_invalid_location">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_invalid_location.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument in resolve method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_missarg">
+ <testcase purpose="Check if FileSystemManager::resolve() throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument mode conversions exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve a location with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a">
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_a.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve a location with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r">
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'r'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_r.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve a location with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w">
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Documents virtual root and mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_w.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve music to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music">
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Music virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_music.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onerror conversions exception in resolve method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError validation in resolve method onerror callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_invalid_cb">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in resolve method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess validation in resolve method onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_invalid_cb">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve ringtones to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones">
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Ringtones virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve videos to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos">
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Videos virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_videos.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_a">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_w">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve wgt-package to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_package">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_package.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve wgt-private to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_private.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve wgt-private-tmp to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private_tmp">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_private_tmp.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments resolve(valid_location, valid_onsuccess, valid_onerror, valid_mode) [METH7]" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_mode">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_mode.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments resolve" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_onerror">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_works_correctly">
+ <testcase purpose="Check 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_works_correctly.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_notexist">
+ <testcase purpose="Interface FileSystemStorageArraySuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileSystemStorageArraySuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_onsuccess">
+ <testcase purpose="Test whether FileSystemStorageArraySuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if is possible to call FileSystemStorageSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_notexist">
+ <testcase purpose="Interface FileSystemStorageSuccessCallback should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the type of each argument is equal to the specified in FileSystemStorageSuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_onsuccess">
+ <testcase purpose="Test whether FileSystemStorageSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the FileSystemStorage object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_extend">
+ <testcase purpose="Check if instance of FileSystemStorage object can be extended with new attribute" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute label of FileSystemStorage exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_label_attribute">
+ <testcase purpose="Check if FileSystemStorage::label attribute exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_label_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_label_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if is possible to call FileSystemStorage in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_notexist">
+ <testcase purpose="Interface FileSystemStorage should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute state of FileSystemStorage exists, has type FileSystemStorageState and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_state_attribute">
+ <testcase purpose="Check if FileSystemStorage::state attribute exists, has type FileSystemStorageState and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_state_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_state_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute type of FileSystemStorage exists, has type FileSystemStorageType and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_type_attribute">
+ <testcase purpose="Check if FileSystemStorage::type attribute exists, has type FileSystemStorageType and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_type_attribute">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method copyTo of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_false">
+ <testcase purpose="Check if error callback 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_true">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method copyTo exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_exist">
+ <testcase purpose="Check if File::copyTo() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_false">
+ <testcase purpose="Check if error callback 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if copy a file to another location of the file with the same name (overwrite is true) was successfull." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_true">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError conversions exception in copyTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in copyTo method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_invalid_cb">
+ <testcase purpose="Check if File::copyTo() throws exception for wrong errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in copyTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in copyTo method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_invalid_cb">
+ <testcase purpose="Check if File::copyTo() throws exception for wrong successCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when copy a file to an invalid destination." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_destination_invalid">
+ <testcase purpose="Check if File::copyTo() throws exception when copy a file to an invalid destination" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_destination_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when copyTo with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_file_handle">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_file_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_filepath">
+ <testcase purpose="Check if File::copyTo() method with invalid originFilePath param calls errorCallback properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_filepath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_filepath.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_virtual_file">
+ <testcase purpose="Check if File::copyTo() method with empty originFilePath and destinationFilePath reports error by calling errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_virtual_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_virtual_file.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'copyTo' method properly copies file in case success and error callbacks are undefined" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_null_success_and_error_callbacks">
+ <testcase purpose="Check 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method copyTo wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onerror">
+ <testcase purpose="Check if File::copyTo() calls errorCallback (nonexisting originFilePath)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onerror">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method copyTo with onSuccess optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onsuccess">
+ <testcase purpose="Check if File::copyTo() with onSuccess creates a file copy" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when copyTo with invalid parameters." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_para_invalid">
+ <testcase purpose="Check if File::copyTo() method throws an exception when destinationFilePath is invalid" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_para_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_para_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to the same location with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_newName">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newName.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_overwrite_false">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_subdir">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_subdir.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method createDirectory of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory">
+ <testcase purpose="Check if File::createDirectory() method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method createDirectory exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_exist">
+ <testcase purpose="Check if File::createDirectory() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create directory of two levels." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_level2">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory_level2.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method createFile of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile">
+ <testcase purpose="Check if File::createFile() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method createFile exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_exist">
+ <testcase purpose="Check if File::createFile() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Create existing file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_existing_file">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_existing_file.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when create file with invalid file name." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_with_invalid_name">
+ <testcase purpose="Check if File::createFile() throws an exception when create file with invalid file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_with_invalid_name">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_with_invalid_name.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute created of File exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_created_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_created_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method deleteDirectory of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory">
+ <testcase purpose="Check if File::deleteDirectory() method can be called" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new directory in documents and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_documents">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_documents.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new directory in downloads and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_downloads">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_downloads.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new directory in images and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_images">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_images.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new directory in music and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_music">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_music.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new directory in videos and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_videos">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_videos.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method deleteDirectory exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_exist">
+ <testcase purpose="Check if File::deleteDirectory() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError conversions exception in deleteDirectory method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in deleteDirectory method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_invalid_cb">
+ <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in deleteDirectory method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in deleteDirectory method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_invalid_cb">
+ <testcase purpose="Check if File::deleteDirectory() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_empty_path">
+ <testcase purpose="Check if File::deleteDirectory() calls errorCallback when given directoryPath is empty" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_empty_path">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_empty_path.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when delete a dir with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_file_handle">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_file_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'deleteDirectory' method properly removes a specified directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_null_callbacks">
+ <testcase purpose="Check 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method deleteDirectory wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onerror">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method deleteDirectory wit onSuccess optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onsuccess">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method deleteFile of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile">
+ <testcase purpose="Check if File::deleteFile() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new file in downloads and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_downloads">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_downloads.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new file in images and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_images">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_images.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new file in music and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_music">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_music.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new file in videos and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_videos">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_videos.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new file and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_createFile">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_createFile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method deleteFile exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_exist">
+ <testcase purpose="Check if File::deleteFile() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if delete the list of all files in documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDocumentsFiles">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDocumentsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if delete the list of all files in downloads" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDownloadsFiles">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDownloadsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if delete the list of all files in images" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listImagsFiles">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listImagsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if delete the list of all files in music" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listMusicFiles">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listMusicFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if delete the list of all files in videos" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listVideosfiles">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listVideosfiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError conversions exception in deleteFile method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in deleteFile method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_invalid_cb">
+ <testcase purpose="Check if File::deleteFile() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onsuccess conversions exception in deleteFile method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in deleteFile method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_invalid_cb">
+ <testcase purpose="Check if File::deleteFile() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when delete a file with dir handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_dir_handle">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_dir_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when delete a file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_nonexist">
+ <testcase purpose="Check if File::deleteFile() calls errorCallback when given filePath does not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_nonexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_nonexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method deleteFile wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onerror">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method deleteFile with onSuccess optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onsuccess">
+ <testcase purpose="Check if File::deleteFile() method calls given onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'deleteFile' method properly removes a specified file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_vaild_callbacks">
+ <testcase purpose="Check if File::deleteFile() can be called with onsuccess and onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_vaild_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'deleteFile' method works properly removing a specified file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath">
+ <testcase purpose="Check if File::deleteFile() method can be called without onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_valid_filePath.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the File object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend">
+ <testcase purpose="Check if instance of File can be extended with new property" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute fileSize of File exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fileSize_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_fileSize_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute fullPath of File exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fullPath_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_fullPath_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute isDirectory of File exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isDirectory_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_isDirectory_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute isFile of File exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isFile_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_isFile_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute length of File exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_length_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_length_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method listFiles of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles">
+ <testcase purpose="Check if File::listFiles() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new directory and then list all files in this directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_createFiles">
+ <testcase purpose="Check if you can create a new directory and then list files in this directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_createFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_createFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method listFiles exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_exist">
+ <testcase purpose="Check if File::listFiles() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument filter conversions exception." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with empty FileFilter argument of listFiles" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty">
+ <testcase purpose="Check if File::listFiles() can be called with empty object as filter argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_empty.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if listFiles of File with missing non-optional argument works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_missarg">
+ <testcase purpose="Check if File::listFiles() with missing mandatory argument throws exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError conversions exception in listFiles method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in listFiles method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_invalid_cb">
+ <testcase purpose="Check if File::listFiles() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in listFiles method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in listFiles method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_invalid_cb">
+ <testcase purpose="Check if File::listFiles() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when listFiles with a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_file_handle">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_file_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if list files in documents directory with filter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter">
+ <testcase purpose="Check if File::listFiles() works with filter argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_filter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method listFiles wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_onerror">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'listFiles' method properly retrieves the list of files in directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_valid_successCallback">
+ <testcase purpose="Check if File::listFiles() call onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_valid_successCallback">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_valid_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute modified of File exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_modified_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_modified_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method moveTo of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo">
+ <testcase purpose="Check if File::moveTo() can be called successfully" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_false">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_true">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether invoking 'moveTo' method with improper arguments calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_empty_destination_source_and_destination_paths">
+ <testcase purpose="Check 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method moveTo exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_exist">
+ <testcase purpose="Check if File::moveTo() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback invoked when move a file to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_false">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback invoked when move a file to the same location with the same name (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_true">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError conversions exception in moveTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in moveTo method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_invalid_cb">
+ <testcase purpose="Check if File::moveTo() throws exception for wrong onerror" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in moveTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb">
+ <testcase purpose="Check if File::moveTo() throws exception for wrong onsuccess" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'moveTo' method invoked with additional null parameter properly transfers a file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_additional_null_parameter">
+ <testcase purpose="Check 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_additional_null_parameter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if errorCallback will be invoked when moveTo will be used with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_file_handle">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_file_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether invoking 'moveTo' method with improper argument calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_invalid_filePath">
+ <testcase purpose="Check if File::moveTo() calls errorCallback when source file does not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_invalid_filePath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_invalid_filePath.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method moveTo wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onerror">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method moveTo wit onSuccess optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onsuccess">
+ <testcase purpose="Check if File::moveTo() calls successCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when move a file to an invalid path." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_path_invalid">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_path_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then move the file to the same location with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_newName">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newName.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_overwrite_false">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if create a new empty file and write content of the file and then move the file to subdirectory with same file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_subdir">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_subdir.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute name of File exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_name_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_name_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if is possible to call File in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist">
+ <testcase purpose="Interface File should not be accessible" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method openStream of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream">
+ <testcase purpose="Check if File::openStream() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when open the file in invalid encoding." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_encoding_invalid">
+ <testcase purpose="Check if File::openStream() throws an exception for invalid encoding value" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_encoding_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_encoding_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method openStream exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_exist">
+ <testcase purpose="Check if File::openStream() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if openStream of File with missing non-optional argument works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_missarg">
+ <testcase purpose="Check if File::openStream() method throws exception for missing mandatory argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument mode conversions exception." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if open the file with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a">
+ <testcase purpose="Check if File::openStream() works for mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_a.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if open the file with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r">
+ <testcase purpose="Check if File::openStream() works for mode r" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_r.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if open the file with mode rw." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw">
+ <testcase purpose="Check if File::openStream() works for mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_rw.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if open the file with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w">
+ <testcase purpose="Check if File::openStream() works for mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_w.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError conversions exception in openStream method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in openStream method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_invalid_cb">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in openStream method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in openStream method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_invalid_cb">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method openStream wit encoding optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_encoding">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_encoding.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when open the file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_nonexist_file">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_nonexist_file.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method openStream wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_onerror">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute parent of File exists, has type File and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_parent_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute parent of File is not null when using resolve method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute_notnull_using_resolve">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_parent_attribute_notnull_using_resolve.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute path of File exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_path_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_path_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method readAsText of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText">
+ <testcase purpose="Check if File::readAsText() method works properly without errorCallback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when readAsText in invalid encoding." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_encoding_invalid">
+ <testcase purpose="Check if File::readAsText() method throws exception for invalid encoding value" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_encoding_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_encoding_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method readAsText exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_exist">
+ <testcase purpose="Check if File::readAsText() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if list all files in documents and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDocumentsFiles">
+ <testcase purpose="Check if File::readAsText() method works for a file created in Documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDocumentsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDocumentsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if list all files in downloads and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDownloadsFiles">
+ <testcase purpose="Check if File::readAsText() method works for a file created in Downloads" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDownloadsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDownloadsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if list all files in images and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listImagesFiles">
+ <testcase purpose="Check if File::readAsText() method works for a file created in Images" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listImagesFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listImagesFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if list all files in music and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listMusicFiles">
+ <testcase purpose="Check if File::readAsText() method works for a file created in Music" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listMusicFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listMusicFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if list all files in videos and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listVideosFiles">
+ <testcase purpose="Check if File::readAsText() method works for a file created in Videos" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listVideosFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listVideosFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if readAsText of File with missing non-optional argument works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_missarg">
+ <testcase purpose="Check if File::readAsText() throws exception for missing mandatory parameter" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_missarg">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onError conversions exception in readAsText method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_onerror_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in readAsText method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_invalid_cb">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_onerror_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument onSuccess conversions exception in readAsText method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in readAsText method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_invalid_cb">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method readAsText wit encoding optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding">
+ <testcase purpose="Check if File::readAsText() method works with encoding argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_with_encoding.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method readAsText wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_onerror">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute readOnly of File exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readOnly_attribute">
+ <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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readOnly_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method resolve of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve">
+ <testcase purpose="Check if File::resolve() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method resolve exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_exist">
+ <testcase purpose="Check if File::resolve() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when resolve a file with the incompatible input parameter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_invalid_para">
+ <testcase purpose="Check if File::resolve() throws exception when file given by filePath does not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_invalid_para">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_invalid_para.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when resolve a file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_nonexist">
+ <testcase purpose="Check if File::resolve() throws exception when resolving a file which not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_nonexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_nonexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toURI of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI">
+ <testcase purpose="Check if File::toURI() method works properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toURI exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_exist">
+ <testcase purpose="Check if File::toURI() method exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_exist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toURI of File accepts extra argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_extra_argument">
+ <testcase purpose="Check if File::toURI() method accepts extra argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_extra_argument">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if throw an exception when get a URI of nonexist file." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_with_nonexist_file">
+ <testcase purpose="Check if 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">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_with_nonexist_file.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if FileStreamSuccessCallback method: onsuccess is exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess">
+ <testcase purpose="Test whether FileStreamSuccessCallback::onsuccess is called with valid argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if copy a file successfully" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo">
+ <testcase purpose="Check if File::copyTo() can be called" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_copyTo.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if reads the content of a file as a DOMString." component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText">
+ <testcase purpose="Check if File::readAsText() method reads the content of a file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_readAsText.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if resolve a file and return a file handle" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve">
+ <testcase purpose="Check if File::resolve() method called for a file returns a file handle" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_resolve.html</test_script_entry>
</description>