<html>
<head>
<title>FileArraySuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileArraySuccessCallback_notexist
-//==== LABEL: check if is possible to call FileArraySuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileArraySuccessCallback in new expresion
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileArraySuccessCallback:FileArraySuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBNIO
test(function () {
check_no_interface_object("FileArraySuccessCallback");
-}, "FileArraySuccessCallback_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>FileArraySuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileArraySuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileArraySuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileArraySuccessCallback.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileArraySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBOA CBT
-var t = async_test("FileArraySuccessCallback_onsuccess"),
+var t = async_test(document.title),
resolveSuccess, resolveError, listSuccess, i, fsTestFileName, foundValue = false;
t.step(function () {
<html>
<head>
<title>FileStreamSuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStreamSuccessCallback_notexist
-//==== LABEL: check if is possible to call FileStreamSuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileStreamSuccessCallback in new expresion
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileStreamSuccessCallback:FileStreamSuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBNIO
test(function () {
check_no_interface_object("FileStreamSuccessCallback");
-}, "FileStreamSuccessCallback_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>FileStreamSuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStreamSuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileStreamSuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileStreamSuccessCallback.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileStreamSuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBOA CBT
-var t = async_test("FileStreamSuccessCallback_onsuccess"),
+var t = async_test(document.title),
resolveSuccess, resolveError, file, openStreamSuccess,
fsTestFileName = getFileName("filesystem.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<title>FileStream_bytesAvailable_attribute</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:bytesAvailable A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE ARO AT
-var t = async_test("FileStream_bytesAvailable_attribute"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
testStr = "1234", fsTestFileName = getFileName("existFile01.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>FileStream_close</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:close M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MNA MR MNAST
-var t = async_test("FileStream_close"),
+var t = async_test(document.title),
fsTestFileName = getFileName("closeFile.txt"), retVal = null,
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
fs.write("abcdefg");
retVal = fs.close();
assert_equals(retVal, undefined, "incorrect returned value close()");
- assert_throws({name: "IOError"}, function () {
+ assert_throws(IO_EXCEPTION, function () {
fs.read(2);
});
t.done();
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<title>FileStream_close_exist</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:close M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("FileStream_close_exist"),
+var t = async_test(document.title),
fsTestFileName = getFileName("existFile04.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
<head>
<title>FileStream_close_extra_argument</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MNAEX
-var t = async_test("FileStream_close_extra_argument"),
+var t = async_test(document.title),
fsTestFileName = getFileName("TestFile.txt"),
resolveSuccess, resolveError, file, openStreamSuccess, openStreamError;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<title>FileStream_eof_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:eof A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE ARO AT
-var t = async_test("FileStream_eof_attribute"),
+var t = async_test(document.title),
fsTestFileName = getFileName("existFile02.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
t.step(function () {
<html>
<head>
<title>FileStream_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_extend
-//==== LABEL: test whether the FileStream object can have new attribute added
+//==== LABEL Test whether the FileStream object can have new attribute added
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA OBX
-var t = async_test("FileStream_extend"),
+var t = async_test(document.title),
fsTestFileName = getFileName("closeFile.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
<html>
<head>
<title>FileStream_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_notexist
-//==== LABEL: check if is possible to call FileStream in new expresion
+//==== LABEL Check if is possible to call FileStream in new expresion
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("FileStream");
-}, "FileStream_notexist");
+}, document.title);
</script>
</body>
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>FileStream_position_attribute</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:position A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ASG AN
-var t = async_test("FileStream_position_attribute"),
+var t = async_test(document.title),
fsTestFileName = getFileName("existFile0.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_read
-//==== LABEL: Check if method read of FileStream works properly.
+//==== LABEL Check if method read of FileStream works properly.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:read M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-var t = async_test("FileStream_read"),
+var t = async_test(document.title),
fsTestFileName = getFileName("filesystem01.txt"),
resolveSuccess, resolveError, openStreamError, openStreamSuccess,
openStreamReadSuccess, file, expected = "abcde", text;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBase64
-//==== LABEL: Check if method readBase64 of FileStream works properly.
+//==== LABEL Check if method readBase64 of FileStream works properly.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBase64 M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-var t = async_test("FileStream_readBase64"),
+var t = async_test(document.title),
fsTestFileName = getFileName("readBaseFile.txt"),
resolveSuccess, resolveError, openStreamError, openStreamSuccess,
openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBase64 M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("FileStream_readBase64_exist"),
+var t = async_test(document.title),
fsTestFileName = getFileName("existFile07.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBase64_with_invalid_value
-//==== LABEL check if throw an exception when readBase64 from a file with invalid value.
+//==== LABEL Check if throw an exception when readBase64 from a file with invalid value.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBase64 M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_readBase64_with_invalid_value"),
+var t = async_test(document.title),
fsTestFileName = getFileName("write04.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError,
file, expected = "InvalidValuesError";
<script type="text/javascript">
//==== TEST: FileStream_readBase64_without_r_permission
-//==== LABEL check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64.
+//==== LABEL Check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBase64 M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_readBase64_without_r_permission"), testFile,
+var t = async_test(document.title), testFile,
fsTestFileName = getFileName("readBase64WithoutR.txt"), resolveSuccess,
resolveError, openStreamSuccess, openStreamError, expected = "IOError";
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBase64_writeFile
-//==== LABEL check if create a new empty file and write content of the file and then read the content of the file as base64
+//==== LABEL Check if create a new empty file and write content of the file and then read the content of the file as base64
//==== PRIORITY P3
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_readBase64_writeFile"),
+var t = async_test(document.title),
fsTestFileName = getFileName("fileSystem-File03.txt"),
resolveSuccess, resolveError, openStreamError, openStreamSuccess,
openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>FileStream_readBytes</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBytes
-//==== LABEL: Check if method readBytes of FileStream works properly.
+//==== LABEL Check if method readBytes of FileStream works properly.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBytes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-var t = async_test("FileStream_readBytes"), i,
+var t = async_test(document.title), i,
fsTestFileName = getFileName("readBytesFile.txt"), stringToWrite = "1234567",
resolveSuccess, resolveError, openStreamSuccess, openStreamError, len,
openStreamReadSuccess, file, bytes;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBytes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("FileStream_readBytes_exist"),
+var t = async_test(document.title),
fsTestFileName = getFileName("existFile06.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBytes_with_invalid_value
-//==== LABEL check if throw an exception when readBytes from a file with invalid value.
+//==== LABEL Check if throw an exception when readBytes from a file with invalid value.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBytes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_readBytes_with_invalid_value"),
+var t = async_test(document.title),
fsTestFileName = getFileName("write06.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError,
file, text, expected = "InvalidValuesError";
<script type="text/javascript">
//==== TEST: FileStream_readBytes_without_r_permission
-//==== LABEL check if throw an exception when read the specified number of bytes from a file without r permission.
+//==== LABEL Check if throw an exception when read the specified number of bytes from a file without r permission.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBytes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_readBytes_without_r_permission"), testFile,
+var t = async_test(document.title), testFile,
fsTestFileName = getFileName("readBytesWithoutR.txt"),
resolveSuccess, resolveError, openStreamSuccess,
openStreamError, expected = "IOError";
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_readBytes_writeFile
-//==== LABEL check if create a new empty file and write content of the file and then read the content of the file as a byte array
+//==== LABEL Check if create a new empty file and write content of the file and then read the content of the file as a byte array
//==== PRIORITY P3
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_readBytes_writeFile"),
+var t = async_test(document.title),
fsTestFileName = getFileName("fileSystem-File04.txt"),
resolveSuccess, resolveError, openStreamError, openStreamSuccess,
openStreamReadSuccess, file, expected = 7, bytes;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:read M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("FileStream_read_exist"),
+var t = async_test(document.title),
fsTestFileName = getFileName("existFile05.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_read_with_invalid_value
-//==== LABEL check if throw an exception when read a file with invalid value.
+//==== LABEL Check if throw an exception when read a file with invalid value.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:read M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_read_with_invalid_value"),
+var t = async_test(document.title),
fsTestFileName = getFileName("write02.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError,
file, expected = "InvalidValuesError";
<script type="text/javascript">
//==== TEST: FileStream_read_without_r_permission
-//==== LABEL check if throw an exception when read a file without r permission.
+//==== LABEL Check if throw an exception when read a file without r permission.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:read M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_read_without_r_permission"),
+var t = async_test(document.title),
fsTestFileName = getFileName("write03.txt"), expected = "IOError", testFile,
resolveSuccess, resolveError, openStreamSuccess, openStreamError;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_read_writeFile
-//==== LABEL check if create a new empty file and write content of the file and then read the content of the file
+//==== LABEL Check if create a new empty file and write content of the file and then read the content of the file
//==== PRIORITY P3
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_read_writeFile"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamError, openStreamSuccess,
openStreamRSuccess, file, expected = "test write method", text,
fsTestFileName = getFileName("fileSystem-File05.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
<head>
<title>FileStream_write</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_write
-//==== LABEL: Check if method write of FileStream works properly.
+//==== LABEL Check if method write of FileStream works properly.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:write M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MMINA MR
// check if writes the specified DOMString to a FileStream.
-var t = async_test("FileStream_write"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamRSuccess, openStreamWSuccess,
openStreamError, file, text, testString = "abcde", retVal = null,
fsTestFileName = getFileName("GoodFile.txt");
<head>
<title>FileStream_writeBase64</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBase64 M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MMINA MR
-var t = async_test("FileStream_writeBase64"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamWSuccess, openStreamRSuccess, retVal = null,
openStreamError, file, base64String = "YWJjZGVmZw==", expected = "abcdefg",
readString, fsTestFileName = getFileName("readBaseFile.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBase64 M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("FileStream_writeBase64_exist"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
fsTestFileName = getFileName("readBaseFile.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_writeBase64_without_w_permission
-//==== LABEL check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64.
+//==== LABEL Check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBase64 M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
expected = "IOError", base = "YWJjZGVmZw==",
- t = async_test("FileStream_writeBase64_without_w_permission"),
+ t = async_test(document.title),
fsTestFileName = getFileName("write11.txt");
t.step(function (){
<head>
<title>FileStream_writeBytes</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MMINA MR
-var t = async_test("FileStream_writeBytes"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamWithWSuccess, openStreamWithRSuccess,
openStreamError, file, bytes, testString = [1, 2, 3, 4, 5, 6, 7], retVal = null,
fsTestFileName = getFileName("writeBytes.txt");
<head>
<title>FileStream_writeBytes_byteData_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
//==== TEST_CRITERIA MC
// Check if method writeBytes of FileStream works properly.
-var t = async_test("FileStream_writeBytes_byteData_TypeMismatch"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError,
file, conversionTable, bytes, i, exceptionName = "TypeMismatchError",
fsTestFileName = getFileName("readBytesFiletest3.txt");
bytes = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
fs.writeBytes(bytes);
}, exceptionName + " should be thrown - given incorrect byteData.");
}
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
// check if method: writeBytes is exist
//==== TEST_CRITERIA ME
-var t = async_test("FileStream_writeBytes_exist"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
fsTestFileName = getFileName("existFile09.txt");
<head>
<title>FileStream_writeBytes_missarg</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMA
// Check if method writeBytes of FileStream works properly.
-var t = async_test("FileStream_writeBytes_missarg"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
expected = "TypeMismatchError",
fsTestFileName = getFileName("readBytesFiletest2.txt");
<head>
<title>FileStream_writeBytes_with_additional_null_parameter</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileStream_writeBytes_with_additional_null_parameter
-//==== LABEL check whether 'writeBytes' method properly writes the specified bytes to FileStream
+//==== LABEL Check whether 'writeBytes' method properly writes the specified bytes to FileStream
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBytes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST
-var t = async_test("FileStream_writeBytes_with_additional_null_parameter"),
+var t = async_test(document.title),
file, resolveSuccess, resolveError, openStreamWriteSuccess,
openStreamError, openStreamReadSuccess, testString = [1, 2, 3, 4, 5, 6, 7],
readString, fsTestFileName = getFileName("readBytesFileTestNull.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStream_writeBytes_without_w_permission
-//==== LABEL check if throw an exception when write the specified bytes to a file without w permission.
+//==== LABEL Check if throw an exception when write the specified bytes to a file without w permission.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBytes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
// check if throw an exception when write the specified bytes to a file without w permission.
-var t = async_test("FileStream_writeBytes_without_w_permission"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
- bytes = new Array(104,101,108), expected = "IOError",
+ bytes = new Array(104, 101, 108), expected = "IOError",
fsTestFileName = getFileName("writeBytesWOPerm.txt");
t.step(function (){
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
// check if method: write is exist
-var t = async_test("FileStream_write_exist"),
+var t = async_test(document.title),
fsTestFileName = getFileName("existFile08.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<script type="text/javascript">
//==== TEST: FileStream_write_without_w_permission
-//==== LABEL check if throw an exception when write a file without w permission.
+//==== LABEL Check if throw an exception when write a file without w permission.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileStream:write M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("FileStream_write_without_w_permission"),
+var t = async_test(document.title),
fsTestFileName = getFileName("write09.txt"),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
expected = "IOError";
<html>
<head>
<title>FileStringSuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStringSuccessCallback_notexist
-//==== LABEL: check if is possible to call FileStringSuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileStringSuccessCallback in new expresion
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileStringSuccessCallback:FileStringSuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBNIO
test(function () {
check_no_interface_object("FileStringSuccessCallback");
-}, "FileStringSuccessCallback_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>FileStringSuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileStringSuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileStringSuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileStringSuccessCallback.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileStringSuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBOA CBT
-var t = async_test("FileStringSuccessCallback_onsuccess"), stringToWrite = "HelloWorld",
+var t = async_test(document.title), stringToWrite = "HelloWorld",
resolveSuccess, resolveError, readAsTextSuccess, openStreamSuccess, file,
fsTestFileName = getFileName("filesystem.txt");
<html>
<head>
<title>FileSuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSuccessCallback_notexist
-//==== LABEL: check if is possible to call FileSuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileSuccessCallback in new expresion
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSuccessCallback:FileSuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBNIO
test(function () {
check_no_interface_object("FileSuccessCallback");
-}, "FileSuccessCallback_notexist");
+}, document.title);
</script>
</body>
<head>
<meta charset="utf-8"/>
<title>FileSuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileSuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified.
+//==== LABEL Test whether the type of each argument is equal to the specified.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileSuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBOA CBT
-var t = async_test("FileSuccessCallback_onsuccess"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function () {
<head>
<title>FileSystemManagerObject_notexist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileSystemManagerObject_notexist
-//==== LABEL check if FileSystemManagerObject not exist
+//==== LABEL Check if FileSystemManagerObject not exist
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManagerObject:FileSystemManagerObject U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== PRIORITY P3
test(function () {
check_no_interface_object("FileSystemManagerObject");
-}, "FileSystemManagerObject_notexist");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_addStorageStateChangeListener</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMINA MR
// Check addStorageStateChangeListener with non-optional arguments
-var t = async_test("FileSystemManager_addStorageStateChangeListener"),
+var t = async_test(document.title),
successCallback, retValue = null;
t.step(function () {
successCallback = t.step_func(function (storages) {
<head>
<title>FileSystemManager_addStorageStateChangeListener_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_true("addStorageStateChangeListener" in tizen.filesystem,
"No addStorageStateChangeListener method in tizen.filesystem");
check_method_exists(tizen.filesystem, "addStorageStateChangeListener");
-}, "FileSystemManager_addStorageStateChangeListener_exist");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_addStorageStateChangeListener_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({ name: "TypeMismatchError" },
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.filesystem.addStorageStateChangeListener();
}, "Method should throw an exception");
-}, "FileSystemManager_addStorageStateChangeListener_missarg");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch"), i,
+var t = async_test(document.title), i,
onSuccess, onError, exceptionName, conversionTable;
t.step(function () {
onSuccess = t.step_func(function (storage) {
onError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.addStorageStateChangeListener(onSuccess, onError);
}, exceptionName + " should be thrown - given incorrect errorCallback #"+ onError +"#");
<head>
<title>FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MTCB
// Check argument onError validation
-var t = async_test("FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb"),
+var t = async_test(document.title),
exceptionName = "TypeMismatchError", incorrectCallback, onSuccess;
t.step(function () {
onSuccess = t.step_func(function (storage) {
assert_unreached("invalid callback invoked");
})
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.addStorageStateChangeListener(onSuccess, incorrectCallback);
}, exceptionName + " should be thrown - given incorrect error callback.");
<head>
<title>FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MC
// Check argument onSuccess conversions exception
-var t = async_test("FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch"),
+var t = async_test(document.title),
i, onSuccess, exceptionName, conversionTable;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", false);
onSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.addStorageStateChangeListener(onSuccess);
}, exceptionName + " should be thrown - given incorrect onSuccess.");
<head>
<title>FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MTCB
// Check argument onSuccess validation
-var t = async_test("FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb"),
+var t = async_test(document.title),
exceptionName = "TypeMismatchError", incorrectCallback;
t.step(function () {
assert_unreached("Invalid callback invoked: ");
})
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.addStorageStateChangeListener(incorrectCallback);
}, exceptionName + " should be thrown - given incorrect error callback.");
<head>
<title>FileSystemManager_addStorageStateChangeListener_with_onerror</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MOA
// Check with optional arguments getStorage
-var t = async_test("FileSystemManager_addStorageStateChangeListener_with_onerror"),
+var t = async_test(document.title),
onError, successCallback;
t.step(function (){
onError = t.step_func(function (error) {
<title>FileSystemManager_addStorageStateChangeListener_without_arguments</title>
<meta charset="utf-8">
<script>window.onError = function (e) { console.log(e); };</script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
//==== TEST: FileSystemManager_addStorageStateChangeListener_without_arguments
//==== PRIORITY P2
-//==== LABEL check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly
+//==== LABEL Check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.filesystem.addStorageStateChangeListener();
});
-}, "FileSystemManager_addStorageStateChangeListener_without_arguments");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_extensibility(tizen.filesystem);
-}, "FileSystemManager_extend");
+}, document.title);
</script>
</body>
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Piotr Czaja <p.czaja@samsung.com>
Beata Koziarek <b.koziarek@samsung.com>
<head>
<title>FileSystemManager_getStorage</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMINA MR
// Check with non-optional arguments getStorage
-var t = async_test("FileSystemManager_getStorage"),
+var t = async_test(document.title),
onSuccess, onError, successCallback, retValue = null;
t.step(function () {
onSuccess = t.step_func(function (storage) {
<head>
<title>FileSystemManager_getStorage_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
assert_true("getStorage" in tizen.filesystem, "No getStorage method in tizen.filesystem");
check_method_exists(tizen.filesystem, "getStorage");
-}, "FileSystemManager_getStorage_exist");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_getStorage_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({ name: "TypeMismatchError" },
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.filesystem.getStorage();
}, "Method should throw an exception");
-}, "FileSystemManager_getStorage_missarg");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_getStorage_onerror_TypeMismatch</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MC
// Check argument onError conversions exception
-var t = async_test("FileSystemManager_getStorage_onerror_TypeMismatch"), i,
+var t = async_test(document.title), i,
getStorageSuccess, getStorageError, exceptionName,
listStoragesSuccess, listStoragesError, conversionTable;
getStorageError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.getStorage(storages[0].label, getStorageSuccess, getStorageError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<head>
<title>FileSystemManager_getStorage_onerror_invalid_cb</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MTCB
// Check argument onError validation
-var t = async_test("FileSystemManager_getStorage_onerror_invalid_cb"),
+var t = async_test(document.title),
exceptionName = "TypeMismatchError", getStorageIncorrect, getStorageSuccess,
listStoragesSuccess, listStoragesError;
assert_unreached("listStorages() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
listStoragesSuccess = t.step_func(function (storages) {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.getStorage(storages[0].label, getStorageSuccess, getStorageIncorrect);
}, exceptionName + " should be thrown - given incorrect error callback.");
<head>
<title>FileSystemManager_getStorage_onsuccess_TypeMismatch</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MC
// Check argument onSuccess conversions exception
-var t = async_test("FileSystemManager_getStorage_onsuccess_TypeMismatch"), i,
+var t = async_test(document.title), i,
listStoragesSuccess, listStoragesError, exceptionName,
getStorageSuccess, conversionTable;
getStorageSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.getStorage(storages[0].label, getStorageSuccess);
}, exceptionName + " should be thrown - given incorrect onSuccess.");
<head>
<title>FileSystemManager_getStorage_onsuccess_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MTCB
// Check argument onSuccess validation
-var t = async_test("FileSystemManager_getStorage_onsuccess_invalid_cb"),
+var t = async_test(document.title),
exceptionName = "TypeMismatchError", getStorageIncorrect, listStoragesError,
listStoragesSuccess;
};
listStoragesSuccess = t.step_func(function (storages) {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.getStorage(storages[0].label, getStorageIncorrect);
}, exceptionName + " should be thrown - given incorrect error callback.");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSystemManager_getStorage_with_nonexist_label
-//==== LABEL check if throw an exception when get information about a storage based on nonexist label.
+//==== LABEL Check if throw an exception when get information about a storage based on nonexist label.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
// check if get information about a storage based on nonexist label
-var t = async_test("FileSystemManager_getStorage_with_nonexist_label"),
+var t = async_test(document.title),
onSuccess, onError, expected = "NotFoundError";
t.step(function (){
<head>
<title>FileSystemManager_getStorage_with_onerror</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MOA
// Check with optional arguments getStorage
-var t = async_test("FileSystemManager_getStorage_with_onerror"),
+var t = async_test(document.title),
getStorageSuccess, getStorageError, listStoragesSuccess, listStoragesError;
t.step(function (){
getStorageSuccess = t.step_func(function (storage) {
<head>
<title>FileSystemManager_in_tizen</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
assert_true("filesystem" in tizen, "No FileSystemManager in tizen.");
check_readonly(tizen, "filesystem", tizen.filesystem, "object", "dummyValue");
-}, "FileSystemManager_in_tizen");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_listStorages</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMINA MR
// check if list the available storages on the device.
-var t = async_test("FileSystemManager_listStorages"),
+var t = async_test(document.title),
onSuccess, retValue = null;
t.step(function () {
onSuccess = t.step_func(function (storages) {
<head>
<title>FileSystemManager_listStorages_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
assert_true("listStorages" in tizen.filesystem, "No listStorages method in tizen.filesystem");
check_method_exists(tizen.filesystem, "listStorages");
-}, "FileSystemManager_listStorages_exist");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_listStorages_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({ name: "TypeMismatchError" },
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.filesystem.listStorages();
}, "Method should throw an exception");
-}, "FileSystemManager_listStorages_missarg");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_listStorages_onerror_TypeMismatch</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MC
// Check argument onError conversions exception
-var t = async_test("FileSystemManager_listStorages_onerror_TypeMismatch"), i,
+var t = async_test(document.title), i,
listStoragesSuccess, exceptionName, listStoragesSuccess, listStoragesError,
conversionTable;
listStoragesError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.listStorages(listStoragesSuccess, listStoragesError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<head>
<title>FileSystemManager_listStorages_onerror_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MTCB
// Check argument onError validation
-var t = async_test("FileSystemManager_listStorages_onerror_invalid_cb"),
+var t = async_test(document.title),
exceptionName = "TypeMismatchError", listStoragesIncorrect,
listStoragesSuccess;
assert_unreached("Invalid callback invoked: ");
})
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.listStorages(listStoragesSuccess, listStoragesIncorrect);
}, exceptionName + "should be thrown - given incorrect error callback.");
<head>
<title>FileSystemManager_listStorages_onsuccess_TypeMismatch</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MC
// Check argument onSuccess conversions exception
-var t = async_test("FileSystemManager_listStorages_onsuccess_TypeMismatch"), i,
+var t = async_test(document.title), i,
exceptionName, listStoragesSuccess, listStoragesError, conversionTable;
t.step(function () {
listStoragesSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.listStorages(listStoragesSuccess, listStoragesError);
}, exceptionName + " should be thrown - given incorrect onSuccess callback.");
<head>
<title>FileSystemManager_listStorages_onsuccess_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MTCB
// Check argument onSuccess validation
-var t = async_test("FileSystemManager_listStorages_onsuccess_invalid_cb"),
+var t = async_test(document.title),
exceptionName = "TypeMismatchError", listStoragesIncorrect;
t.step(function () {
assert_unreached("Invalid callback invoked: ");
})
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.listStorages(listStoragesIncorrect);
}, exceptionName + "should be thrown - given incorrect error callback.");
<head>
<title>FileSystemManager_listStorages_storages_retrieve</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: FileSystemManager_listStorages_storages_retrieve
-//==== LABEL check whether 'listStorages' method properly retrieves the available storages on the device
+//==== LABEL Check whether 'listStorages' method properly retrieves the available storages on the device
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("FileSystemManager_listStorages_storages_retrieve"),
+var t = async_test(document.title),
onSuccess, onError, labels;
t.step(function () {
<head>
<title>FileSystemManager_listStorages_with_invalid_error_callbacks</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
// TESTS
//==== TEST: FileSystemManager_listStorages_with_invalid_error_callbacks
-//==== LABEL check whether invoking 'listStorages' method with improper argument throws exception properly
+//==== LABEL Check whether invoking 'listStorages' method with improper argument throws exception properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("FileSystemManager_listStorages_with_invalid_error_callbacks"),
+var t = async_test(document.title),
invalid_type_params = [123, "abc", true, {}], getStorageSuccess, i;
t.step(function () {
getStorageSuccess = t.step_func(function (storages) {
});
for (i = 0; i < invalid_type_params.length; i++) {
- assert_throws({"name": TYPE_MISMATCH_ERR}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.filesystem.listStorages(
getStorageSuccess,
invalid_type_params[i]
<head>
<title>FileSystemManager_listStorages_with_onerror</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA MR
-var t = async_test("FileSystemManager_listStorages_with_onerror"),
+var t = async_test(document.title),
listStoragesSuccess, listStoragesError, retValue = null;
t.step(function () {
<head>
<title>FileSystemManager_listStorages_without_arguments</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
// TESTS
//==== TEST: FileSystemManager_listStorages_without_arguments
-//==== LABEL check whether invoking 'listStorages' method without any argument throws exception properly
+//==== LABEL Check whether invoking 'listStorages' method without any argument throws exception properly
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.filesystem.listStorages();
});
-}, "FileSystemManager_listStorages_without_arguments");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_listStorages_works_correctly</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: FileSystemManager_listStorages_works_correctly
-//==== LABEL check whether 'listStorages' method returns the available storages on the device
+//==== LABEL Check whether 'listStorages' method returns the available storages on the device
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var this_test = async_test("FileSystemManager_listStorages_works_correctly"),
+var t = async_test(document.title),
listStoragesSuccess, listStoragesError;
-this_test.step(function () {
- listStoragesSuccess = this_test.step_func(function (storages) {
+t.step(function () {
+ listStoragesSuccess = t.step_func(function (storages) {
assert_type(storages, "array", "storages");
assert_true(storages.length > 0, "storages.length > 0");
- this_test.done();
+ t.done();
});
- listStoragesError = this_test.step_func(function (error) {
+ listStoragesError = t.step_func(function (error) {
assert_unreached("listStorages() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
<head>
<title>FileSystemManager_maxPathLength_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
var maxLength = tizen.filesystem.maxPathLength;
assert_true("maxPathLength" in tizen.filesystem, "attribute doesn't exist");
check_readonly(tizen.filesystem, "maxPathLength", maxLength, "long", maxLength - 5);
-}, "FileSystemManager_maxPathLength_attribute");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("FileSystemManager");
-}, "FileSystemManager_notexist");
-// Check if interface FileSystemManager exists, it should not.
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_removeStorageStateChangeListener</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMINA MR
// Check removeStorageStateChangeListener with non-optional arguments
-var t = async_test("FileSystemManager_removeStorageStateChangeListener"),
+var t = async_test(document.title),
successCallback, watch, retValue = null;
t.step(function () {
<html>
<head>
<title>FileSystemManager_removeStorageStateChangeListener_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"No removeStorageStateChangeListener method in tizen.filesystem");
check_method_exists(tizen.filesystem,
"removeStorageStateChangeListener");
-}, "FileSystemManager_removeStorageStateChangeListener_exist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>FileSystemManager_removeStorageStateChangeListener_with_para_invalid</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_removeStorageStateChangeListener_with_para_invalid
-//==== LABEL check if throw an exception when removeStorageStateChangeListener with an invalid input parameter.
+//==== LABEL Check if throw an exception when removeStorageStateChangeListener with an invalid input parameter.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:removeStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
test(function () {
var watchID;
- assert_throws({
- "name": NOT_FOUND_ERR
- }, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
tizen.filesystem.removeStorageStateChangeListener(watchID);
});
-}, "FileSystemManager_removeStorageStateChangeListener_with_para_invalid");
-// Check tizen.filesystem.removeStorageStateChangeListener throws TypeMismatchError
+}, document.title);
</script>
</body>
<head>
<title>FileSystemManager_removeStorageStateChangeListener_works_correctly</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: FileSystemManager_removeStorageStateChangeListener_works_correctly
-//==== LABEL check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes
+//==== LABEL Check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:removeStorageStateChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA
watchId = tizen.filesystem.addStorageStateChangeListener(function (storage) {});
tizen.filesystem.removeStorageStateChangeListener(watchId);
-}, "FileSystemManager_removeStorageStateChangeListener_works_correctly");
+}, document.title);
</script>
</body>
<html>
<head>
<title>FileSystemManager_resolve</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-var t = async_test("FileSystemManager_resolve"),
+var t = async_test(document.title),
resolveSuccess, retValue = null;
t.step(function () {
resolveSuccess = t.step_func(function (storage) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_documents</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_documents
-//==== LABEL check if resolve documents to a file handle.
+//==== LABEL Check if resolve documents to a file handle.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, expected = "documents",
- t = async_test("FileSystemManager_resolve_documents");
+ t = async_test(document.title);
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_downloads</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_downloads
-//==== LABEL check if resolve downloads to a file handle.
+//==== LABEL Check if resolve downloads to a file handle.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, expected = "downloads",
- t = async_test("FileSystemManager_resolve_downloads");
+ t = async_test(document.title);
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
- assert_equals(dir.path ,expected, "resolve downloads to a file handle");
+ assert_equals(dir.path , expected, "resolve downloads to a file handle");
t.done();
});
<head>
<meta charset="utf-8"/>
<title>FileSystemManager_resolve_error_invoked</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== TEST: FileSystemManager_resolve_error_invoked
//==== PRIORITY P2
-//==== LABEL check with error callback invoked
+//==== LABEL Check with error callback invoked
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA MERRCB
-var t = async_test("FileSystemManager_resolve_error_invoked"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<html>
<head>
<title>FileSystemManager_resolve_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
test(function () {
assert_true("resolve" in tizen.filesystem, "FileSystemManager has resolve method");
check_method_exists(tizen.filesystem, "resolve");
-});
+}, document.title);
</script>
</body>
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_images</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: FileSystemManager_resolve_images
-//==== LABEL: Check if resolve images to a file handle.
+//==== LABEL Check if resolve images to a file handle.
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var resolveSuccess, resolveError, expected = "images",
- t = async_test("FileSystemManager_resolve_images");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_invalid_location</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_invalid_location
-//==== LABEL check if throw an exception when resolve an invalid location.
+//==== LABEL Check if throw an exception when resolve an invalid location.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("FileSystemManager_resolve_invalid_location"),
+var t = async_test(document.title),
expected = "NotFoundError", resolveSuccess, resolveError;
t.step(function (){
<html>
<head>
<title>FileSystemManager_resolve_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({ name: "TypeMismatchError" }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.filesystem.resolve();
}, "Method should throw an exception");
-});
+}, document.title);
</script>
</body>
<html>
<head>
<title>FileSystemManager_resolve_mode_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("FileSystemManager_resolve_mode_TypeMismatch"),
+var t = async_test(document.title),
conversionTable, resolveSuccess, resolveError, mode, exceptionName, i;
t.step(function () {
mode = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.resolve("images", resolveSuccess, resolveError, mode);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_mode_a</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_mode_a
-//==== LABEL check if resolve a location with mode a.
+//==== LABEL Check if resolve a location with mode a.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, expected = "documents",
- t = async_test("FileSystemManager_resolve_mode_a");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_mode_r</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_mode_r
-//==== LABEL check if resolve a location with mode r.
+//==== LABEL Check if resolve a location with mode r.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, expected = "documents",
- t = async_test("FileSystemManager_resolve_mode_r");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
- assert_equals(dir.path ,expected, "resolve a location with an mode r");
+ assert_equals(dir.path , expected, "resolve a location with an mode r");
t.done();
});
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_mode_w</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_mode_w
-//==== LABEL check if resolve a location with mode w.
+//==== LABEL Check if resolve a location with mode w.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, expected = "documents",
- t = async_test("FileSystemManager_resolve_mode_w");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
- assert_equals(dir.path ,expected, "resolve a location with an mode w");
+ assert_equals(dir.path , expected, "resolve a location with an mode w");
t.done();
});
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_music</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_music
-//==== LABEL check if resolve music to a file handle.
+//==== LABEL Check if resolve music to a file handle.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, expected = "music",
- t = async_test("FileSystemManager_resolve_music");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
- assert_equals(dir.path ,expected, "resolve music to a file handle");
+ assert_equals(dir.path , expected, "resolve music to a file handle");
t.done();
});
<html>
<head>
<title>FileSystemManager_resolve_onerror_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("FileSystemManager_resolve_onerror_TypeMismatch"), i,
+var t = async_test(document.title), i,
resolveSuccess, resolveError, exceptionName, conversionTable;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
resolveError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.resolve("images", resolveSuccess, resolveError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<html>
<head>
<title>FileSystemManager_resolve_onerror_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("FileSystemManager_resolve_onerror_invalid_cb"),
+var t = async_test(document.title),
exceptionName = "TypeMismatchError", resolveError, resolveSuccess,
conversionTable;
assert_unreached("Invalid callback invoked: ");
})
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
}, exceptionName + "should be thrown - given incorrect error callback.");
<html>
<head>
<title>FileSystemManager_resolve_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("FileSystemManager_resolve_onsuccess_TypeMismatch"), i,
+var t = async_test(document.title), i,
resolveSuccess, resolveError, exceptionName, conversionTable;
t.step(function () {
resolveSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
}, exceptionName + " should be thrown - given incorrect onSuccess.");
<html>
<head>
<title>FileSystemManager_resolve_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("FileSystemManager_resolve_onsuccess_invalid_cb"),
+var t = async_test(document.title),
exceptionName = "TypeMismatchError", resolveSuccess, resolveError;
t.step(function () {
})
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
}, exceptionName + "should be thrown - given incorrect error callback.");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_ringtones</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: FileSystemManager_resolve_ringtones
-//==== LABEL: Check if resolve ringtones to a file handle.
+//==== LABEL Check if resolve ringtones to a file handle.
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var resolveSuccess, resolveError, expected = "ringtones",
- t = async_test("FileSystemManager_resolve_ringtones");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_a
-//==== LABEL check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a
+//==== LABEL Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
var resolveSuccess, resolveError,
- t = async_test("FileSystemManager_resolve_ringtones_invalid_mode_a");
+ t = async_test(document.title);
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_rw
-//==== LABEL check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw
+//==== LABEL Check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
var resolveSuccess, resolveError,
- t = async_test("FileSystemManager_resolve_ringtones_invalid_mode_rw");
+ t = async_test(document.title);
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_w
-//==== LABEL check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w
+//==== LABEL Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
var resolveSuccess, resolveError,
- t = async_test("FileSystemManager_resolve_ringtones_invalid_mode_w");
+ t = async_test(document.title);
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_videos</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_videos
-//==== LABEL check if resolve videos to a file handle.
+//==== LABEL Check if resolve videos to a file handle.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var expected = "videos", resolveSuccess, resolveError,
- t = async_test("FileSystemManager_resolve_videos");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
- assert_equals(dir.path ,expected, "resolve videos to a file handle");
+ assert_equals(dir.path , expected, "resolve videos to a file handle");
t.done();
});
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_a
-//==== LABEL check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a
+//==== LABEL Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
var resolveSuccess, resolveError,
- t = async_test("FileSystemManager_resolve_wgt-package_invalid_mode_a");
+ t = async_test(document.title);
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_rw
-//==== LABEL check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw
+//==== LABEL Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
var resolveSuccess, resolveError,
- t = async_test("FileSystemManager_resolve_wgt-package_invalid_mode_rw");
+ t = async_test(document.title);
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<div id="log"></div>
<script>
//==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_w
-//==== LABEL check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w
+//==== LABEL Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
var resolveSuccess, resolveError,
- t = async_test("FileSystemManager_resolve_wgt-package_invalid_mode_w");
+ t = async_test(document.title);
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_wgt_package</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: FileSystemManager_resolve_wgt_package
-//==== LABEL: Check if resolve wgt-package to a file handle.
+//==== LABEL Check if resolve wgt-package to a file handle.
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var resolveSuccess, resolveError, expected = "wgt-package",
- t = async_test("FileSystemManager_resolve_wgt_package");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_wgt_private</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: FileSystemManager_resolve_wgt_private
-//==== LABEL: Check if resolve wgt-private to a file handle.
+//==== LABEL Check if resolve wgt-private to a file handle.
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var resolveSuccess, resolveError, expected = "wgt-private",
- t = async_test("FileSystemManager_resolve_wgt_private");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>FileSystemManager_resolve_wgt_private_tmp</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: FileSystemManager_resolve_wgt_private_tmp
-//==== LABEL: Check if resolve wgt-private-tmp to a file handle.
+//==== LABEL Check if resolve wgt-private-tmp to a file handle.
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var resolveSuccess, resolveError, expected = "wgt-private-tmp",
- t = async_test("FileSystemManager_resolve_wgt_private_tmp");
+ t = async_test(document.title);
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
<html>
<head>
<title>FileSystemManager_resolve_with_mode</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("FileSystemManager_resolve_with_mode"),
+var t = async_test(document.title),
resolveSuccess, resolveError, expected;
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<html>
<head>
<title>FileSystemManager_resolve_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("FileSystemManager_resolve_with_onerror"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function (){
resolveSuccess = t.step_func(function (storage) {
<head>
<title>FileSystemManager_resolve_works_correctly</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: FileSystemManager_resolve_works_correctly
-//==== LABEL check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved
+//==== LABEL Check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var this_test = async_test("FileSystemManager_resolve_works_correctly"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
-this_test.step(function () {
- resolveSuccess = this_test.step_func(function (dir) {
+t.step(function () {
+ resolveSuccess = t.step_func(function (dir) {
assert_true("parent" in dir, "parent don't exist in object");
assert_type(dir.parent, "null", "parent should be null");
assert_true("readOnly" in dir, "readOnly don't exist in object");
assert_true("length" in dir, "length don't exist in object");
assert_type(dir.length, "number", "type of length should be number");
assert_true(dir.length >= 0, "value of length should be >= 0");
- this_test.done();
+ t.done();
});
- resolveError = this_test.step_func(function (error) {
+ resolveError = t.step_func(function (error) {
assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
<html>
<head>
<title>FileSystemStorageArraySuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSystemStorageArraySuccessCallback_notexist
-//==== LABEL: check if is possible to call FileSystemStorageArraySuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileSystemStorageArraySuccessCallback in new expresion
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageArraySuccessCallback:FileSystemStorageArraySuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBNIO
test(function () {
check_no_interface_object("FileSystemStorageArraySuccessCallback");
-}, "FileSystemStorageArraySuccessCallback_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>FileSystemStorageArraySuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileSystemStorageArraySuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileSystemStorageArraySuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileSystemStorageArraySuccessCallback.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageArraySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBOA CBT
-var t = async_test("FileSystemStorageArraySuccessCallback_onsuccess"),
+var t = async_test(document.title),
listStoragesSuccess, listStoragesError, i;
t.step(function () {
listStoragesSuccess = t.step_func(function (storages) {
<html>
<head>
<title>FileSystemStorageSuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSystemStorageSuccessCallback_notexist
-//==== LABEL: check if is possible to call FileSystemStorageSuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileSystemStorageSuccessCallback in new expresion
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageSuccessCallback:FileSystemStorageSuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBNIO
test(function () {
check_no_interface_object("FileSystemStorageSuccessCallback");
-}, "FileSystemStorageSuccessCallback_notexist");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemStorageSuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileSystemStorageSuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileSystemStorageSuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileSystemStorageSuccessCallback.
//==== PRIORITY: P1
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageSuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBOA CBT
-var t = async_test("FileSystemStorageSuccessCallback_onsuccess"),
+var t = async_test(document.title),
listStoragesSuccess, listStoragesError, getStorageSuccess;
t.step(function () {
<html>
<head>
<title>FileSystemStorage_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileSystemStorage_extend
-//==== LABEL: test whether the FileSystemStorage object can have new attribute added
+//==== LABEL Test whether the FileSystemStorage object can have new attribute added
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorage:FileSystemStorage U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA OBX
-var t = async_test("FileSystemStorage_extend"), listStoragesSuccess;
+var t = async_test(document.title), listStoragesSuccess;
t.step(function () {
listStoragesSuccess = t.step_func(function (storages) {
<head>
<title>FileSystemStorage_label_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileSystemStorage_label_attribute
-//==== LABEL: Check if attribute label of FileSystemStorage exists, has type DOMString and is readonly
+//==== LABEL Check if attribute label of FileSystemStorage exists, has type DOMString and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemStorage:label A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("FileSystemStorage_label_attribute"), listStoragesSuccess;
+var t = async_test(document.title), listStoragesSuccess;
t.step(function () {
listStoragesSuccess = t.step_func(function (storages) {
assert_true(storages.length > 0, "No available storage");
- assert_true("label" in storages[0],"label not in FileSystemStorage");
+ assert_true("label" in storages[0], "label not in FileSystemStorage");
check_readonly(storages[0], "label", storages[0].label, "string", storages[0].label + "dummyValue");
t.done();
});
<html>
<head>
<title>FileSystemStorage_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: FileSystemStorage_notexist
-//==== LABEL: check if is possible to call FileSystemStorage in new expresion
+//==== LABEL Check if is possible to call FileSystemStorage in new expresion
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorage:FileSystemStorage U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("FileSystemStorage");
-}, "FileSystemStorage_notexist");
+}, document.title);
</script>
</body>
<head>
<title>FileSystemStorage_state_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileSystemStorage_state_attribute
-//==== LABEL: Check if attribute state of FileSystemStorage exists, has type FileSystemStorageState and is readonly
+//==== LABEL Check if attribute state of FileSystemStorage exists, has type FileSystemStorageState and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemStorage:state A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("FileSystemStorage_state_attribute"), listStoragesSuccess, valueToAssign;
+var t = async_test(document.title), listStoragesSuccess, valueToAssign;
t.step(function () {
listStoragesSuccess = t.step_func(function (storages) {
assert_true(storages.length > 0, "No available storage");
- assert_true("state" in storages[0],"state not in FileSystemStorage");
+ assert_true("state" in storages[0], "state not in FileSystemStorage");
assert_in_array(storages[0].state, ["MOUNTED", "REMOVED", "UNMOUNTABLE"], "incorrect value of state");
if (storages[0].state === "MOUNTED") {
valueToAssign = "REMOVED";
<head>
<title>FileSystemStorage_type_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: FileSystemStorage_type_attribute
-//==== LABEL: Check if attribute type of FileSystemStorage exists, has type FileSystemStorageType and is readonly
+//==== LABEL Check if attribute type of FileSystemStorage exists, has type FileSystemStorageType and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:FileSystemStorage:type A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("FileSystemStorage_type_attribute"), listStoragesSuccess, valueToAssign;
+var t = async_test(document.title), listStoragesSuccess, valueToAssign;
t.step(function () {
listStoragesSuccess = t.step_func(function (storages) {
assert_true(storages.length > 0, "No available storage");
- assert_true("type" in storages[0],"type not in FileSystemStorage");
+ assert_true("type" in storages[0], "type not in FileSystemStorage");
assert_in_array(storages[0].type, ["INTERNAL", "EXTERNAL"], "incorrect value of type");
if (storages[0].type === "INTERNAL") {
valueToAssign = "EXTERNAL";
<head>
<title>File_copyTo</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: File_copyTo
-//==== LABEL: Check if method copyTo of File works properly.
+//==== LABEL Check if method copyTo of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA
-var t = async_test("File_copyTo"), resolveSuccess, resolveError, fsTestFile, fsTestFileName;
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName;
t.step(function (){
fsTestFileName = getFileName("filesystem.txt");
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_dir_overwrite_false
-//==== LABEL check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false).
+//==== LABEL Check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false).
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
fsTestDir2, fsTestDirName2, fsTestSubDir2, expected = "IOError",
- t = async_test("File_copyTo_dir_overwrite_false");
+ t = async_test(document.title);
t.step(function () {
fsTestDirName1 = getDirName("filesystem1");
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_dir_overwrite_true
-//==== LABEL check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull.
+//==== LABEL Check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
fsTestDir2, fsTestDirName2, fsTestSubDir2, copyError,
- t = async_test("File_copyTo_dir_overwrite_true");
+ t = async_test(document.title);
t.step(function () {
fsTestDirName1 = getDirName("filesystem1");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_dir_samedir_samename_overwrite_false
-//==== LABEL check if error callback invoked when copy a directory to the same location with the same name (overwrite is false).
+//==== LABEL Check if error callback invoked when copy a directory to the same location with the same name (overwrite is false).
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
fsTestSubDirName1, expected = "IOError",
- t = async_test("File_copyTo_dir_samedir_samename_overwrite_false");
+ t = async_test(document.title);
t.step(function () {
fsTestDirName1 = getDirName("filesystem1");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_dir_samedir_samename_overwrite_true
-//==== LABEL check if error callback invoked when copy a directory to the same location with the same name (overwrite is true).
+//==== LABEL Check if error callback invoked when copy a directory to the same location with the same name (overwrite is true).
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
- t = async_test("File_copyTo_dir_samedir_samename_overwrite_true"), copyError, expectedError = "IOError";
+ t = async_test(document.title), copyError, expectedError = "IOError";
t.step(function () {
fsTestDirName1 = getDirName("filesystem1");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<head>
<title>File_copyTo_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_copyTo_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_file_overwrite_false
-//==== LABEL check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false).
+//==== LABEL Check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false).
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_copyTo_file_overwrite_false"), expected = "IOError",
+var t = async_test(document.title), expected = "IOError",
resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir,
fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_file_overwrite_true
-//==== LABEL check if copy a file to another location of the file with the same name (overwrite is true) was successfull.
+//==== LABEL Check if copy a file to another location of the file with the same name (overwrite is true) was successfull.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_copyTo_file_overwrite_true"),
- resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, copyError,
- fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+var t = async_test(document.title),
+ resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, copyError,
+ fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
t.step(function () {
fsTestDirName = getFileName("filesystem");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_file_samedir_samename_overwrite_false
-//==== LABEL check if error callback invoked when copy a file to the same location with the same name (overwrite is false).
+//==== LABEL Check if error callback invoked when copy a file to the same location with the same name (overwrite is false).
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_copyTo_file_samedir_samename_overwrite_false"), expectedError = "IOError",
+var t = async_test(document.title), expectedError = "IOError",
resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName;
t.step(function () {
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_file_samedir_samename_overwrite_true
-//==== LABEL check if error callback invoked when copy a file to the same location with the same name (overwrite is true)
+//==== LABEL Check if error callback invoked when copy a file to the same location with the same name (overwrite is true)
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_copyTo_file_samedir_samename_overwrite_true"), resolveSuccess, copyError,
+var t = async_test(document.title), resolveSuccess, copyError,
resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName, expectedError = "IOError";
t.step(function () {
<head>
<title>File_copyTo_onerror_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_copyTo_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in copyTo method.
+//==== LABEL Check argument onError conversions exception in copyTo method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_copyTo_onerror_TypeMismatch"),
+var t = async_test(document.title),
resolveSuccess, resolveError, conversionTable, copyError, i, copySuccess, fsTestFileName,
exceptionName = "TypeMismatchError";
copyError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<head>
<title>File_copyTo_onerror_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script>
//==== TEST: File_copyTo_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in copyTo method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in copyTo method onError callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_copyTo_onerror_invalid_cb"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
copySuccess, copyError, exceptionName = "TypeMismatchError", fsTestFileName;
t.step(function () {
});
resolveSuccess = t.step_func(function (dir) {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<head>
<title>File_copyTo_onsuccess_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_copyTo_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in copyTo method.
+//==== LABEL Check argument onSuccess conversions exception in copyTo method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_copyTo_onsuccess_TypeMismatch"), copySuccess,
+var t = async_test(document.title), copySuccess,
resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile, fsTestFileName;
t.step(function (){
copySuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<head>
<title>File_copyTo_onsuccess_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_copyTo_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in copyTo method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in copyTo method onSuccess callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_copyTo_onsuccess_invalid_cb"),
+var t = async_test(document.title),
resolveSuccess, resolveError, copySuccess, exceptionName = "TypeMismatchError", fsTestFile, fsTestFileName;
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createFile(fsTestFileName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
Mariusz Polasinski <m.polasinski@samsung.com>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_with_destination_invalid
-//==== LABEL check if throw an exception when copy a file to an invalid destination.
+//==== LABEL Check if throw an exception when copy a file to an invalid destination.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_copyTo_with_destination_invalid"), expectedError = "NotFoundError",
+var t = async_test(document.title), expectedError = "NotFoundError",
resolveSuccess, resolveError, copySuccess, copyError, fsTestFileName, fsTestFile;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_with_file_handle
-//==== LABEL check if throw an exception when copyTo with file handle.
+//==== LABEL Check if throw an exception when copyTo with file handle.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
var resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName,
- expectedError ="IOError", t = async_test("File_copyTo_with_file_handle");
+ expectedError ="IOError", t = async_test(document.title);
t.step(function () {
fsTestDirName = getFileName("filesystem");
<head>
<title>File_copyTo_with_invalid_filepath</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_copyTo_with_invalid_filepath
-//==== LABEL check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly
+//==== LABEL Check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var this_test = async_test("File_copyTo_with_invalid_filepath");
-this_test.step(function () {
- var param = [[], 1, 0, null, undefined, {}, "aa"], counter = 0, i,
- resolveError, resolveSuccess, copyToSuccess, copyToError, fsTestDirName = getDirName("filesystem");
+var t = async_test(document.title), param = [[], 1, 0, null, undefined, {}, "aa"], counter = 0, i, resolveError,
+ resolveSuccess, copyToSuccess, copyToError, fsTestDirName = getDirName("filesystem");
+t.step(function () {
- copyToError = this_test.step_func(function (err) {
+ copyToError = t.step_func(function (err) {
assert_equals(err.name, NOT_FOUND_ERR, "copyTo() [" + err.name + "]");
if (counter === param.length - 1) {
- this_test.done();
+ t.done();
}
counter++;
});
- copyToSuccess = this_test.step_func(function () {
+ copyToSuccess = t.step_func(function () {
assert_unreached("Unexpected copyToSuccess");
});
- resolveSuccess = this_test.step_func(function (root) {
+ resolveSuccess = t.step_func(function (root) {
for (i = 0; i < param.length; i++) {
root.copyTo(param[i], root.fullPath + "/" + fsTestDirName, true,
copyToSuccess, copyToError);
}
});
- resolveError = this_test.step_func(function (error) {
+ resolveError = t.step_func(function (error) {
assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
});
- prepareForTesting(this_test, function () {
+ prepareForTesting(t, function () {
tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
});
});
<head>
<title>File_copyTo_with_invalid_virtual_file</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_copyTo_with_invalid_virtual_file
-//==== LABEL check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly
+//==== LABEL Check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_copyTo_with_invalid_virtual_file"), copyToSuccess, copyToError,
+var t = async_test(document.title), copyToSuccess, copyToError,
resolveSuccess, resolveError;
t.step(function () {
<head>
<title>File_copyTo_with_null_success_and_error_callbacks</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_copyTo_with_null_success_and_error_callbacks
-//==== LABEL check whether 'copyTo' method properly copies file in case success and error callbacks are undefined
+//==== LABEL Check whether 'copyTo' method properly copies file in case success and error callbacks are undefined
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA
-var this_test = async_test("File_copyTo_with_null_success_and_error_callbacks");
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName1, fsTestFileName2,
+ copyPath;
-this_test.step(function () {
- var resolveSuccess, resolveError, fsTestFile, fsTestFileName1, fsTestFileName2, copyPath;
+t.step(function () {
fsTestFileName1 = getFileName("filesystem1.txt");
fsTestFileName2 = getFileName("filesystem2.txt");
- resolveSuccess = this_test.step_func(function (dir) {
+ resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createFile(fsTestFileName1);
copyPath = dir.fullPath + "/" + fsTestFileName2;
dir.copyTo(fsTestFile.fullPath, copyPath, false, null, null);
- this_test.done();
+ t.done();
});
- resolveError = this_test.step_func(function (error) {
+ resolveError = t.step_func(function (error) {
assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
});
- prepareForTesting(this_test, function () {
+ prepareForTesting(t, function () {
tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
});
});
<head>
<title>File_copyTo_with_onerror</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_copyTo_with_onerror
-//==== LABEL: Check if method copyTo wit onError optional argument works properly.
+//==== LABEL Check if method copyTo wit onError optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_copyTo_with_onerror"),
+var t = async_test(document.title),
resolveSuccess, resolveError, copyToSuccess, copyToError, fsTestFileName;
t.step(function (){
<head>
<title>File_copyTo_with_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_copyTo_with_onsuccess
-//==== LABEL: Check if method copyTo with onSuccess optional argument works properly.
+//==== LABEL Check if method copyTo with onSuccess optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MR
-var t = async_test("File_copyTo_with_onsuccess"), resolveSuccess, resolveError, resolveSuccess2, resolveError2,
+var t = async_test(document.title), resolveSuccess, resolveError, resolveSuccess2, resolveError2,
fsTestFileName, fsTestFile, copyToSuccess, retVal = null;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_with_para_invalid
-//==== LABEL check if throw an exception when copyTo with invalid parameters.
+//==== LABEL Check if throw an exception when copyTo with invalid parameters.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_copyTo_with_para_invalid"), expected = "NotFoundError",
+var t = async_test(document.title), expected = "NotFoundError",
resolveSuccess, resolveError, copySuccess, copyError, fsTestFileName;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_writeFile_newName
-//==== LABEL check if create a new empty file and write content of the file and then copy the file to the same location with different file name
+//==== LABEL Check if create a new empty file and write content of the file and then copy the file to the same location with different file name
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var resolveSuccess, resolveError, copySuccess, copyError, openStreamSuccess, openStreamError,
fsTestFileName, fsTestFileName2, fsTestFile, fsTestDirName, fsTestDir,
- t = async_test("File_copyTo_writeFile_newName");
+ t = async_test(document.title);
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_writeFile_overwrite_false
-//==== LABEL check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)
+//==== LABEL Check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_copyTo_writeFile_overwirte_false"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
openStreamSuccess, openStreamError, copyToSuccess, copyToError, fsTestFileName,
fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError", mainDir;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_copyTo_writeFile_subdir
-//==== LABEL check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name
+//==== LABEL Check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var resolveSuccess, resolveError, openStreamSuccess, openStreamError, copySuccess, copyError, fsTestFileName, fsTestFile,
- fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName, t = async_test("File_copyTo_writeFile_subdir");
+ fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName, t = async_test(document.title);
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
<head>
<title>File_createDirectory</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_createDirectory
-//==== LABEL: Check if method createDirectory of File works properly.
+//==== LABEL Check if method createDirectory of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:createDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MMINA MR
-var t = async_test("File_createDirectory"),
+var t = async_test(document.title),
resolveSuccess, resolveError, fsTestDir, fsTestDirName;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<head>
<title>File_createDirectory_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_createDirectory_exist"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_createDirectory_level2
-//==== LABEL check if create directory of two levels.
+//==== LABEL Check if create directory of two levels.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:createDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST
-var t = async_test("File_createDirectory_level2");
+var t = async_test(document.title), resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir,
+ fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName;
t.step(function (){
- var resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir, fsTestDir,
- fsTestDirName, fsTestSubDir, fsTestSubDirName;
fsTestDirName = getDirName("filesystem");
fsTestSubDirName = getDirName("filesystemSub");
<head>
<title>File_createFile</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_createFile
-//==== LABEL: Check if method createFile of File works properly.
+//==== LABEL Check if method createFile of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:createFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MMINA MR
-var t = async_test("File_createFile"),
+var t = async_test(document.title),
resolveSuccess, resolveError, fsTestFileName, fsTestFile;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<head>
<title>File_createFile_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_createFile_exist"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function (){
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<script type="text/javascript">
//==== TEST: File_createFile_existing_file
-//==== LABEL create existing file
+//==== LABEL Create existing file
//==== SPEC Tizen Web API:IO:Filesystem:File:createFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== PRIORITY P2
//==== TEST_CRITERIA MMINA MAST
-var t = async_test("File_createFile_existing_file"), expected = "IOError",
+var t = async_test(document.title), expected = "IOError",
resolveSuccess, resolveError, fsTestFileName;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_createFile_with_invalid_name
-//==== LABEL check if throw an exception when create file with invalid file name.
+//==== LABEL Check if throw an exception when create file with invalid file name.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:createFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("File_createFile_with_invalid_name"),
+var t = async_test(document.title),
expected = "InvalidValuesError", documentsDir,
resolveSuccess, resolveError;
<head>
<title>File_created_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_created_attribute
-//==== LABEL: Check if attribute created of File exists, has type Date and is readonly
+//==== LABEL Check if attribute created of File exists, has type Date and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:created A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("File_created_attribute"),
+var t = async_test(document.title),
resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
t.step(function (){
<head>
<title>File_deleteDirectory</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory
-//==== LABEL: Check if method deleteDirectory of File works properly.
+//==== LABEL Check if method deleteDirectory of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA
-var t = async_test("File_deleteDirectory");
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
t.step(function (){
- var resolveSuccess, resolveError, fsTestDirName, fsTestDir;
fsTestDirName = getDirName("filesystem");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>File_deleteDirectory_createDir_documents</title>
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_documents
-//==== LABEL check if create a new directory in documents and then delete the directory
+//==== LABEL Check if create a new directory in documents and then delete the directory
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, documentsDir,
- t = async_test("File_deleteDirectory_createDir_documents");
+ t = async_test(document.title);
t.step(function (){
fsTestDirName = getDirName("filesystem");
deleteSuccess = t.step_func(function () {
- assert_throws({name: "NotFoundError"}, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
documentsDir.resolve(fsTestDirName);
}, "directory wasn't deleted properly");
t.done();
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>File_deleteDirectory_createDir_downloads</title>
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_downloads
-//==== LABEL check if create a new directory in downloads and then delete the directory
+//==== LABEL Check if create a new directory in downloads and then delete the directory
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, downloadsDir,
- t = async_test("File_deleteDirectory_createDir_downloads");
+ t = async_test(document.title);
t.step(function (){
fsTestDirName = getDirName("filesystem");
deleteSuccess = t.step_func(function () {
- assert_throws({name: "NotFoundError"}, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
downloadsDir.resolve(fsTestDirName);
}, "directory wasn't deleted properly");
t.done();
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>File_deleteDirectory_createDir_images</title>
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_images
-//==== LABEL check if create a new directory in images and then delete the directory
+//==== LABEL Check if create a new directory in images and then delete the directory
//==== PRIORITY P1
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, imagesDir,
- t = async_test("File_deleteDirectory_createDir_images");
+ t = async_test(document.title);
t.step(function (){
fsTestDirName = getDirName("filesystem");
deleteSuccess = t.step_func(function () {
- assert_throws({name: "NotFoundError"}, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
imagesDir.resolve(fsTestDirName);
}, "directory wasn't deleted properly");
t.done();
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>File_deleteDirectory_createDir_music</title>
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_music
-//==== LABEL check if create a new directory in music and then delete the directory
+//==== LABEL Check if create a new directory in music and then delete the directory
//==== PRIORITY P1
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, musicDir,
- t = async_test("File_deleteDirectory_createDir_music");
+ t = async_test(document.title);
t.step(function (){
fsTestDirName = getDirName("filesystem");
deleteSuccess = t.step_func(function () {
- assert_throws({name: "NotFoundError"}, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
musicDir.resolve(fsTestDirName);
}, "directory wasn't deleted properly");
t.done();
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>File_deleteDirectory_createDir_videos</title>
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_createDir_videos
-//==== LABEL check if create a new directory in videos and then delete the directory
+//==== LABEL Check if create a new directory in videos and then delete the directory
//==== PRIORITY P1
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, videosDir,
- t = async_test("File_deleteDirectory_createDir_videos");
+ t = async_test(document.title);
t.step(function (){
fsTestDirName = getDirName("filesystem");
deleteSuccess = t.step_func(function () {
- assert_throws({name: "NotFoundError"}, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
videosDir.resolve(fsTestDirName);
}, "directory wasn't deleted properly");
t.done();
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<head>
<title>File_deleteDirectory_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_deleteDirectory_exist"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function () {
<head>
<title>File_deleteDirectory_onerror_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in deleteDirectory method.
+//==== LABEL Check argument onError conversions exception in deleteDirectory method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_deleteDirectory_onerror_TypeMismatch"),
+var t = async_test(document.title),
resolveSuccess, resolveError, conversionTable, deleteError, i, deleteSuccess, fsTestDirName, fsTestDir,
exceptionName = "TypeMismatchError";
deleteError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.deleteDirectory(fsTestDir.fullPath, deleteSuccess, deleteError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<head>
<title>File_deleteDirectory_onerror_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in deleteDirectory method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in deleteDirectory method onError callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_deleteDirectory_onerror_invalid_cb"),
+var t = async_test(document.title),
resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName, fsTestDir,
exceptionName = "TypeMismatchError";
resolveSuccess = t.step_func(function (dir) {
fsTestDir = dir.createDirectory(fsTestDirName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.deleteDirectory(fsTestDir.fullPath, deleteDirectorySuccess, deleteDirectoryError);
}, exceptionName + " should be thrown - given incorrect deleteDirectorySuccess.");
<head>
<title>File_deleteDirectory_onsuccess_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in deleteDirectory method.
+//==== LABEL Check argument onSuccess conversions exception in deleteDirectory method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_deleteDirectory_onsuccess_TypeMismatch"), deleteSuccess,
+var t = async_test(document.title), deleteSuccess,
resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestDirName, fsTestDir;
t.step(function (){
deleteSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<head>
<title>File_deleteDirectory_onsuccess_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in deleteDirectory method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in deleteDirectory method onSuccess callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_deleteDirectory_onsuccess_invalid_cb"),
+var t = async_test(document.title),
resolveSuccess, resolveError, deleteSuccess, exceptionName = "TypeMismatchError", fsTestDirName, fsTestDir;
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
fsTestDir = dir.createDirectory(fsTestDirName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<head>
<title>File_deleteDirectory_with_empty_path</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_empty_path
-//==== LABEL check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly
+//==== LABEL Check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_deleteDirectory_with_empty_path");
+var t = async_test(document.title), resolveError, resolveSuccess, deleteDirectoryError, deleteDirectorySuccess,
+ expected = "NotFoundError";
t.step(function () {
- var resolveError, resolveSuccess, deleteDirectoryError, deleteDirectorySuccess, expected = "NotFoundError";
deleteDirectorySuccess = t.step_func(function () {
assert_unreached("deleteDirectorySuccess: deleteDirectory() should invoke error callback");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_file_handle
-//==== LABEL check if throw an exception when delete a dir with file handle.
+//==== LABEL Check if throw an exception when delete a dir with file handle.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestFileName, fsTestFile, documentsDir,
- expected = "InvalidValuesError", t = async_test("File_deleteDirectory_with_file_handle");
+ expected = "InvalidValuesError", t = async_test(document.title);
t.step(function (){
fsTestFileName = getFileName("filesystem.txt");
<head>
<title>File_deleteDirectory_with_null_callbacks</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_null_callbacks
-//==== LABEL check whether 'deleteDirectory' method properly removes a specified directory
+//==== LABEL Check whether 'deleteDirectory' method properly removes a specified directory
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA
-var this_test = async_test("File_deleteDirectory_with_null_callbacks");
-this_test.step(function () {
- var resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+t.step(function () {
fsTestDirName = getDirName("filesystem");
- resolveSuccess = this_test.step_func(function (dir) {
+ resolveSuccess = t.step_func(function (dir) {
fsTestDir = dir.createDirectory(fsTestDirName);
dir.deleteDirectory(fsTestDir.fullPath, true, null, null);
- this_test.done();
+ t.done();
});
- resolveError = this_test.step_func(function (error) {
+ resolveError = t.step_func(function (error) {
assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
- prepareForTesting(this_test, function () {
+ prepareForTesting(t, function () {
tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
});
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_onerror
-//==== LABEL: Check if method deleteDirectory wit onError optional argument works properly.
+//==== LABEL Check if method deleteDirectory wit onError optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
var resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName,
- expected = "NotFoundError", t = async_test("File_deleteDirectory_with_onerror");
+ expected = "NotFoundError", t = async_test(document.title);
t.step(function () {
fsTestDirName = getDirName("filesystemNoExist");
<head>
<title>File_deleteDirectory_with_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_deleteDirectory_with_onsuccess
-//==== LABEL: Check if method deleteDirectory wit onSuccess optional argument works properly.
+//==== LABEL Check if method deleteDirectory wit onSuccess optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MR
-var t = async_test("File_deleteDirectory_with_onsuccess"), retVal = null,
+var t = async_test(document.title), retVal = null,
resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestDirName, fsTestDir, documentsDir;
t.step(function () {
deleteSuccess = t.step_func(function () {
assert_equals(retVal, undefined, "incorrect returned value");
- assert_throws({name: "NotFoundError"}, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
documentsDir.resolve(fsTestDirName);
}, "directory wasn't deleted properly");
t.done();
<html>
<head>
<title>File_deleteFile</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile
-//==== LABEL: Check if method deleteFile of File works properly.
+//==== LABEL Check if method deleteFile of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MR
-var t = async_test("File_deleteFile"), fsTestFileName, fsTestFile, i, retVal = null,
+var t = async_test(document.title), fsTestFileName, fsTestFile, i, retVal = null,
resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir, deleteSuccess;
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>File_deleteFile_copyFile_downloads</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_copyFile_downloads
-//==== LABEL check if create a new file in downloads and copy the file to another location and then delete the file
+//==== LABEL Check if create a new file in downloads and copy the file to another location and then delete the file
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_copyFile_downloads"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
deleteFileSuccess, deleteFileError;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>File_deleteFile_copyFile_images</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_copyFile_images
-//==== LABEL check if create a new file in images and copy the file to another location and then delete the file
+//==== LABEL Check if create a new file in images and copy the file to another location and then delete the file
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_copyFile_images"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
deleteFileSuccess, deleteFileError;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>File_deleteFile_copyFile_music</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_copyFile_music
-//==== LABEL check if create a new file in music and copy the file to another location and then delete the file
+//==== LABEL Check if create a new file in music and copy the file to another location and then delete the file
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_copyFile_music"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
deleteFileSuccess, deleteFileError;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>File_deleteFile_copyFile_videos</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_copyFile_videos
-//==== LABEL check if create a new file in videos and copy the file to another location and then delete the file
+//==== LABEL Check if create a new file in videos and copy the file to another location and then delete the file
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_copyFile_videos"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
deleteFileSuccess, deleteFileError;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>File_deleteFile_createFile</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_createFile
-//==== LABEL check if create a new file and then delete the file
+//==== LABEL Check if create a new file and then delete the file
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_createFile"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError, deleteFileSuccess, deleteFileError;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
<head>
<title>File_deleteFile_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_deleteFile_exist"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function (){
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>File_deleteFile_listDocumentsFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_listDocumentsFiles
-//==== LABEL check if delete the list of all files in documents
+//==== LABEL Check if delete the list of all files in documents
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_listDocumentsFiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
deleteFileSuccess, deleteFileError;
});
listFilesSuccess = t.step_func(function (files) {
- assert_true(files.length > 0,"Files not found");
- fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+ assert_true(files.length > 0, "Files not found");
+ fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
});
listFilesError = t.step_func(function (error) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>File_deleteFile_listDownloadsFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_listDownloadsFiles
-//==== LABEL check if delete the list of all files in downloads
+//==== LABEL Check if delete the list of all files in downloads
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_listDownloadsFiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
deleteFileSuccess, deleteFileError;
});
listFilesSuccess = t.step_func(function (files) {
- assert_true(files.length > 0,"Files not found");
- fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+ assert_true(files.length > 0, "Files not found");
+ fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
});
listFilesError = t.step_func(function (error) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>File_deleteFile_listImagsFiles</title>
<meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_listImagsFiles
-//==== LABEL check if delete the list of all files in images
+//==== LABEL Check if delete the list of all files in images
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_listImagsFiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
deleteFileSuccess, deleteFileError;
});
listFilesSuccess = t.step_func(function (files) {
- assert_true(files.length > 0,"Files not found");
- fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+ assert_true(files.length > 0, "Files not found");
+ fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
});
listFilesError = t.step_func(function (error) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>File_deleteFile_listMusicFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_listMusicFiles
-//==== LABEL check if delete the list of all files in music
+//==== LABEL Check if delete the list of all files in music
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_listMusicFiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
deleteFileSuccess, deleteFileError;
});
listFilesSuccess = t.step_func(function (files) {
- assert_true(files.length > 0,"Files not found");
- fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+ assert_true(files.length > 0, "Files not found");
+ fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
});
listFilesError = t.step_func(function (error) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>File_deleteFile_listVideosfiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_deleteFile_listVideosfiles
-//==== LABEL check if delete the list of all files in videos
+//==== LABEL Check if delete the list of all files in videos
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_listVideosfiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
deleteFileSuccess, deleteFileError;
});
listFilesSuccess = t.step_func(function (files) {
- assert_true(files.length > 0,"Files not found");
- fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+ assert_true(files.length > 0, "Files not found");
+ fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
});
listFilesError = t.step_func(function (error) {
<html>
<head>
<title>File_deleteFile_onerror_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in deleteFile method.
+//==== LABEL Check argument onError conversions exception in deleteFile method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_deleteFile_onerror_TypeMismatch"),
+var t = async_test(document.title),
resolveSuccess, resolveError, conversionTable, deleteFileError, i, deleteFileSuccess,
exceptionName = "TypeMismatchError";
deleteFileError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.deleteFile("verybadfile.txt", deleteFileSuccess, deleteFileError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<html>
<head>
<title>File_deleteFile_onerror_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in deleteFile method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in deleteFile method onError callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_deleteFile_onerror_invalid_cb"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError, deleteFileSuccess, exceptionName = "TypeMismatchError",
deleteFileError;
});
resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createDirectory(fsTestFileName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<html>
<head>
<title>File_deleteFile_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_onsuccess_TypeMismatch
-//==== LABEL: Check argument onsuccess conversions exception in deleteFile method.
+//==== LABEL Check argument onsuccess conversions exception in deleteFile method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_deleteFile_onsuccess_TypeMismatch"), deleteFileSuccess, fsTestFileName,
+var t = async_test(document.title), deleteFileSuccess, fsTestFileName,
resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile;
t.step(function () {
deleteFileSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<html>
<head>
<title>File_deleteFile_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in deleteFile method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in deleteFile method onSuccess callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_deleteFile_onsuccess_invalid_cb"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError, deleteFileSuccess, exceptionName = "TypeMismatchError";
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createFile(fsTestFileName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>File_deleteFile_with_dir_handle</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_with_dir_handle
-//==== LABEL check if throw an exception when delete a file with dir handle.
+//==== LABEL Check if throw an exception when delete a file with dir handle.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_deleteFile_with_dir_handle"), fsTestDirName, fsTestDir,
+var t = async_test(document.title), fsTestDirName, fsTestDir,
resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, expected = "InvalidValuesError",
documentsDir;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>File_deleteFile_with_nonexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_with_nonexist
-//==== LABEL check if throw an exception when delete a file which not exist.
+//==== LABEL Check if throw an exception when delete a file which not exist.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var expected = "NotFoundError", t = async_test("File_deleteFile_with_nonexist"),
+var expected = "NotFoundError", t = async_test(document.title),
resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, fsTestFileName;
t.step(function () {
<html>
<head>
<title>File_deleteFile_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_with_onerror
-//==== LABEL: Check if method deleteFile wit onError optional argument works properly.
+//==== LABEL Check if method deleteFile wit onError optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_deleteFile_with_onerror"),
+var t = async_test(document.title),
resolveSuccess, resolveError, deleteFileError, deleteFileSuccess, fsTestFileName;
t.step(function () {
<html>
<head>
<title>File_deleteFile_with_onsuccess</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_with_onsuccess
-//==== LABEL: Check if method deleteFile with onSuccess optional argument works properly.
+//==== LABEL Check if method deleteFile with onSuccess optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_deleteFile_with_onsuccess"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError, deleteFileSuccess;
t.step(function () {
<html>
<head>
<title>File_deleteFile_with_vaild_callbacks</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_with_vaild_callbacks
-//==== LABEL check whether 'deleteFile' method properly removes a specified file
+//==== LABEL Check whether 'deleteFile' method properly removes a specified file
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var this_test = async_test("File_deleteFile_with_vaild_callbacks"),
+var t = async_test(document.title),
deleteFileSuccess, deleteFileError, documentsDir,
resolveSuccess, resolveError, fsTestFileName, fsTestFile;
-this_test.step(function () {
+t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
- deleteFileSuccess = this_test.step_func(function () {
- this_test.done();
+ deleteFileSuccess = t.step_func(function () {
+ t.done();
});
- deleteFileError = this_test.step_func(function (error) {
+ deleteFileError = t.step_func(function (error) {
assert_unreached("delete() error callback invoked: name:" + error.name + "msg:" + error.message);
});
- resolveSuccess = this_test.step_func(function (dir) {
+ resolveSuccess = t.step_func(function (dir) {
documentsDir = dir;
fsTestFile = dir.createFile(fsTestFileName);
dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
});
- resolveError = this_test.step_func(function (error) {
+ resolveError = t.step_func(function (error) {
assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
});
- prepareForTesting(this_test, function () {
+ prepareForTesting(t, function () {
tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
});
});
<html>
<head>
<title>File_deleteFile_with_valid_filePath</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_deleteFile_with_valid_filePath
-//==== LABEL check whether 'deleteFile' method works properly removing a specified file
+//==== LABEL Check whether 'deleteFile' method works properly removing a specified file
//==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA
-var this_test = async_test("File_deleteFile_with_valid_filePath"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError;
-this_test.step(function () {
+t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
- resolveSuccess = this_test.step_func(function (dir) {
+ resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createFile(fsTestFileName);
dir.deleteFile(fsTestFile.fullPath);
- this_test.done();
+ t.done();
});
- resolveError = this_test.step_func(function (error) {
+ resolveError = t.step_func(function (error) {
assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
});
- prepareForTesting(this_test, function () {
+ prepareForTesting(t, function () {
tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
});
});
<html>
<head>
<title>File_extend</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_extend
-//==== LABEL: test whether the File object can have new attribute added
+//==== LABEL Test whether the File object can have new attribute added
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:File:File U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA OBX
-var t = async_test("File_extend"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function () {
<html>
<head>
<title>File_fileSize_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_fileSize_attribute
-//==== LABEL: Check if attribute fileSize of File exists, has type Number and is readonly
+//==== LABEL Check if attribute fileSize of File exists, has type Number and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:fileSize A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("File_fileSize_attribute"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError;
t.step(function () {
<html>
<head>
<title>File_fullPath_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_fullPath_attribute
-//==== LABEL: Check if attribute fullPath of File exists, has type DOMString and is readonly
+//==== LABEL Check if attribute fullPath of File exists, has type DOMString and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:fullPath A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("File_fullPath_attribute"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError;
t.step(function () {
<html>
<head>
<title>File_isDirectory_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_isDirectory_attribute
-//==== LABEL: Check if attribute isDirectory of File exists, has type Boolean and is readonly
+//==== LABEL Check if attribute isDirectory of File exists, has type Boolean and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:isDirectory A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("File_isDirectory_attribute"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function () {
<html>
<head>
<title>File_isFile_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_isFile_attribute
-//==== LABEL: Check if attribute isFile of File exists, has type Boolean and is readonly
+//==== LABEL Check if attribute isFile of File exists, has type Boolean and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:isFile A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("File_isFile_attribute"),
+var t = async_test(document.title),
resolveSuccess, resolveError;
t.step(function () {
<html>
<head>
<title>File_length_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_length_attribute
-//==== LABEL: Check if attribute length of File exists, has type Number and is readonly
+//==== LABEL Check if attribute length of File exists, has type Number and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:length A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("File_length_attribute"), fsTestFileName = getFileName("filesystem.txt"),
+var t = async_test(document.title), fsTestFileName = getFileName("filesystem.txt"),
resolveSuccess, resolveError, fsTestFile;
t.step(function () {
<html>
<head>
<title>File_listFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: File_listFiles
-//==== LABEL: Check if method listFiles of File works properly.
+//==== LABEL Check if method listFiles of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-var t = async_test("File_listFiles"),
+var t = async_test(document.title),
resolveSuccess, resolveError, listFilesSuccess, retVal=null;
t.step(function () {
listFilesSuccess = t.step_func(function (files) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>File_listFiles_createFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_createFiles
-//==== LABEL check if create a new directory and then list all files in this directory
+//==== LABEL Check if create a new directory and then list all files in this directory
//==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_listFiles_createFiles"),
+var t = async_test(document.title),
resolveSuccess, resolveError, listFilesSuccess, listFilesError,
fsTestDirName, fsTestDir, documentsDir, fsTestFileName1, fsTestFileName2;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
<head>
<title>File_listFiles_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_listFiles_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<html>
<head>
<title>File_listFiles_filter_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: File_listFiles_filter_TypeMismatch
-//==== LABEL: Check argument filter conversions exception.
+//==== LABEL Check argument filter conversions exception.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_listFiles_filter_TypeMismatch"), listFilesSuccess,
+var t = async_test(document.title), listFilesSuccess,
resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
filter;
<head>
<title>File_listFiles_filter_empty</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_filter_empty
-//==== LABEL check with empty FileFilter argument of listFiles
+//==== LABEL Check with empty FileFilter argument of listFiles
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTD
-var t = async_test("File_listFiles_filter_empty"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
listFilesSuccess, listFilesError;
t.step(function () {
<html>
<head>
<title>File_listFiles_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== TEST: File_listFiles_missarg
//==== PRIORITY: P2
-//==== LABEL: Check if listFiles of File with missing non-optional argument works
+//==== LABEL Check if listFiles of File with missing non-optional argument works
//==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
-var t = async_test("File_listFiles_missarg"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
dir.listFiles();
});
t.done();
<html>
<head>
<title>File_listFiles_onerror_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in listFiles method.
+//==== LABEL Check argument onError conversions exception in listFiles method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_listFiles_onerror_TypeMismatch"),
+var t = async_test(document.title),
resolveSuccess, resolveError, conversionTable, listFilesError, i, fsTestFileName,
fsTestFile, listFilesSuccess, exceptionName = "TypeMismatchError";
listFilesError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
fsTestFile.listFiles(listFilesSuccess, listFilesError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<html>
<head>
<title>File_listFiles_onerror_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in listFiles method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in listFiles method onError callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_listFiles_onerror_invalid_cb"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError, listFilesSuccess, exceptionName = "TypeMismatchError",
listFilesError;
t.step(function () {
});
resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createFile(fsTestFileName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
fsTestFile.listFiles(listFilesSuccess, listFilesError);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<html>
<head>
<title>File_listFiles_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in listFiles method.
+//==== LABEL Check argument onSuccess conversions exception in listFiles method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_listFiles_onsuccess_TypeMismatch"), listFilesSuccess,
+var t = async_test(document.title), listFilesSuccess,
resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
t.step(function () {
<html>
<head>
<title>File_listFiles_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in listFiles method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in listFiles method onSuccess callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_listFiles_onsuccess_invalid_cb"),
+var t = async_test(document.title),
resolveSuccess, resolveError, listFilesSuccess, exceptionName = "TypeMismatchError";
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>File_listFiles_with_file_handle</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_with_file_handle
-//==== LABEL check if throw an exception when listFiles with a file handle.
+//==== LABEL Check if throw an exception when listFiles with a file handle.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile,
- documentsDir, t = async_test("File_listFiles_with_file_handle"), expected = "IOError";
+ documentsDir, t = async_test(document.title), expected = "IOError";
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>File_listFiles_with_filter</title>
<meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_with_filter
-//==== LABEL check if list files in documents directory with filter.
+//==== LABEL Check if list files in documents directory with filter.
//==== PRIORITY P1
//==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var filesFilter, listFilesError, resolveSuccess, resolveError, listFilesSuccess, documentsDir,
fsTestFileName, fsTestFile, filesRegExp = new RegExp("^" + FILE_AND_DIR_NAME_PREFIX),
- t = async_test("File_listFiles_with_filter");
+ t = async_test(document.title);
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
filesFilter = {name: FILE_AND_DIR_NAME_PREFIX + "%"};
listFilesSuccess = t.step_func(function (files) {
- assert_true(files.length > 0 ,"file wasn't found");
+ assert_true(files.length > 0 , "file wasn't found");
assert_regexp_match(files[0].name, filesRegExp, "bad file was found");
t.done();
});
<html>
<head>
<title>File_listFiles_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_with_onerror
-//==== LABEL: Check if method listFiles wit onError optional argument works properly.
+//==== LABEL Check if method listFiles wit onError optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_listFiles_with_onerror"),
+var t = async_test(document.title),
resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile;
t.step(function () {
<html>
<head>
<title>File_listFiles_with_valid_successCallback</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_listFiles_with_valid_successCallback
-//==== LABEL check whether 'listFiles' method properly retrieves the list of files in directory
+//==== LABEL Check whether 'listFiles' method properly retrieves the list of files in directory
//==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA
-var this_test = async_test("File_listFiles_with_valid_successCallback"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
listFilesSuccess;
-this_test.step(function () {
+t.step(function () {
- listFilesSuccess = this_test.step_func(function (files) {
+ listFilesSuccess = t.step_func(function (files) {
assert_type(files, "array", "files");
- this_test.done();
+ t.done();
});
- resolveSuccess = this_test.step_func(function (dir) {
+ resolveSuccess = t.step_func(function (dir) {
dir.listFiles(listFilesSuccess);
});
- resolveError = this_test.step_func(function (error) {
+ resolveError = t.step_func(function (error) {
assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
<html>
<head>
<title>File_modified_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_modified_attribute
-//==== LABEL: Check if attribute modified of File exists, has type Date and is readonly
+//==== LABEL Check if attribute modified of File exists, has type Date and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:modified A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE ARO AT
-var t = async_test("File_modified_attribute"),
+var t = async_test(document.title),
resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
t.step(function () {
<html>
<head>
<title>File_moveTo</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo
-//==== LABEL: Check if method moveTo of File works properly.
+//==== LABEL Check if method moveTo of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-var t = async_test("File_moveTo"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError, retVal;
t.step(function () {
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_moveTo_dir_samedir_samename_overwrite_false
-//==== LABEL check if error callback invoked when move a directory to the same location with the same name (overwrite is false).
+//==== LABEL Check if error callback invoked when move a directory to the same location with the same name (overwrite is false).
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
fsTestSubDirName1, expected = "IOError",
- t = async_test("File_moveTo_dir_samedir_samename_overwrite_false");
+ t = async_test(document.title);
t.step(function () {
fsTestDirName1 = getDirName("filesystem1");
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_moveTo_dir_samedir_samename_overwrite_true
-//==== LABEL check if error callback invoked when move a directory to the same location with the same name (overwrite is true).
+//==== LABEL Check if error callback invoked when move a directory to the same location with the same name (overwrite is true).
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
fsTestSubDirName1, expected = "IOError",
- t = async_test("File_moveTo_dir_samedir_samename_overwrite_true");
+ t = async_test(document.title);
t.step(function () {
fsTestDirName1 = getDirName("filesystem1");
<html>
<head>
<title>File_moveTo_empty_destination_source_and_destination_paths</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_empty_destination_source_and_destination_paths
-//==== LABEL check whether invoking 'moveTo' method with improper arguments calls error callback function properly
+//==== LABEL Check whether invoking 'moveTo' method with improper arguments calls error callback function properly
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_moveTo_empty_destination_source_and_destination_paths"),
+var t = async_test(document.title),
moveToSuccess, moveToError, resolveSuccess, resolveError;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
<head>
<title>File_moveTo_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_moveTo_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>File_moveTo_file_samedir_samename_overwrite_false</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_moveTo_file_samedir_samename_overwrite_false
-//==== LABEL check if error callback invoked when move a file to the same location with the same name (overwrite is false).
+//==== LABEL Check if error callback invoked when move a file to the same location with the same name (overwrite is false).
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_moveTo_file_samedir_samename_overwrite_false"), resolveSuccess,
+var t = async_test(document.title), resolveSuccess,
resolveError, moveToSuccess, moveToError, expectedError = "IOError",
fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, fsTestFile;
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<html>
<head>
<title>File_moveTo_file_samedir_samename_overwrite_true</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_moveTo_file_samedir_samename_overwrite_true
-//==== LABEL check if error callback invoked when move a file to the same location with the same name (overwrite is true)
+//==== LABEL Check if error callback invoked when move a file to the same location with the same name (overwrite is true)
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_moveTo_file_samedir_samename_overwrite_true"), resolveSuccess,
+var t = async_test(document.title), resolveSuccess,
resolveError, moveToSuccess, moveToError, expectedError = "IOError",
fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1,
fsTestDir2, fsTestFile;
<html>
<head>
<title>File_moveTo_onerror_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in moveTo method.
+//==== LABEL Check argument onError conversions exception in moveTo method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_moveTo_onerror_TypeMismatch"),
+var t = async_test(document.title),
resolveSuccess, resolveError, conversionTable, moveToError, i, moveToSuccess,
exceptionName = "TypeMismatchError";
<html>
<head>
<title>File_moveTo_onerror_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in moveTo method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in moveTo method onError callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_moveTo_onerror_invalid_cb"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError, moveToSuccess, exceptionName = "TypeMismatchError",
moveToError;
resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createFile(fsTestFileName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess, moveToError);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<html>
<head>
<title>File_moveTo_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in moveTo method.
+//==== LABEL Check argument onSuccess conversions exception in moveTo method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_moveTo_onsuccess_TypeMismatch"), moveToSuccess, fsTestFileName, fsTestFile,
+var t = async_test(document.title), moveToSuccess, fsTestFileName, fsTestFile,
resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
t.step(function () {
moveToSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
}, exceptionName + " should be thrown - given incorrect success callback.");
<html>
<head>
<title>File_moveTo_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_onsuccess_invalid_cb
-//==== LABEL: check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method.
+//==== LABEL Check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_moveTo_onsuccess_invalid_cb"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
moveToSuccess, exceptionName = "TypeMismatchError", fsTestFileName, fsTestFile;
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createFile(fsTestFileName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<head>
<meta charset="utf-8" />
<title>File_moveTo_with_additional_null_parameter</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_with_additional_null_parameter
-//==== LABEL check whether 'moveTo' method invoked with additional null parameter properly transfers a file
+//==== LABEL Check whether 'moveTo' method invoked with additional null parameter properly transfers a file
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var this_test = async_test("File_moveTo_with_additional_null_parameter"), fsTestFileName2,
+var t = async_test(document.title), fsTestFileName2,
resolveSuccess, resolveError, file, movedPath, fsTestFileName, moveToSuccess;
-this_test.step(function () {
+t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
fsTestFileName2 = getFileName("filesystem2.txt");
- moveToSuccess = this_test.step_func(function () {
- this_test.done();
+ moveToSuccess = t.step_func(function () {
+ t.done();
});
- resolveSuccess = this_test.step_func(function (dir) {
+ resolveSuccess = t.step_func(function (dir) {
file = dir.createFile(fsTestFileName);
assert_true(isFileObject(file), "isFileObject(createdFile)");
movedPath = dir.fullPath + "/" + fsTestFileName2;
dir.moveTo(file.fullPath, movedPath, true, moveToSuccess, null, null);
});
- resolveError = this_test.step_func(function (error) {
+ resolveError = t.step_func(function (error) {
assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
- prepareForTesting(this_test, function () {
+ prepareForTesting(t, function () {
tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
});
});
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>File_moveTo_with_file_handle</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_with_file_handle
-//==== LABEL check if errorCallback will be invoked when moveTo will be used with file handle.
+//==== LABEL Check if errorCallback will be invoked when moveTo will be used with file handle.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDirName1,
fsTestDirName2, fsTestDir1, fsTestDir2, fsTestFileName, fsTestFile,
- expectedError = "IOError", t = async_test("File_moveTo_with_file_handle");
+ expectedError = "IOError", t = async_test(document.title);
t.step(function () {
fsTestDirName1 = getFileName("filesystem");
<html>
<head>
<title>File_moveTo_with_invalid_filePath</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_with_invalid_filePath
-//==== LABEL check whether invoking 'moveTo' method with improper argument calls error callback function properly
+//==== LABEL Check whether invoking 'moveTo' method with improper argument calls error callback function properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var this_test = async_test("File_moveTo_with_invalid_filePath"), param = ["aa"], fsTestFileName,
+var t = async_test(document.title), param = ["aa"], fsTestFileName,
i = 0, resolveError, resolveSuccess, moveToSuccess, moveToError;
-this_test.step(function () {
+t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
- moveToError = this_test.step_func(function (err) {
+ moveToError = t.step_func(function (err) {
assert_equals(err.name, NOT_FOUND_ERR, "moveTo error[" + err.name + "]");
- this_test.done();
+ t.done();
});
- moveToSuccess = this_test.step_func(function (files) {
+ moveToSuccess = t.step_func(function (files) {
assert_unreached("Unexpected onMoveToSuccess");
});
- resolveSuccess = this_test.step_func(function (dir) {
+ resolveSuccess = t.step_func(function (dir) {
for (i = 0; i < param.length; i++) {
dir.moveTo(param[i], dir.fullPath + "/" + fsTestFileName, true,
moveToSuccess, moveToError);
}
});
- resolveError = this_test.step_func(function (error) {
+ resolveError = t.step_func(function (error) {
assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
- prepareForTesting(this_test, function () {
+ prepareForTesting(t, function () {
tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
});
<html>
<head>
<title>File_moveTo_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_with_onerror
-//==== LABEL: Check if method moveTo wit onError optional argument works properly.
+//==== LABEL Check if method moveTo wit onError optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_moveTo_with_onerror"),
+var t = async_test(document.title),
resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestFileName;
t.step(function () {
<head>
<title>File_moveTo_with_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_with_onsuccess
-//==== LABEL: Check if method moveTo wit onSuccess optional argument works properly.
+//==== LABEL Check if method moveTo wit onSuccess optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MOA
-var t = async_test("File_moveTo_with_onsuccess"), listFilesError, resolveError,
+var t = async_test(document.title), listFilesError, resolveError,
resolveSuccess, documentsDir, listFilesSuccess, moveToSuccess, i, fsTestFileName;
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<title>File_moveTo_with_path_invalid</title>
<meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_with_path_invalid
-//==== LABEL check if throw an exception when move a file to an invalid path.
+//==== LABEL Check if throw an exception when move a file to an invalid path.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_moveTo_with_path_invalid"), fsTestDirName, fsTestDir,
+var t = async_test(document.title), fsTestDirName, fsTestDir,
expected = "NotFoundError", documentsDir, resolveSuccess, resolveError,
moveToSuccess, moveToError;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<title>File_moveTo_writeFile_newName</title>
<meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_writeFile_newName
-//==== LABEL check if create a new empty file and write content of the file and then move the file to the same location with different file name
+//==== LABEL Check if create a new empty file and write content of the file and then move the file to the same location with different file name
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var resolveSuccess, resolveError, fsTestDirName, fsTestFileName, fsTestDir,
- fsTestFile, fsTestFileName2, moveToSuccess, moveToError, t = async_test("File_moveTo_writeFile_newName"),
+ fsTestFile, fsTestFileName2, moveToSuccess, moveToError, t = async_test(document.title),
openStreamSuccess, openStreamError;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>File_moveTo_writeFile_overwrite_false</title>
<meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_writeFile_overwrite_false
-//==== LABEL check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)
+//==== LABEL Check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_moveTo_writeFile_overwrite_false"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess, mainDir,
moveToError, fsTestFileName, fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError";
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<title>File_moveTo_writeFile_subdir</title>
<meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_moveTo_writeFile_subdir
-//==== LABEL check if create a new empty file and write content of the file and then move the file to subdirectory with same file name
+//==== LABEL Check if create a new empty file and write content of the file and then move the file to subdirectory with same file name
//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess,
moveToError, fsTestDirName1, fsTestDirName2, fsTestFileName,
- fsTestFile, fsTestDir1, fsTestDir2, t = async_test("File_moveTo_writeFile_subdir");
+ fsTestFile, fsTestDir1, fsTestDir2, t = async_test(document.title);
t.step(function () {
fsTestDirName1 = getFileName("filesystem");
<head>
<title>File_name_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_name_attribute
-//==== LABEL: Check if attribute name of File exists, has type DOMString and is readonly
+//==== LABEL Check if attribute name of File exists, has type DOMString and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:name A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE ARO AT
-var t = async_test("File_name_attribute"), fsTestFileName,
+var t = async_test(document.title), fsTestFileName,
fsTestFile, resolveSuccess, resolveError;
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
<html>
<head>
<title>File_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_notexist
-//==== LABEL: check if is possible to call File in new expresion
+//==== LABEL Check if is possible to call File in new expresion
//==== PRIORITY: P3
//==== SPEC Tizen Web API:IO:Filesystem:File:File U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("File");
-});
+}, document.title);
</script>
</body>
<head>
<meta charset="utf-8" />
<title>File_openStream</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_openStream
-//==== LABEL: Check if method openStream of File works properly.
+//==== LABEL Check if method openStream of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-var t = async_test("File_openStream"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError, retVal = null;
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<meta charset="utf-8" />
<title>File_openStream_encoding_invalid</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_openStream_encoding_invalid
-//==== LABEL check if throw an exception when open the file in invalid encoding.
+//==== LABEL Check if throw an exception when open the file in invalid encoding.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_openStream_encoding_invalid"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError,
fsTestFileName, fsTestFile, documentsDir;
resolveSuccess = t.step_func(function (dir) {
documentsDir = dir;
fsTestFile = dir.createFile(fsTestFileName);
- assert_throws({
- "name": TYPE_MISMATCH_ERR
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
fsTestFile.openStream("r", openStreamSuccess, openStreamError, "coding");
});
t.done();
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
<head>
<title>File_openStream_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_openStream_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
<html>
<head>
<title>File_openStream_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
//==== TEST: File_openStream_missarg
//==== PRIORITY: P2
-//==== LABEL: Check if openStream of File with missing non-optional argument works
+//==== LABEL Check if openStream of File with missing non-optional argument works
//==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
-var t = async_test("File_openStream_missarg"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
resolveSuccess, resolveError;
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createFile(fsTestFileName);
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
fsTestFile.openStream();
});
t.done();
<html>
<head>
<title>File_openStream_mode_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: File_openStream_mode_TypeMismatch
-//==== LABEL: Check argument mode conversions exception.
+//==== LABEL Check argument mode conversions exception.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_openStream_mode_TypeMismatch"),
+var t = async_test(document.title),
resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
openStreamSuccess, mode;
mode = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.openStream(mode, openStreamSuccess);
}, exceptionName + " should be thrown - given incorrect mode.");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<meta charset="utf-8" />
<title>File_openStream_mode_a</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_openStream_mode_a
-//==== LABEL check if open the file with mode a.
+//==== LABEL Check if open the file with mode a.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
- fsTestFile, documentsDir, t = async_test("File_openStream_mode_a");
+ fsTestFile, documentsDir, t = async_test(document.title);
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<meta charset="utf-8" />
<title>File_openStream_mode_r</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_openStream_mode_r
-//==== LABEL check if open the file with mode r.
+//==== LABEL Check if open the file with mode r.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
- fsTestFile, documentsDir, t = async_test("File_openStream_mode_r");
+ fsTestFile, documentsDir, t = async_test(document.title);
t.step(function (){
fsTestFileName = getFileName("filesystem.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<meta charset="utf-8" />
<title>File_openStream_mode_rw</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_openStream_mode_rw
-//==== LABEL check if open the file with mode rw.
+//==== LABEL Check if open the file with mode rw.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
- fsTestFile, documentsDir, t = async_test("File_openStream_mode_rw");
+ fsTestFile, documentsDir, t = async_test(document.title);
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<meta charset="utf-8" />
<title>File_openStream_mode_w</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_openStream_mode_w
-//==== LABEL check if open the file with mode w.
+//==== LABEL Check if open the file with mode w.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
- fsTestFile, documentsDir, t = async_test("File_openStream_mode_w");
+ fsTestFile, documentsDir, t = async_test(document.title);
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
<head>
<title>File_openStream_onerror_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: File_openStream_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in openStream method.
+//==== LABEL Check argument onError conversions exception in openStream method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_openStream_onerror_TypeMismatch"),
+var t = async_test(document.title),
resolveSuccess, resolveError, conversionTable, openStreamError, i, openStreamSuccess,
exceptionName = "TypeMismatchError";
t.step(function () {
openStreamError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.openStream("r", openStreamSuccess, openStreamError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<head>
<title>File_openStream_onerror_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: File_openStream_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in openStream method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in openStream method onError callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_openStream_onerror_invalid_cb"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, exceptionName = "TypeMismatchError",
openStreamError;
t.step(function () {
});
resolveSuccess = t.step_func(function (dir) {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.openStream("r", openStreamSuccess, openStreamError);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<head>
<meta charset="utf-8" />
<title>File_openStream_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_openStream_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in openStream method.
+//==== LABEL Check argument onSuccess conversions exception in openStream method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_openStream_onsuccess_TypeMismatch"), openStreamSuccess,
+var t = async_test(document.title), openStreamSuccess,
resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
fsTestFileName, fsTestFile;
t.step(function () {
openStreamSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
fsTestFile.openStream("r", openStreamSuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<html>
<head>
<title>File_openStream_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: File_openStream_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in openStream method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in openStream method onSuccess callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_openStream_onsuccess_invalid_cb"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, exceptionName = "TypeMismatchError", fsTestFileName, fsTestFile;
t.step(function (){
fsTestFileName = getFileName("filesystem.txt");
resolveSuccess = t.step_func(function (dir) {
fsTestFile = dir.createFile(fsTestFileName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
fsTestFile.openStream("r", openStreamSuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<head>
<title>File_openStream_with_encoding</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_openStream_with_encoding
-//==== LABEL: Check if method openStream wit encoding optional argument works properly.
+//==== LABEL Check if method openStream wit encoding optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MOA
-var t = async_test("File_openStream_with_encoding"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
openStreamSuccess, openStreamError, fsTestFileName, fsTestFile;
t.step(function (){
Authors:
Kaiyu <kaiyux.li@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>File_openStream_with_nonexist_file</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_openStream_with_nonexist_file
-//==== LABEL check if throw an exception when open the file which not exist.
+//==== LABEL Check if throw an exception when open the file which not exist.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
var fsTestFileName, fsTestFile, resolveSuccess, resolveError, deleteFileSuccess,
deleteFileError, openStreamSuccess, openStreamError,
- t = async_test("File_openStream_with_nonexist_file");
+ t = async_test(document.title);
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
<html>
<head>
<title>File_openStream_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: File_openStream_with_onerror
-//==== LABEL: Check if method openStream wit onError optional argument works properly.
+//==== LABEL Check if method openStream wit onError optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MAST MOA
-var t = async_test("File_openStream_with_onerror"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError;
t.step(function (){
openStreamError = t.step_func(function () {
<html>
<head>
<title>File_parent_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script>
//==== TEST: File_parent_attribute
-//==== LABEL: Check if attribute parent of File exists, has type File and is readonly
+//==== LABEL Check if attribute parent of File exists, has type File and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:parent A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE ARO AT
-var t = async_test("File_parent_attribute"), resolveSuccess, resolveError, fsTestFileName,
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName,
fsTestFile, fsTestDir, fsTestDirName;
t.step(function () {
<head>
<title>File_parent_attribute_notnull_using_resolve</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_parent_attribute_notnull_using_resolve
-//==== LABEL: Check if attribute parent of File is not null when using resolve method
+//==== LABEL Check if attribute parent of File is not null when using resolve method
//==== SPEC: Tizen Web API:IO:Filesystem:File:parent A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
//Check if attribute parent of File is not null when using resolve method
-var t = async_test("File_parent_attribute_notnull_using_resolve"),
+var t = async_test(document.title),
resolveSuccess, resolveError, resolveFileSuccess, fsTestFileName;
t.step(function (){
<head>
<title>File_path_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_path_attribute
-//==== LABEL: Check if attribute path of File exists, has type DOMString and is readonly
+//==== LABEL Check if attribute path of File exists, has type DOMString and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:path A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE ARO AT
-var t = async_test("File_path_attribute"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<head>
<title>File_readAsText</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_readAsText
-//==== LABEL: Check if method readAsText of File works properly.
+//==== LABEL Check if method readAsText of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-var t = async_test("File_readAsText"), resolveSuccess, resolveError, stringInFile = "HelloWorld",
+var t = async_test(document.title), resolveSuccess, resolveError, stringInFile = "HelloWorld",
readAsTextSuccess, file, fsTestFileName = getFileName("testReadAsTextAgain.txt"), retVal = null;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<head>
<meta charset="utf-8" />
<title>File_readAsText_encoding_invalid</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_readAsText_encoding_invalid
-//==== LABEL check if throw an exception when readAsText in invalid encoding.
+//==== LABEL Check if throw an exception when readAsText in invalid encoding.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("File_readAsText_encoding_invalid"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
readAsTextSuccess, documentsDir, expected = "TypeMismatchError", fsTestFileName,
fsTestFile, readAsTextError;
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
<head>
<title>File_readAsText_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_readAsText_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listDocumentsFiles
-//==== LABEL check if list all files in documents and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in documents and then read the content of the file as a DOMString
//==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var testFile, resolveSuccess, resolveError, readAsTextSuccess,
readAsTextError, openStreamSuccess, openStreamError,
listFilesSuccess, listFilesError, text = "test write method",
- t = async_test("File_readAsText_listDocumentsFiles"),
+ t = async_test(document.title),
fsTestFileName = getFileName("write01.txt");
t.step(function (){
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listDownloadsFiles
-//==== LABEL check if list all files in downloads and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in downloads and then read the content of the file as a DOMString
//==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_readAsText_listDownloadsFiles"),
+var t = async_test(document.title),
text = "test write method", testFile, resolveSuccess, resolveError,
listFilesSuccess, listFilesError, openStreamSuccess,
openStreamError, readAsTextSuccess, readAsTextError,
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listImagesFiles
-//==== LABEL check if list all files in images and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in images and then read the content of the file as a DOMString
//==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var text = "test write method", t = async_test("File_readAsText_listImagesFiles"),
+var text = "test write method", t = async_test(document.title),
testFile, resolveSuccess, resolveError, listFilesSuccess,
listFilesError, openStreamSuccess, openStreamError,
readAsTextSuccess, readAsTextError,
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listMusicFiles
-//==== LABEL check if list all files in music and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in music and then read the content of the file as a DOMString
//==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
var testFile, resolveSuccess, resolveError, listFilesSuccess,
listFilesError, openStreamSuccess, openStreamError, readAsTextSuccess,
readAsTextError, text = "test write method",
- t = async_test("File_readAsText_listMusicFiles"),
+ t = async_test(document.title),
fsTestFileName = getFileName("write01.txt");
t.step(function (){
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_readAsText_listVideosFiles
-//==== LABEL check if list all files in videos and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in videos and then read the content of the file as a DOMString
//==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var text = "test write method", t = async_test("File_readAsText_listVideosFiles"),
+var text = "test write method", t = async_test(document.title),
testFile, resolveSuccess, resolveError, listFilesSuccess,
listFilesError, openStreamSuccess, openStreamError,
readAsTextSuccess, readAsTextError,
<head>
<title>File_readAsText_missarg</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
//==== TEST: File_readAsText_missarg
//==== PRIORITY: P2
-//==== LABEL: Check if readAsText of File with missing non-optional argument works
+//==== LABEL Check if readAsText of File with missing non-optional argument works
//==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMA
-var t = async_test("File_readAsText_missarg"),
+var t = async_test(document.title),
resolveSuccess, resolveError, file,
fsTestFileName = getFileName("testMissArg.txt");
t.step_func(function (fs) {
fs.write("HelloWorld");
fs.close();
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
file.readAsText();
});
<head>
<title>File_readAsText_onerror_TypeMismatch</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: File_readAsText_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in readAsText method.
+//==== LABEL Check argument onError conversions exception in readAsText method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_readAsText_onerror_TypeMismatch"),
+var t = async_test(document.title),
resolveSuccess, resolveError, conversionTable, readAsTextError, i,
readAsTextSuccess, exceptionName = "TypeMismatchError";
readAsTextError = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.readAsText(readAsTextSuccess, readAsTextError);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<head>
<title>File_readAsText_onerror_invalid_cb</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: File_readAsText_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in readAsText method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in readAsText method onError callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_readAsText_onerror_invalid_cb"),
+var t = async_test(document.title),
resolveSuccess, resolveError, readAsTextSuccess, readAsTextError,
exceptionName = "TypeMismatchError";
});
resolveSuccess = t.step_func(function (dir) {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
dir.readAsText(readAsTextSuccess, readAsTextError);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<head>
<title>File_readAsText_onsuccess_TypeMismatch</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: File_readAsText_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in readAsText method.
+//==== LABEL Check argument onSuccess conversions exception in readAsText method.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MC
-var t = async_test("File_readAsText_onsuccess_TypeMismatch"), readAsTextSuccess,
+var t = async_test(document.title), readAsTextSuccess,
resolveSuccess, resolveError, conversionTable, i, file,
exceptionName = "TypeMismatchError",
fsTestFileName = getFileName("goodFile2.txt");
readAsTextSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
file.readAsText(readAsTextSuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<head>
<title>File_readAsText_onsuccess_invalid_cb</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: File_readAsText_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in readAsText method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in readAsText method onSuccess callback.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MTCB
-var t = async_test("File_readAsText_onsuccess_invalid_cb"),
+var t = async_test(document.title),
resolveSuccess, resolveError, readAsTextSuccess,
exceptionName = "TypeMismatchError",
fsTestFileName = getFileName("goodFile.txt"), file;
};
resolveSuccess = t.step_func(function (dir) {
file = dir.createFile(fsTestFileName);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
file.readAsText(readAsTextSuccess);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<head>
<title>File_readAsText_with_encoding</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: File_readAsText_with_encoding
-//==== LABEL: Check if method readAsText wit encoding optional argument works properly.
+//==== LABEL Check if method readAsText wit encoding optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
-var t = async_test("File_readAsText_with_encoding"),
+var t = async_test(document.title),
resolveSuccess, resolveError, listFilesSuccess, listFilesError,
readAsTextSuccess, readAsTextError, i;
<head>
<title>File_readAsText_with_onerror</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: File_readAsText_with_onerror
-//==== LABEL: Check if method readAsText wit onError optional argument works properly.
+//==== LABEL Check if method readAsText wit onError optional argument works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MERRCB
-var t = async_test("File_readAsText_with_onerror"),
+var t = async_test(document.title),
resolveSuccess, resolveError, readAsTextSuccess, readAsTextError;
t.step(function () {
<head>
<title>File_readOnly_attribute</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: File_readOnly_attribute
-//==== LABEL: Check if attribute readOnly of File exists, has type Boolean and is readonly
+//==== LABEL Check if attribute readOnly of File exists, has type Boolean and is readonly
//==== SPEC: Tizen Web API:IO:Filesystem:File:readOnly A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA AE AT ARO
-var t = async_test("File_readOnly_attribute"),
+var t = async_test(document.title),
onSuccess, onError;
t.step(function () {
onSuccess = t.step_func(function (dir) {
<head>
<title>File_resolve</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/filesystem_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: File_resolve
-//==== LABEL: Check if method resolve of File works properly.
+//==== LABEL Check if method resolve of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA MR
-var t = async_test("File_resolve"),
+var t = async_test(document.title),
resolveSuccess, resolveError, listFilesSuccess, i, ds, file,
fsTestFileName = getFileName("goodFile2.txt");
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
<head>
<title>File_resolve_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_resolve_exist"),
+var t = async_test(document.title),
onSuccess, onError;
t.step(function (){
onSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_resolve_with_invalid_para
-//==== LABEL check if throw an exception when resolve a file with the incompatible input parameter.
+//==== LABEL Check if throw an exception when resolve a file with the incompatible input parameter.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("File_resolve_with_invalid_para"),
+var t = async_test(document.title),
expected = "InvalidValuesError", resolveSuccess, resolveError,
fsTestFileName = getFileName("test77.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<script type="text/javascript">
//==== TEST: File_resolve_with_nonexist
-//==== LABEL check if throw an exception when resolve a file which not exist.
+//==== LABEL Check if throw an exception when resolve a file which not exist.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA
-var t = async_test("File_resolve_with_nonexist"),
- resolveSuccess, resolveError, fsTestFileName;
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName, expected = "NotFoundError";
t.step(function () {
fsTestFileName = getFileName("noExistFile.txt");
try{
dir.resolve(fsTestFileName);
}catch(error) {
- var expected = "NotFoundError";
assert_equals(error.name, expected, "expect throw an exception");
t.done();
}
<head>
<title>File_toURI</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: File_toURI
-//==== LABEL: Check if method toURI of File works properly.
+//==== LABEL Check if method toURI of File works properly.
//==== SPEC: Tizen Web API:IO:Filesystem:File:toURI M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MNA MR
-var t = async_test("File_toURI"), resolveSuccess, resolveError, returnedValue, fsTestFileName, fsTestFile;
+var t = async_test(document.title), resolveSuccess, resolveError, returnedValue, fsTestFileName, fsTestFile;
t.step(function () {
fsTestFileName = getFileName("filesystem.txt");
<head>
<title>File_toURI_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA ME
-var t = async_test("File_toURI_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
t.step(function () {
resolveSuccess = t.step_func(function (dir) {
<head>
<title>File_toURI_extra_argument</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: File_toURI_extra_argument
-//==== LABEL: Check if method toURI of File accepts extra argument
+//==== LABEL Check if method toURI of File accepts extra argument
//==== SPEC: Tizen Web API:IO:Filesystem:File:toURI M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MNAEX
-var t = async_test("File_toURI_extra_argument"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
t.step(function (){
resolveSuccess = t.step_func(function (dir) {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>File_toURI_with_nonexist_file</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/filesystem_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: File_toURI_with_nonexist_file
-//==== LABEL check if throw an exception when get a URI of nonexist file.
+//==== LABEL Check if throw an exception when get a URI of nonexist file.
//==== PRIORITY P2
//==== SPEC Tizen Web API:IO:Filesystem:File:toURI M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MNA
-var t = async_test("File_toURI_with_nonexist_file"),
+var t = async_test(document.title),
resolveSuccess, resolveError, deleteFileSuccess, deleteFileError , fsTestFileName, fsTestFile, returnedValue;
t.step(function () {
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: filesystem_FileStreamSuccessCallback_onsuccess
-//==== LABEL check if FileStreamSuccessCallback method: onsuccess is exist
+//==== LABEL Check if FileStreamSuccessCallback method: onsuccess is exist
//==== SPEC Tizen Web API:IO:Filesystem:FileStreamSuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA CBOA
// check if FileStreamSuccessCallback method: onSuccess is exist
-var t = async_test("filesystem_FileStreamSuccessCallback_onsuccess"),
+var t = async_test(document.title),
resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
fsTestFileName = getFileName("successFile.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: filesystem_File_copyTo
-//==== LABEL check if copy a file successfully
+//==== LABEL Check if copy a file successfully
//==== PRIORITY P0
//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
// check if copy a file successfully
-var t = async_test("filesystem_File_copyTo"),
+var t = async_test(document.title),
createFile, resolveSuccess, resolveError, copyToSuccess, copyToError,
fsTestFileName = getFileName("copyFile.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: filesystem_File_readAsText
-//==== LABEL check if reads the content of a file as a DOMString.
+//==== LABEL Check if reads the content of a file as a DOMString.
//==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MOA
// check if reads the content of a file as a DOMString.
-var t = async_test("filesystem_File_readAsText"), text = "test write method",
+var t = async_test(document.title), text = "test write method",
testFile, resolveSuccess, resolveError, openStreamSuccess, openStreamError,
readAsTextSuccess, readAsTextError,
fsTestFileName = getFileName("write01.txt");
Authors:
Kaiyu <kaiyux.li@intel.com>
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
-->
<div id="log"></div>
<script type="text/javascript">
//==== TEST: filesystem_File_resolve
-//==== LABEL check if resolve a file and return a file handle
+//==== LABEL Check if resolve a file and return a file handle
//==== SPEC Tizen Web API:IO:Filesystem:File:resolve M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
//==== TEST_CRITERIA MMINA
// check if resolves a file and returns a file handle.
-var t = async_test("filesystem_File_resolve"),
+var t = async_test(document.title),
resolveSuccess, resolveError, expected = "object", handle,
fsTestFileName = getFileName("resolve.doc");
--- /dev/null
+/*
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+
+ */
+
+
+MIN_BYTE = -128;
+MAX_BYTE = 127;
+MIN_OCTET = 0;
+MAX_OCTET = 255;
+MIN_SHORT = -32768;
+MAX_SHORT = 32767;
+MIN_UNSIGNED_SHORT = 0;
+MAX_UNSIGNED_SHORT = 65535;
+MIN_LONG = -2147483648;
+MAX_LONG = 2147483647;
+MIN_UNSIGNED_LONG = 0;
+MAX_UNSIGNED_LONG = 4294967295;
+MIN_LONG_LONG = -9223372036854775808;
+MAX_LONG_LONG = 9223372036854775807;
+MIN_UNSIGNED_LONG_LONG = 0;
+MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
+
+TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
+NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
+INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+IO_EXCEPTION = {name: 'IOError'};
+SECURITY_EXCEPTION = {name: 'SecurityError'};
+
+
+(function () {
+ var head_src = document.head.innerHTML;
+ if (head_src.search(/\/testharness.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
+ }
+ if (head_src.search(/\/testharnessreport.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
+ }
+})();
+
+var _registered_types = {};
+
+function _resolve_registered_type(type) {
+ while (type in _registered_types) {
+ type = _registered_types[type];
+ }
+ return type;
+}
+
+/**
+ * Method checks extra argument for none argument method.
+ * The only check is that method will not throw an exception.
+ * Example usage:
+ * checkExtraArgument(tizen.notification, "removeAll");
+ *
+ * @param object object
+ * @param methodName string - name of the method
+ */
+function checkExtraArgument(object, methodName) {
+ var extraArgument = [
+ null,
+ undefined,
+ "Tizen",
+ 1,
+ false,
+ ["one", "two"],
+ {argument: 1},
+ function () {}
+ ], i;
+
+ for (i = 0; i < extraArgument.length; i++) {
+ object[methodName](extraArgument[i]);
+ }
+}
+
+/**
+ * Method to validate conversion.
+ * Example usage:
+ * conversionTable = getTypeConversionExceptions("functionObject", true);
+ * for(i = 0; i < conversionTable.length; i++) {
+ * errorCallback = conversionTable[i][0];
+ * exceptionName = conversionTable[i][1];
+ *
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.systemsetting.setProperty("HOME_SCREEN",
+ * propertyValue, successCallback, errorCallback);
+ * }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ * }
+ *
+ * @param conversionType
+ * @param isOptional
+ * @returns table of tables which contain value (index 0) and exceptionName (index 1)
+ *
+ */
+function getTypeConversionExceptions(conversionType, isOptional) {
+ var exceptionName = "TypeMismatchError",
+ conversionTable;
+ switch (conversionType) {
+ case "enum":
+ conversionTable = [
+ [undefined, exceptionName],
+ [null, exceptionName],
+ [0, exceptionName],
+ [true, exceptionName],
+ ["dummyInvalidEnumValue", exceptionName],
+ [{ }, exceptionName]
+ ];
+ break;
+ case "double":
+ conversionTable = [
+ [undefined, exceptionName],
+ [NaN, exceptionName],
+ [Number.POSITIVE_INFINITY, exceptionName],
+ [Number.NEGATIVE_INFINITY, exceptionName],
+ ["TIZEN", exceptionName],
+ [{ name : "TIZEN" }, exceptionName],
+ [function () { }, exceptionName]
+ ];
+ break;
+ case "object":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "functionObject":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [[], exceptionName],
+ [{ }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "array":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [{ }, exceptionName],
+ [function () { }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "dictionary":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ default:
+ assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+ };
+
+ return conversionTable;
+}
+
+
+function assert_type(obj, type, description) {
+ var org_type = type, prop_name, prop_type, prop_value;
+
+ type = _resolve_registered_type(type);
+
+ if (typeof (type) === 'string') {
+ type = type.toLowerCase();
+ switch (type) {
+ case 'object':
+ case 'string':
+ case 'number':
+ case 'function':
+ case 'boolean':
+ case 'undefined':
+ case 'xml':
+ assert_equals(typeof (obj), type, description);
+ break;
+ case 'null':
+ assert_true(obj === null, description);
+ break;
+ case 'array':
+ assert_true(Array.isArray(obj), description);
+ break;
+ case 'date':
+ assert_true(obj instanceof Date, description);
+ break;
+ case 'byte':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'octet':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ default:
+ assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
+ }
+ } else if (typeof (type) === 'function') {
+ assert_true(obj instanceof type, description);
+ } else if (typeof (type) === 'object') {
+ for (prop_name in type) {
+ prop_type = type[prop_name];
+ if (prop_type === 'function') {
+ assert_inherits(obj, prop_name);
+ assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
+ } else {
+ assert_own_property(obj, prop_name);
+ }
+ }
+ } else {
+ assert_unreached('Fix your test. Wrong type ' + org_type);
+ }
+}
+
+function register_type(alias, type_spec) {
+ _registered_types[alias] = type_spec;
+}
+
+/**
+ * Method to check if attribute is const.
+ * Example usage:
+ * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
+ *
+ * @param obj object to test which has const attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ var tmp;
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ tmp = obj[attributeName];
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if attribute is readonly.
+ * Example usage:
+ * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
+ *
+ * @param obj object to test which has readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
+}
+
+/**
+ * Method to check if attribute can be set to null.
+ * Example usage:
+ * check_not_nullable(syncInfo, "mode");
+ *
+ * @param obj object to test which has not nullable attribute
+ * @param attributeName attribute name.
+ */
+function check_not_nullable(obj, attributeName)
+{ var old_value = obj[attributeName];
+ obj[attributeName] = null;
+ assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
+ obj[attributeName] = old_value;
+}
+
+/**
+ * Method to check NoInterfaceObject
+ * Example usage:
+ * check_no_interface_object("BluetoothAdapter")
+ *
+ * @param interfaceName interface name
+ */
+function check_no_interface_object(interfaceName) {
+ assert_throws({name: "TypeError"}, function () {
+ tizen[interfaceName]();
+ },"Wrong call as a function");
+ assert_throws({name: "TypeError"}, function () {
+ new tizen[interfaceName]();
+ },"Wrong call as a new function");
+ assert_throws({name: "TypeError"}, function () {
+ ({}) instanceof tizen[interfaceName];
+ },"instanceof exception");
+ assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
+}
+
+
+/**
+ * Method to check Constructors
+ * Example usage:
+ * check_constructor("BluetoothAdapter")
+ *
+ * @param constructorName constructor name
+ */
+
+function check_constructor(constructorName) {
+ assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
+ assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
+ assert_throws({
+ name: "TypeError"
+ }, function () {
+ tizen[constructorName]();
+ }, "Constructor called as function.");
+}
+
+/**
+ * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
+ * That method also checks if given method exists in a given object.
+ * Example usage:
+ * check_method_exists(tizen.notification, "get");
+ *
+ * @param obj object with method
+ * @param methodName name of the method to check.
+ */
+function check_method_exists(obj, methodName) {
+ assert_type(obj[methodName], 'function', "Method does not exist.");
+}
+
+/**
+ * Method to check extensibility of given object.
+ * Method checks if new attribute and method can be added.
+ * Example usage:
+ * check_extensibility(tizen.notification);
+ *
+ * @param obj object to check
+ */
+function check_extensibility(obj) {
+ var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
+ obj.newDummyMethod = function() {
+ return dummyMethodResult;
+ }
+ assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
+
+ obj.newDummyAttribute = dummyAttribute;
+ assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
+}
+
+/**
+ * Method to check if attribute can be modify.
+ * Example usage:
+ * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
+ *
+ * @param obj object to test which has not readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if whole array can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_array_assignments(message, "to", false);
+ *
+ * @param obj object which has the array as its property
+ * @param array name of the array to check
+ * @param isNullable indicates if the array can be null
+ */
+function check_invalid_array_assignments(obj, array, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
+ val = obj[array], i;
+
+ if (!isNullable) {
+ obj[array] = null;
+ assert_not_equals(obj[array], null, "Non-nullable array was set to null");
+ assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
+ assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ obj[array] = args[i];
+ assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
+ assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
+ }
+}
+
+/**
+ * Method to check if an object can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_object_assignments(message, "body", false);
+ *
+ * @param parentObj object which has the 'obj' object as its property
+ * @param obj name of the object to check
+ * @param isNullable indicates if the object can be null
+ */
+function check_invalid_obj_assignments(parentObj, obj, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
+ val = parentObj[obj], i;
+
+ if (!isNullable) {
+ parentObj[obj] = null;
+ assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ parentObj[obj] = args[i];
+ assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
+ }
+}
+
+/**
+ * Method to validate conversion for listeners.
+ * Example usage:
+ * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
+ * for(i = 0; i < incorrectListeners.length; i++) {
+ * packageInformationEventCallback = incorrectListeners[i][0];
+ * exceptionName = incorrectListeners[i][1];
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+ * }, exceptionName + " should be thrown - given incorrect successCallback.");
+ * }
+ *
+ *
+ * @param callbackNames Array with names
+ * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
+ *
+ */
+function getListenerConversionExceptions(callbackNames) {
+ var result = [], conversionTable, i, j, listenerName;
+ conversionTable = getTypeConversionExceptions("functionObject", false);
+
+ for (i = 0; i < callbackNames.length; i++) {
+ for (j = 0; j < conversionTable.length; j++) {
+ listenerName = {};
+ listenerName[callbackNames[i]] = conversionTable[j][0];
+ result.push([listenerName, conversionTable[j][1]]);
+ }
+ }
+
+ return result;
+}
+++ /dev/null
-/*
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-
- */
-
-
-MIN_BYTE = -128;
-MAX_BYTE = 127;
-MIN_OCTET = 0;
-MAX_OCTET = 255;
-MIN_SHORT = -32768;
-MAX_SHORT = 32767;
-MIN_UNSIGNED_SHORT = 0;
-MAX_UNSIGNED_SHORT = 65535;
-MIN_LONG = -2147483648;
-MAX_LONG = 2147483647;
-MIN_UNSIGNED_LONG = 0;
-MAX_UNSIGNED_LONG = 4294967295;
-MIN_LONG_LONG = -9223372036854775808;
-MAX_LONG_LONG = 9223372036854775807;
-MIN_UNSIGNED_LONG_LONG = 0;
-MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
-
-TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
-NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
-INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
-IO_EXCEPTION = {name: 'IOError'};
-SECURITY_EXCEPTION = {name: 'SecurityError'};
-
-
-(function () {
- var head_src = document.head.innerHTML;
- if (head_src.search(/\/testharness.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
- }
- if (head_src.search(/\/testharnessreport.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
- }
-})();
-
-var _registered_types = {};
-
-function _resolve_registered_type(type) {
- while (type in _registered_types) {
- type = _registered_types[type];
- }
- return type;
-}
-
-/**
- * Method checks extra argument for none argument method.
- * The only check is that method will not throw an exception.
- * Example usage:
- * checkExtraArgument(tizen.notification, "removeAll");
- *
- * @param object object
- * @param methodName string - name of the method
- */
-function checkExtraArgument(object, methodName) {
- var extraArgument = [
- null,
- undefined,
- "Tizen",
- 1,
- false,
- ["one", "two"],
- {argument: 1},
- function () {}
- ], i;
-
- for (i = 0; i < extraArgument.length; i++) {
- object[methodName](extraArgument[i]);
- }
-}
-
-/**
- * Method to validate conversion.
- * Example usage:
- * conversionTable = getTypeConversionExceptions("functionObject", true);
- * for(i = 0; i < conversionTable.length; i++) {
- * errorCallback = conversionTable[i][0];
- * exceptionName = conversionTable[i][1];
- *
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.systemsetting.setProperty("HOME_SCREEN",
- * propertyValue, successCallback, errorCallback);
- * }, exceptionName + " should be thrown - given incorrect errorCallback.");
- * }
- *
- * @param conversionType
- * @param isOptional
- * @returns table of tables which contain value (index 0) and exceptionName (index 1)
- *
- */
-function getTypeConversionExceptions(conversionType, isOptional) {
- var exceptionName = "TypeMismatchError",
- conversionTable;
- switch (conversionType) {
- case "enum":
- conversionTable = [
- [undefined, exceptionName],
- [null, exceptionName],
- [0, exceptionName],
- [true, exceptionName],
- ["dummyInvalidEnumValue", exceptionName],
- [{ }, exceptionName]
- ];
- break;
- case "double":
- conversionTable = [
- [undefined, exceptionName],
- [NaN, exceptionName],
- [Number.POSITIVE_INFINITY, exceptionName],
- [Number.NEGATIVE_INFINITY, exceptionName],
- ["TIZEN", exceptionName],
- [{ name : "TIZEN" }, exceptionName],
- [function () { }, exceptionName]
- ];
- break;
- case "object":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "functionObject":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [[], exceptionName],
- [{ }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "array":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [{ }, exceptionName],
- [function () { }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "dictionary":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- default:
- assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
- };
-
- return conversionTable;
-}
-
-
-function assert_type(obj, type, description) {
- var org_type = type, prop_name, prop_type, prop_value;
-
- type = _resolve_registered_type(type);
-
- if (typeof (type) === 'string') {
- type = type.toLowerCase();
- switch (type) {
- case 'object':
- case 'string':
- case 'number':
- case 'function':
- case 'boolean':
- case 'undefined':
- case 'xml':
- assert_equals(typeof (obj), type, description);
- break;
- case 'null':
- assert_true(obj === null, description);
- break;
- case 'array':
- assert_true(Array.isArray(obj), description);
- break;
- case 'date':
- assert_true(obj instanceof Date, description);
- break;
- case 'byte':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
- assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'octet':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
- assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- default:
- assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
- }
- } else if (typeof (type) === 'function') {
- assert_true(obj instanceof type, description);
- } else if (typeof (type) === 'object') {
- for (prop_name in type) {
- prop_type = type[prop_name];
- if (prop_type === 'function') {
- assert_inherits(obj, prop_name);
- assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
- } else {
- assert_own_property(obj, prop_name);
- }
- }
- } else {
- assert_unreached('Fix your test. Wrong type ' + org_type);
- }
-}
-
-function register_type(alias, type_spec) {
- _registered_types[alias] = type_spec;
-}
-
-/**
- * Method to check if attribute is const.
- * Example usage:
- * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
- *
- * @param obj object to test which has const attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- var tmp;
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- tmp = obj[attributeName];
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if attribute is readonly.
- * Example usage:
- * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
- *
- * @param obj object to test which has readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
-}
-
-/**
- * Method to check if attribute can be set to null.
- * Example usage:
- * check_not_nullable(syncInfo, "mode");
- *
- * @param obj object to test which has not nullable attribute
- * @param attributeName attribute name.
- */
-function check_not_nullable(obj, attributeName)
-{ var old_value = obj[attributeName];
- obj[attributeName] = null;
- assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
- obj[attributeName] = old_value;
-}
-
-/**
- * Method to check NoInterfaceObject
- * Example usage:
- * check_no_interface_object("BluetoothAdapter")
- *
- * @param interfaceName interface name
- */
-function check_no_interface_object(interfaceName) {
- assert_throws({name: "TypeError"}, function () {
- tizen[interfaceName]();
- },"Wrong call as a function");
- assert_throws({name: "TypeError"}, function () {
- new tizen[interfaceName]();
- },"Wrong call as a new function");
- assert_throws({name: "TypeError"}, function () {
- ({}) instanceof tizen[interfaceName];
- },"instanceof exception");
- assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
-}
-
-
-/**
- * Method to check Constructors
- * Example usage:
- * check_constructor("BluetoothAdapter")
- *
- * @param constructorName constructor name
- */
-
-function check_constructor(constructorName) {
- assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
- assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
- assert_throws({
- name: "TypeError"
- }, function () {
- tizen[constructorName]();
- }, "Constructor called as function.");
-}
-
-/**
- * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
- * That method also checks if given method exists in a given object.
- * Example usage:
- * check_method_exists(tizen.notification, "get");
- *
- * @param obj object with method
- * @param methodName name of the method to check.
- */
-function check_method_exists(obj, methodName) {
- assert_type(obj[methodName], 'function', "Method does not exist.");
-}
-
-/**
- * Method to check extensibility of given object.
- * Method checks if new attribute and method can be added.
- * Example usage:
- * check_extensibility(tizen.notification);
- *
- * @param obj object to check
- */
-function check_extensibility(obj) {
- var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
- obj.newDummyMethod = function() {
- return dummyMethodResult;
- }
- assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
-
- obj.newDummyAttribute = dummyAttribute;
- assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
-}
-
-/**
- * Method to check if attribute can be modify.
- * Example usage:
- * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
- *
- * @param obj object to test which has not readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if whole array can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_array_assignments(message, "to", false);
- *
- * @param obj object which has the array as its property
- * @param array name of the array to check
- * @param isNullable indicates if the array can be null
- */
-function check_invalid_array_assignments(obj, array, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
- val = obj[array], i;
-
- if (!isNullable) {
- obj[array] = null;
- assert_not_equals(obj[array], null, "Non-nullable array was set to null");
- assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
- assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- obj[array] = args[i];
- assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
- assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
- }
-}
-
-/**
- * Method to check if an object can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_object_assignments(message, "body", false);
- *
- * @param parentObj object which has the 'obj' object as its property
- * @param obj name of the object to check
- * @param isNullable indicates if the object can be null
- */
-function check_invalid_obj_assignments(parentObj, obj, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
- val = parentObj[obj], i;
-
- if (!isNullable) {
- parentObj[obj] = null;
- assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- parentObj[obj] = args[i];
- assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
- }
-}
-
-/**
- * Method to validate conversion for listeners.
- * Example usage:
- * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
- * for(i = 0; i < incorrectListeners.length; i++) {
- * packageInformationEventCallback = incorrectListeners[i][0];
- * exceptionName = incorrectListeners[i][1];
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
- * }, exceptionName + " should be thrown - given incorrect successCallback.");
- * }
- *
- *
- * @param callbackNames Array with names
- * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
- *
- */
-function getListenerConversionExceptions(callbackNames) {
- var result = [], conversionTable, i, j, listenerName;
- conversionTable = getTypeConversionExceptions("functionObject", false);
-
- for (i = 0; i < callbackNames.length; i++) {
- for (j = 0; j < conversionTable.length; j++) {
- listenerName = {};
- listenerName[callbackNames[i]] = conversionTable[j][0];
- result.push([listenerName, conversionTable[j][1]]);
- }
- }
-
- return result;
-}
<test_definition>
<suite name="tct-filesystem-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Filesystem">
- <testcase purpose="check if is possible to call FileArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileArraySuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileArraySuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if is possible to call FileStreamSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStreamSuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileStreamSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStreamSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="test whether the FileStream object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_extend">
+ <testcase purpose="Test whether the FileStream object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if is possible to call FileStream in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_notexist">
+ <testcase purpose="Check if is possible to call FileStream in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when readBase64 from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBase64_with_invalid_value">
+ <testcase purpose="Check if throw an exception when readBase64 from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBase64_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_with_invalid_value.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBase64_without_r_permission">
+ <testcase purpose="Check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBase64_without_r_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_without_r_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file as base64" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBase64_writeFile">
+ <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file as base64" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBase64_writeFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_writeFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when readBytes from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_with_invalid_value">
+ <testcase purpose="Check if throw an exception when readBytes from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_with_invalid_value.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when read the specified number of bytes from a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_without_r_permission">
+ <testcase purpose="Check if throw an exception when read the specified number of bytes from a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_without_r_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_without_r_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file as a byte array" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBytes_writeFile">
+ <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file as a byte array" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBytes_writeFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_writeFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when read a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_with_invalid_value">
+ <testcase purpose="Check if throw an exception when read a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_with_invalid_value.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when read a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_without_r_permission">
+ <testcase purpose="Check if throw an exception when read a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_without_r_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_without_r_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_read_writeFile">
+ <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_read_writeFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_writeFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBase64_without_w_permission">
+ <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBase64_without_w_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_without_w_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'writeBytes' method properly writes the specified bytes to FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes_with_additional_null_parameter">
+ <testcase purpose="Check whether 'writeBytes' method properly writes the specified bytes to FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes_with_additional_null_parameter">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when write the specified bytes to a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBytes_without_w_permission">
+ <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBytes_without_w_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_without_w_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when write a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_write_without_w_permission">
+ <testcase purpose="Check if throw an exception when write a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_write_without_w_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write_without_w_permission.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if is possible to call FileStringSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStringSuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileStringSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStringSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if is possible to call FileSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if FileSystemManagerObject not exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManagerObject_notexist">
+ <testcase purpose="Check if FileSystemManagerObject not exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManagerObject_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManagerObject_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
+ <testcase purpose="Check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_without_arguments.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when get information about a storage based on nonexist label." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_with_nonexist_label">
+ <testcase purpose="Check if throw an exception when get information about a storage based on nonexist label." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_with_nonexist_label">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_nonexist_label.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'listStorages' method properly retrieves the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_storages_retrieve">
+ <testcase purpose="Check whether 'listStorages' method properly retrieves the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_storages_retrieve">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_storages_retrieve.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'listStorages' method with improper argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
+ <testcase purpose="Check whether invoking 'listStorages' method with improper argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_invalid_error_callbacks.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'listStorages' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_without_arguments">
+ <testcase purpose="Check whether invoking 'listStorages' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_without_arguments">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_without_arguments.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'listStorages' method returns the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_works_correctly">
+ <testcase purpose="Check whether 'listStorages' method returns the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_works_correctly.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when removeStorageStateChangeListener with an invalid input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
+ <testcase purpose="Check if throw an exception when removeStorageStateChangeListener with an invalid input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_with_para_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
+ <testcase purpose="Check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_works_correctly.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if resolve documents to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_documents">
+ <testcase purpose="Check if resolve documents to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_documents">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_documents.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if resolve downloads to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_downloads">
+ <testcase purpose="Check if resolve downloads to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_downloads">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_downloads.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check with error callback invoked" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_error_invoked">
+ <testcase purpose="Check with error callback invoked" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_error_invoked">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_error_invoked.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when resolve an invalid location." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_invalid_location">
+ <testcase purpose="Check if throw an exception when resolve an invalid location." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_invalid_location">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_invalid_location.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if resolve a location with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_a">
+ <testcase purpose="Check if resolve a location with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_a.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if resolve a location with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_r">
+ <testcase purpose="Check if resolve a location with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_r">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_r.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if resolve a location with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_w">
+ <testcase purpose="Check if resolve a location with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_w.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if resolve music to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_music">
+ <testcase purpose="Check if resolve music to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_music">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_music.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_a">
+ <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_rw">
+ <testcase purpose="Check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_rw">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_w">
+ <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if resolve videos to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_videos">
+ <testcase purpose="Check if resolve videos to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_videos">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_videos.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_a">
+ <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw">
+ <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_w">
+ <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_works_correctly">
+ <testcase purpose="Check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_works_correctly.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageArraySuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageArraySuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if is possible to call FileSystemStorageSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageSuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileSystemStorageSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="test whether the FileSystemStorage object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_extend">
+ <testcase purpose="Test whether the FileSystemStorage object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if is possible to call FileSystemStorage in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_notexist">
+ <testcase purpose="Check if is possible to call FileSystemStorage in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_overwrite_false">
+ <testcase purpose="Check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_overwrite_true">
+ <testcase purpose="Check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_overwrite_false">
+ <testcase purpose="Check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if copy a file to another location of the file with the same name (overwrite is true) was successfull." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_overwrite_true">
+ <testcase purpose="Check if copy a file to another location of the file with the same name (overwrite is true) was successfull." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback invoked when copy a file to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when copy a file to an invalid destination." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_destination_invalid">
+ <testcase purpose="Check if throw an exception when copy a file to an invalid destination." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_destination_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when copyTo with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_file_handle">
+ <testcase purpose="Check if throw an exception when copyTo with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_file_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_file_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_filepath">
+ <testcase purpose="Check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_filepath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_filepath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_virtual_file">
+ <testcase purpose="Check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_virtual_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_virtual_file.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'copyTo' method properly copies file in case success and error callbacks are undefined" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_null_success_and_error_callbacks">
+ <testcase purpose="Check whether 'copyTo' method properly copies file in case success and error callbacks are undefined" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_null_success_and_error_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when copyTo with invalid parameters." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_para_invalid">
+ <testcase purpose="Check if throw an exception when copyTo with invalid parameters." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_para_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_para_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then copy the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_newName">
+ <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_newName">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newName.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_overwrite_false">
+ <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_subdir">
+ <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_subdir">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_subdir.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create directory of two levels." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_level2">
+ <testcase purpose="Check if create directory of two levels." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_level2">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory_level2.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="create existing file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_existing_file">
+ <testcase purpose="Create existing file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_existing_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_existing_file.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when create file with invalid file name." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_with_invalid_name">
+ <testcase purpose="Check if throw an exception when create file with invalid file name." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_with_invalid_name">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_with_invalid_name.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new directory in documents and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_documents">
+ <testcase purpose="Check if create a new directory in documents and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_documents">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_documents.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new directory in downloads and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_downloads">
+ <testcase purpose="Check if create a new directory in downloads and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_downloads">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_downloads.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new directory in images and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_images">
+ <testcase purpose="Check if create a new directory in images and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_images">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_images.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new directory in music and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_music">
+ <testcase purpose="Check if create a new directory in music and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_music">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_music.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new directory in videos and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_videos">
+ <testcase purpose="Check if create a new directory in videos and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_videos">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_videos.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_empty_path">
+ <testcase purpose="Check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_empty_path">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_empty_path.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when delete a dir with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_with_file_handle">
+ <testcase purpose="Check if throw an exception when delete a dir with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_with_file_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_file_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'deleteDirectory' method properly removes a specified directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_null_callbacks">
+ <testcase purpose="Check whether 'deleteDirectory' method properly removes a specified directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_null_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new file in downloads and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_downloads">
+ <testcase purpose="Check if create a new file in downloads and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_downloads">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_downloads.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new file in images and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_images">
+ <testcase purpose="Check if create a new file in images and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_images">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_images.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new file in music and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_music">
+ <testcase purpose="Check if create a new file in music and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_music">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_music.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new file in videos and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_videos">
+ <testcase purpose="Check if create a new file in videos and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_videos">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_videos.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new file and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_createFile">
+ <testcase purpose="Check if create a new file and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_createFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_createFile.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if delete the list of all files in documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDocumentsFiles">
+ <testcase purpose="Check if delete the list of all files in documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDocumentsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDocumentsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if delete the list of all files in downloads" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDownloadsFiles">
+ <testcase purpose="Check if delete the list of all files in downloads" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDownloadsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDownloadsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if delete the list of all files in images" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listImagsFiles">
+ <testcase purpose="Check if delete the list of all files in images" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listImagsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listImagsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if delete the list of all files in music" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listMusicFiles">
+ <testcase purpose="Check if delete the list of all files in music" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listMusicFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listMusicFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if delete the list of all files in videos" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listVideosfiles">
+ <testcase purpose="Check if delete the list of all files in videos" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listVideosfiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listVideosfiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when delete a file with dir handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_with_dir_handle">
+ <testcase purpose="Check if throw an exception when delete a file with dir handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_with_dir_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_dir_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when delete a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_with_nonexist">
+ <testcase purpose="Check if throw an exception when delete a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_with_nonexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_nonexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'deleteFile' method properly removes a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_vaild_callbacks">
+ <testcase purpose="Check whether 'deleteFile' method properly removes a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_vaild_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'deleteFile' method works properly removing a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_valid_filePath">
+ <testcase purpose="Check whether 'deleteFile' method works properly removing a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_valid_filePath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_valid_filePath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="test whether the File object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_extend">
+ <testcase purpose="Test whether the File object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new directory and then list all files in this directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_createFiles">
+ <testcase purpose="Check if create a new directory and then list all files in this directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_createFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_createFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check with empty FileFilter argument of listFiles" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_empty">
+ <testcase purpose="Check with empty FileFilter argument of listFiles" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_empty">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_empty.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when listFiles with a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_with_file_handle">
+ <testcase purpose="Check if throw an exception when listFiles with a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_with_file_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_file_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if list files in documents directory with filter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_filter">
+ <testcase purpose="Check if list files in documents directory with filter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_filter">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_filter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'listFiles' method properly retrieves the list of files in directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_valid_successCallback">
+ <testcase purpose="Check whether 'listFiles' method properly retrieves the list of files in directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_valid_successCallback">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_valid_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback invoked when move a directory to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_dir_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_dir_samedir_samename_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_dir_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_dir_samedir_samename_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'moveTo' method with improper arguments calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_empty_destination_source_and_destination_paths">
+ <testcase purpose="Check whether invoking 'moveTo' method with improper arguments calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_empty_destination_source_and_destination_paths">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback invoked when move a file to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback invoked when move a file to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback invoked when move a file to the same location with the same name (overwrite is true)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback invoked when move a file to the same location with the same name (overwrite is true)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onsuccess_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'moveTo' method invoked with additional null parameter properly transfers a file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_additional_null_parameter">
+ <testcase purpose="Check whether 'moveTo' method invoked with additional null parameter properly transfers a file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_additional_null_parameter">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_additional_null_parameter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if errorCallback will be invoked when moveTo will be used with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_file_handle">
+ <testcase purpose="Check if errorCallback will be invoked when moveTo will be used with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_file_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_file_handle.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'moveTo' method with improper argument calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_invalid_filePath">
+ <testcase purpose="Check whether invoking 'moveTo' method with improper argument calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_invalid_filePath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_invalid_filePath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when move a file to an invalid path." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_path_invalid">
+ <testcase purpose="Check if throw an exception when move a file to an invalid path." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_path_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_path_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then move the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_newName">
+ <testcase purpose="Check if create a new empty file and write content of the file and then move the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_newName">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newName.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_overwrite_false">
+ <testcase purpose="Check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then move the file to subdirectory with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_subdir">
+ <testcase purpose="Check if create a new empty file and write content of the file and then move the file to subdirectory with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_subdir">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_subdir.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if is possible to call File in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_notexist">
+ <testcase purpose="Check if is possible to call File in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when open the file in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_encoding_invalid">
+ <testcase purpose="Check if throw an exception when open the file in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_encoding_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_encoding_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if open the file with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_a">
+ <testcase purpose="Check if open the file with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_a.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if open the file with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_r">
+ <testcase purpose="Check if open the file with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_r">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_r.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if open the file with mode rw." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_rw">
+ <testcase purpose="Check if open the file with mode rw." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_rw">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_rw.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if open the file with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_w">
+ <testcase purpose="Check if open the file with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_w.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when open the file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_with_nonexist_file">
+ <testcase purpose="Check if throw an exception when open the file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_with_nonexist_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_nonexist_file.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when readAsText in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_encoding_invalid">
+ <testcase purpose="Check if throw an exception when readAsText in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_encoding_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_encoding_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if list all files in documents and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDocumentsFiles">
+ <testcase purpose="Check if list all files in documents and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDocumentsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDocumentsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if list all files in downloads and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDownloadsFiles">
+ <testcase purpose="Check if list all files in downloads and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDownloadsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDownloadsFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if list all files in images and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listImagesFiles">
+ <testcase purpose="Check if list all files in images and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listImagesFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listImagesFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if list all files in music and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listMusicFiles">
+ <testcase purpose="Check if list all files in music and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listMusicFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listMusicFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if list all files in videos and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listVideosFiles">
+ <testcase purpose="Check if list all files in videos and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listVideosFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listVideosFiles.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when resolve a file with the incompatible input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_invalid_para">
+ <testcase purpose="Check if throw an exception when resolve a file with the incompatible input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_invalid_para">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_invalid_para.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when resolve a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_nonexist">
+ <testcase purpose="Check if throw an exception when resolve a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_nonexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_nonexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if throw an exception when get a URI of nonexist file." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_toURI_with_nonexist_file">
+ <testcase purpose="Check if throw an exception when get a URI of nonexist file." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_toURI_with_nonexist_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_with_nonexist_file.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if FileStreamSuccessCallback method: onsuccess is exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_FileStreamSuccessCallback_onsuccess">
+ <testcase purpose="Check if FileStreamSuccessCallback method: onsuccess is exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_FileStreamSuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if copy a file successfully" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="filesystem_File_copyTo">
+ <testcase purpose="Check if copy a file successfully" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="filesystem_File_copyTo">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_copyTo.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if reads the content of a file as a DOMString." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_readAsText">
+ <testcase purpose="Check if reads the content of a file as a DOMString." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_readAsText">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_readAsText.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if resolve a file and return a file handle" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_resolve">
+ <testcase purpose="Check if resolve a file and return a file handle" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_resolve">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_resolve.html</test_script_entry>
</description>
<test_definition>
<suite name="tct-filesystem-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Filesystem">
- <testcase purpose="check if is possible to call FileArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if is possible to call FileStreamSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileStreamSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_eof_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="test whether the FileStream object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend">
+ <testcase purpose="Test whether the FileStream object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if is possible to call FileStream in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist">
+ <testcase purpose="Check if is possible to call FileStream in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when readBase64 from a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_with_invalid_value">
+ <testcase purpose="Check if throw an exception when readBase64 from a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_with_invalid_value.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_without_r_permission">
+ <testcase purpose="Check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_without_r_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_without_r_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file as base64" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_writeFile">
+ <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file as base64" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_writeFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_writeFile.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when readBytes from a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_with_invalid_value">
+ <testcase purpose="Check if throw an exception when readBytes from a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_with_invalid_value.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when read the specified number of bytes from a file without r permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_without_r_permission">
+ <testcase purpose="Check if throw an exception when read the specified number of bytes from a file without r permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_without_r_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_without_r_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file as a byte array" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_writeFile">
+ <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file as a byte array" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_writeFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_writeFile.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when read a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_with_invalid_value">
+ <testcase purpose="Check if throw an exception when read a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_with_invalid_value">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_with_invalid_value.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when read a file without r permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_without_r_permission">
+ <testcase purpose="Check if throw an exception when read a file without r permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_without_r_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_without_r_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_writeFile">
+ <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_writeFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_writeFile.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_without_w_permission">
+ <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_without_w_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_without_w_permission.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'writeBytes' method properly writes the specified bytes to FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_with_additional_null_parameter">
+ <testcase purpose="Check whether 'writeBytes' method properly writes the specified bytes to FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_with_additional_null_parameter">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when write the specified bytes to a file without w permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_without_w_permission">
+ <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_without_w_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_without_w_permission.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when write a file without w permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_without_w_permission">
+ <testcase purpose="Check if throw an exception when write a file without w permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_without_w_permission">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write_without_w_permission.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if is possible to call FileStringSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileStringSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if is possible to call FileSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if FileSystemManagerObject not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManagerObject_notexist">
+ <testcase purpose="Check if FileSystemManagerObject not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManagerObject_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManagerObject_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
+ <testcase purpose="Check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_without_arguments.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when get information about a storage based on nonexist label." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_nonexist_label">
+ <testcase purpose="Check if throw an exception when get information about a storage based on nonexist label." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_nonexist_label">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_nonexist_label.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'listStorages' method properly retrieves the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_storages_retrieve">
+ <testcase purpose="Check whether 'listStorages' method properly retrieves the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_storages_retrieve">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_storages_retrieve.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'listStorages' method with improper argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
+ <testcase purpose="Check whether invoking 'listStorages' method with improper argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_invalid_error_callbacks.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'listStorages' method without any argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_without_arguments">
+ <testcase purpose="Check whether invoking 'listStorages' method without any argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_without_arguments">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_without_arguments.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'listStorages' method returns the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_works_correctly">
+ <testcase purpose="Check whether 'listStorages' method returns the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_works_correctly.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when removeStorageStateChangeListener with an invalid input parameter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
+ <testcase purpose="Check if throw an exception when removeStorageStateChangeListener with an invalid input parameter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_with_para_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
+ <testcase purpose="Check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_works_correctly.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if resolve documents to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents">
+ <testcase purpose="Check if resolve documents to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_documents.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if resolve downloads to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads">
+ <testcase purpose="Check if resolve downloads to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_downloads.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check with error callback invoked" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_error_invoked">
+ <testcase purpose="Check with error callback invoked" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_error_invoked">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_error_invoked.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_images.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when resolve an invalid location." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_invalid_location">
+ <testcase purpose="Check if throw an exception when resolve an invalid location." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_invalid_location">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_invalid_location.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if resolve a location with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a">
+ <testcase purpose="Check if resolve a location with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_a.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if resolve a location with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r">
+ <testcase purpose="Check if resolve a location with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_r.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if resolve a location with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w">
+ <testcase purpose="Check if resolve a location with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_w.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if resolve music to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music">
+ <testcase purpose="Check if resolve music to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_music.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a">
+ <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw">
+ <testcase purpose="Check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w">
+ <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if resolve videos to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos">
+ <testcase purpose="Check if resolve videos to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_videos.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_a">
+ <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw">
+ <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_w">
+ <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_works_correctly">
+ <testcase purpose="Check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_works_correctly">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_works_correctly.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if is possible to call FileSystemStorageSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_notexist">
+ <testcase purpose="Check if is possible to call FileSystemStorageSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="test whether the FileSystemStorage object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_extend">
+ <testcase purpose="Test whether the FileSystemStorage object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_extend.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_label_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if is possible to call FileSystemStorage in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_notexist">
+ <testcase purpose="Check if is possible to call FileSystemStorage in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_false">
+ <testcase purpose="Check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_true">
+ <testcase purpose="Check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_false">
+ <testcase purpose="Check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if copy a file to another location of the file with the same name (overwrite is true) was successfull." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_true">
+ <testcase purpose="Check if copy a file to another location of the file with the same name (overwrite is true) was successfull." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback invoked when copy a file to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when copy a file to an invalid destination." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_destination_invalid">
+ <testcase purpose="Check if throw an exception when copy a file to an invalid destination." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_destination_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when copyTo with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_file_handle">
+ <testcase purpose="Check if throw an exception when copyTo with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_file_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_file_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_filepath">
+ <testcase purpose="Check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_filepath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_filepath.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_virtual_file">
+ <testcase purpose="Check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_virtual_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_virtual_file.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'copyTo' method properly copies file in case success and error callbacks are undefined" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_null_success_and_error_callbacks">
+ <testcase purpose="Check whether 'copyTo' method properly copies file in case success and error callbacks are undefined" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_null_success_and_error_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when copyTo with invalid parameters." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_para_invalid">
+ <testcase purpose="Check if throw an exception when copyTo with invalid parameters." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_para_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_para_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then copy the file to the same location with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_newName">
+ <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to the same location with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_newName">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newName.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_overwrite_false">
+ <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_subdir">
+ <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_subdir">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_subdir.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create directory of two levels." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_level2">
+ <testcase purpose="Check if create directory of two levels." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_level2">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory_level2.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="create existing file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_existing_file">
+ <testcase purpose="Create existing file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_existing_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_existing_file.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when create file with invalid file name." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_with_invalid_name">
+ <testcase purpose="Check if throw an exception when create file with invalid file name." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_with_invalid_name">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_with_invalid_name.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new directory in documents and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_documents">
+ <testcase purpose="Check if create a new directory in documents and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_documents">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_documents.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new directory in downloads and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_downloads">
+ <testcase purpose="Check if create a new directory in downloads and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_downloads">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_downloads.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new directory in images and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_images">
+ <testcase purpose="Check if create a new directory in images and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_images">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_images.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new directory in music and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_music">
+ <testcase purpose="Check if create a new directory in music and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_music">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_music.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new directory in videos and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_videos">
+ <testcase purpose="Check if create a new directory in videos and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_videos">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_videos.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_empty_path">
+ <testcase purpose="Check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_empty_path">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_empty_path.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when delete a dir with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_file_handle">
+ <testcase purpose="Check if throw an exception when delete a dir with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_file_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_file_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'deleteDirectory' method properly removes a specified directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_null_callbacks">
+ <testcase purpose="Check whether 'deleteDirectory' method properly removes a specified directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_null_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new file in downloads and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_downloads">
+ <testcase purpose="Check if create a new file in downloads and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_downloads">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_downloads.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new file in images and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_images">
+ <testcase purpose="Check if create a new file in images and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_images">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_images.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new file in music and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_music">
+ <testcase purpose="Check if create a new file in music and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_music">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_music.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new file in videos and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_videos">
+ <testcase purpose="Check if create a new file in videos and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_videos">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_videos.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new file and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_createFile">
+ <testcase purpose="Check if create a new file and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_createFile">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_createFile.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if delete the list of all files in documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDocumentsFiles">
+ <testcase purpose="Check if delete the list of all files in documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDocumentsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDocumentsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if delete the list of all files in downloads" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDownloadsFiles">
+ <testcase purpose="Check if delete the list of all files in downloads" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDownloadsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDownloadsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if delete the list of all files in images" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listImagsFiles">
+ <testcase purpose="Check if delete the list of all files in images" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listImagsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listImagsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if delete the list of all files in music" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listMusicFiles">
+ <testcase purpose="Check if delete the list of all files in music" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listMusicFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listMusicFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if delete the list of all files in videos" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listVideosfiles">
+ <testcase purpose="Check if delete the list of all files in videos" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listVideosfiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listVideosfiles.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when delete a file with dir handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_dir_handle">
+ <testcase purpose="Check if throw an exception when delete a file with dir handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_dir_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_dir_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when delete a file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_nonexist">
+ <testcase purpose="Check if throw an exception when delete a file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_nonexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_nonexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'deleteFile' method properly removes a specified file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_vaild_callbacks">
+ <testcase purpose="Check whether 'deleteFile' method properly removes a specified file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_vaild_callbacks">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'deleteFile' method works properly removing a specified file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath">
+ <testcase purpose="Check whether 'deleteFile' method works properly removing a specified file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_valid_filePath.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="test whether the File object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend">
+ <testcase purpose="Test whether the File object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_extend.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new directory and then list all files in this directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_createFiles">
+ <testcase purpose="Check if create a new directory and then list all files in this directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_createFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_createFiles.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check with empty FileFilter argument of listFiles" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty">
+ <testcase purpose="Check with empty FileFilter argument of listFiles" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_empty.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when listFiles with a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_file_handle">
+ <testcase purpose="Check if throw an exception when listFiles with a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_file_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_file_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if list files in documents directory with filter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter">
+ <testcase purpose="Check if list files in documents directory with filter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_filter.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_onerror.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'listFiles' method properly retrieves the list of files in directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_valid_successCallback">
+ <testcase purpose="Check whether 'listFiles' method properly retrieves the list of files in directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_valid_successCallback">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_valid_successCallback.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback invoked when move a directory to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'moveTo' method with improper arguments calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_empty_destination_source_and_destination_paths">
+ <testcase purpose="Check whether invoking 'moveTo' method with improper arguments calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_empty_destination_source_and_destination_paths">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback invoked when move a file to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_false">
+ <testcase purpose="Check if error callback invoked when move a file to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback invoked when move a file to the same location with the same name (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_true">
+ <testcase purpose="Check if error callback invoked when move a file to the same location with the same name (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_true">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'moveTo' method invoked with additional null parameter properly transfers a file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_additional_null_parameter">
+ <testcase purpose="Check whether 'moveTo' method invoked with additional null parameter properly transfers a file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_additional_null_parameter">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_additional_null_parameter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if errorCallback will be invoked when moveTo will be used with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_file_handle">
+ <testcase purpose="Check if errorCallback will be invoked when moveTo will be used with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_file_handle">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_file_handle.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'moveTo' method with improper argument calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_invalid_filePath">
+ <testcase purpose="Check whether invoking 'moveTo' method with improper argument calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_invalid_filePath">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_invalid_filePath.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when move a file to an invalid path." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_path_invalid">
+ <testcase purpose="Check if throw an exception when move a file to an invalid path." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_path_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_path_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then move the file to the same location with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_newName">
+ <testcase purpose="Check if create a new empty file and write content of the file and then move the file to the same location with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_newName">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newName.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_overwrite_false">
+ <testcase purpose="Check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_overwrite_false">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if create a new empty file and write content of the file and then move the file to subdirectory with same file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_subdir">
+ <testcase purpose="Check if create a new empty file and write content of the file and then move the file to subdirectory with same file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_subdir">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_subdir.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_name_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if is possible to call File in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist">
+ <testcase purpose="Check if is possible to call File in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when open the file in invalid encoding." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_encoding_invalid">
+ <testcase purpose="Check if throw an exception when open the file in invalid encoding." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_encoding_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_encoding_invalid.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if open the file with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a">
+ <testcase purpose="Check if open the file with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_a.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if open the file with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r">
+ <testcase purpose="Check if open the file with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_r.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if open the file with mode rw." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw">
+ <testcase purpose="Check if open the file with mode rw." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_rw.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if open the file with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w">
+ <testcase purpose="Check if open the file with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_w.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_encoding.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when open the file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_nonexist_file">
+ <testcase purpose="Check if throw an exception when open the file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_nonexist_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_nonexist_file.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when readAsText in invalid encoding." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_encoding_invalid">
+ <testcase purpose="Check if throw an exception when readAsText in invalid encoding." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_encoding_invalid">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_encoding_invalid.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if list all files in documents and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDocumentsFiles">
+ <testcase purpose="Check if list all files in documents and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDocumentsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDocumentsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if list all files in downloads and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDownloadsFiles">
+ <testcase purpose="Check if list all files in downloads and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDownloadsFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDownloadsFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if list all files in images and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listImagesFiles">
+ <testcase purpose="Check if list all files in images and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listImagesFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listImagesFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if list all files in music and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listMusicFiles">
+ <testcase purpose="Check if list all files in music and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listMusicFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listMusicFiles.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if list all files in videos and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listVideosFiles">
+ <testcase purpose="Check if list all files in videos and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listVideosFiles">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listVideosFiles.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when resolve a file with the incompatible input parameter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_invalid_para">
+ <testcase purpose="Check if throw an exception when resolve a file with the incompatible input parameter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_invalid_para">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_invalid_para.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when resolve a file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_nonexist">
+ <testcase purpose="Check if throw an exception when resolve a file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_nonexist">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_nonexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if throw an exception when get a URI of nonexist file." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_with_nonexist_file">
+ <testcase purpose="Check if throw an exception when get a URI of nonexist file." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_with_nonexist_file">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_with_nonexist_file.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if FileStreamSuccessCallback method: onsuccess is exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess">
+ <testcase purpose="Check if FileStreamSuccessCallback method: onsuccess is exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if copy a file successfully" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo">
+ <testcase purpose="Check if copy a file successfully" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_copyTo.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if reads the content of a file as a DOMString." component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText">
+ <testcase purpose="Check if reads the content of a file as a DOMString." component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_readAsText.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if resolve a file and return a file handle" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve">
+ <testcase purpose="Check if resolve a file and return a file handle" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_resolve.html</test_script_entry>
</description>