[common][download][fix test annotations and coding style issue] 29/216229/1
authorqunfang.lin <qunfang.lin@samsung.com>
Wed, 23 Oct 2019 02:58:48 +0000 (10:58 +0800)
committerqunfang.lin <qunfang.lin@samsung.com>
Wed, 23 Oct 2019 02:59:18 +0000 (10:59 +0800)
modify: 61 TCs

Change-Id: I0ccdc7c54b9a79c2153b47613c212e6c276b89d7
Signed-off-by: qunfang.lin <qunfang.lin@samsung.com>
63 files changed:
common/tct-download-tizen-tests/download/DownloadCallback_notexist.html
common/tct-download-tizen-tests/download/DownloadCallback_oncanceled.html
common/tct-download-tizen-tests/download/DownloadCallback_oncompleted.html
common/tct-download-tizen-tests/download/DownloadCallback_onfailed.html
common/tct-download-tizen-tests/download/DownloadCallback_onpaused.html
common/tct-download-tizen-tests/download/DownloadCallback_onprogress.html
common/tct-download-tizen-tests/download/DownloadManagerObject_download_exists.html
common/tct-download-tizen-tests/download/DownloadManagerObject_notexist.html
common/tct-download-tizen-tests/download/DownloadManager_cancel.html
common/tct-download-tizen-tests/download/DownloadManager_cancel_exist.html
common/tct-download-tizen-tests/download/DownloadManager_cancel_invalidvalues.html
common/tct-download-tizen-tests/download/DownloadManager_cancel_noarg.html
common/tct-download-tizen-tests/download/DownloadManager_getDownloadRequest.html
common/tct-download-tizen-tests/download/DownloadManager_getDownloadRequest_exist.html
common/tct-download-tizen-tests/download/DownloadManager_getDownloadRequest_invalidvalues.html
common/tct-download-tizen-tests/download/DownloadManager_getDownloadRequest_noarg.html
common/tct-download-tizen-tests/download/DownloadManager_getMIMEType.html
common/tct-download-tizen-tests/download/DownloadManager_getMIMEType_exist.html
common/tct-download-tizen-tests/download/DownloadManager_getMIMEType_invalidvalues.html
common/tct-download-tizen-tests/download/DownloadManager_getMIMEType_noarg.html
common/tct-download-tizen-tests/download/DownloadManager_getState.html
common/tct-download-tizen-tests/download/DownloadManager_getState_exist.html
common/tct-download-tizen-tests/download/DownloadManager_getState_invalidvalues.html
common/tct-download-tizen-tests/download/DownloadManager_getState_noarg.html
common/tct-download-tizen-tests/download/DownloadManager_getState_url_DOWNLOADING.html
common/tct-download-tizen-tests/download/DownloadManager_getState_url_URL_CANCELED.html
common/tct-download-tizen-tests/download/DownloadManager_getState_url_URL_PAUSE.html
common/tct-download-tizen-tests/download/DownloadManager_getState_using.html
common/tct-download-tizen-tests/download/DownloadManager_in_tizen.html
common/tct-download-tizen-tests/download/DownloadManager_notexist.html
common/tct-download-tizen-tests/download/DownloadManager_pause.html
common/tct-download-tizen-tests/download/DownloadManager_pause_exist.html
common/tct-download-tizen-tests/download/DownloadManager_pause_invalidvalues.html
common/tct-download-tizen-tests/download/DownloadManager_pause_noarg.html
common/tct-download-tizen-tests/download/DownloadManager_resume.html
common/tct-download-tizen-tests/download/DownloadManager_resume_exist.html
common/tct-download-tizen-tests/download/DownloadManager_resume_invalidvalues.html
common/tct-download-tizen-tests/download/DownloadManager_resume_noarg.html
common/tct-download-tizen-tests/download/DownloadManager_setListener.html
common/tct-download-tizen-tests/download/DownloadManager_setListener_downloadCallback_TypeMismatch.html
common/tct-download-tizen-tests/download/DownloadManager_setListener_downloadCallback_invalid_cb.html
common/tct-download-tizen-tests/download/DownloadManager_setListener_exist.html
common/tct-download-tizen-tests/download/DownloadManager_setListener_missarg.html
common/tct-download-tizen-tests/download/DownloadManager_setListener_null.html
common/tct-download-tizen-tests/download/DownloadManager_start.html
common/tct-download-tizen-tests/download/DownloadManager_start_downloadCallback_TypeMismatch.html
common/tct-download-tizen-tests/download/DownloadManager_start_downloadCallback_invalid_cb.html
common/tct-download-tizen-tests/download/DownloadManager_start_downloadRequest_TypeMismatch.html
common/tct-download-tizen-tests/download/DownloadManager_start_downloadRequest_invalid_obj.html
common/tct-download-tizen-tests/download/DownloadManager_start_exist.html
common/tct-download-tizen-tests/download/DownloadManager_start_missarg.html
common/tct-download-tizen-tests/download/DownloadManager_start_with_downloadCallback.html
common/tct-download-tizen-tests/download/DownloadManager_start_with_extra_argument.html
common/tct-download-tizen-tests/download/DownloadRequest_constructor.html
common/tct-download-tizen-tests/download/DownloadRequest_destination_attribute.html
common/tct-download-tizen-tests/download/DownloadRequest_exist.html
common/tct-download-tizen-tests/download/DownloadRequest_extend.html
common/tct-download-tizen-tests/download/DownloadRequest_fileName_attribute.html
common/tct-download-tizen-tests/download/DownloadRequest_httpHeader_attribute.html
common/tct-download-tizen-tests/download/DownloadRequest_networkType_attribute.html
common/tct-download-tizen-tests/download/DownloadRequest_url_attribute.html
common/tct-download-tizen-tests/tests.full.xml
common/tct-download-tizen-tests/tests.xml

index 09d58eefcabf6f0a70eba5f20dfd78e3971c423e..a568ec545edb14e4b02f72fb37ca167c003448f9 100755 (executable)
@@ -26,13 +26,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
 <script>
 //==== TEST: DownloadCallback_notexist
 //==== LABEL Check if DownloadCallback is NoInterfaceObject and not visible
-//==== PRIORITY: P3
-//==== SPEC: Tizen Web API:Content:Download:DownloadCallback:DownloadCallback U
+//==== PRIORITY P3
+//==== SPEC Tizen Web API:Content:Download:DownloadCallback:DownloadCallback U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA CBNIO
 
index ab56dcab6ace6960dd7bad8ee73c0fa57aedc87c..748fc9639caaa6fbb62bdb3e783e89534f1fa38c 100755 (executable)
@@ -27,18 +27,20 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadCallback_oncanceled
 //==== LABEL Test whether the type of each argument is correct for DownloadCallback::oncanceled callback
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadCallback:oncanceled M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadCallback:oncanceled M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA CBT CBOA
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), listener,
     downloadRequest, downloadId, flag = true;
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index a44915d611ed03c476bee8cfb29962f96cff05a6..87b579685d10eb1778d18c8eb3f288820ca11845 100755 (executable)
@@ -27,18 +27,20 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadCallback_oncompleted
 //==== LABEL Test whether the type of each argument is correct for DownloadCallback::oncompleted callback
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadCallback:oncompleted M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadCallback:oncompleted M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA CBT CBOA
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), listener,
     downloadRequest, downloadId;
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index e28d8da2f2946da5b0f55838a7d016b5deb5754b..c65e36210a09f156a3d2bf324400605f2a42a376 100755 (executable)
@@ -27,18 +27,20 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadCallback_onfailed
 //==== LABEL Test whether the type of each argument is correct for DownloadCallback::onfailed callback
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadCallback:onfailed M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadCallback:onfailed M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA CBT CBOA
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), listener,
     downloadRequest, downloadId;
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index a7ccfb2e8f1f65cffceb69026a2e1d41a2f95f46..68b4d683cbb3802044c5891ee5ff62a693bb8a90 100755 (executable)
@@ -27,18 +27,20 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadCallback_onpaused
 //==== LABEL Test whether the type of each argument is correct for DownloadCallback::onpaused callback
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadCallback:onpaused M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadCallback:onpaused M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA CBT CBOA
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), listener,
     downloadRequest, downloadId, flag = true;
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index f56d54ef27e3912986b88014974f4af1f87bb63f..87d617c8bd27ab2c1fb5cab792607d1754e19cd0 100755 (executable)
@@ -27,18 +27,20 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadCallback_onprogress
 //==== LABEL Test whether the type of each argument is correct for DownloadCallback::onprogress callback
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadCallback:onprogress M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadCallback:onprogress M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA CBT CBOA
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), listener,
     downloadRequest, downloadId, flag = true;
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index 87beedce680f8d8ab7a896e8cccc57108dd7014a..9dd272c8f2cf8d2ccc05846f31a53388b6d54800 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
 <script>
 //==== TEST: DownloadManagerObject_download_exists
index f7da9d3436e6206878daa1d2dbf0f2033b0b6d68..c421156c24f6b7167e4abb94dadb790cea3d888b 100755 (executable)
@@ -28,15 +28,15 @@ Authors:
 <script src="support/bluetooth_common.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
 <script>
 //==== TEST: DownloadManagerObject_notexist
 //==== LABEL Check if DownloadManagerObject is NoInterfaceObject and not visible
 //==== PRIORITY P3
-//==== SPEC: Tizen Web API:Content:Download:DownloadManagerObject:DownloadManagerObject U
+//==== SPEC Tizen Web API:Content:Download:DownloadManagerObject:DownloadManagerObject U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA NIO
+
 test(function () {
     check_no_interface_object("DownloadManagerObject");
 }, document.title);
index a67dddc4616b569779bd971150dfc58002739416..ed3190dd12e39e6dd848dc5ebbdc798c9ba98ab0 100755 (executable)
@@ -38,18 +38,20 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_cancel
 //==== LABEL Check if DownloadManager::cancel() method works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:cancel M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:cancel M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA MMINA MAST MR
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), downloadRequest = null,
     downloadId, listener, retValue = null, flag = true;
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index f81181a19ce1a288b245100c4317d767092fcc54..c65c7d40b3855c52c9258914f1f51182f11c5f0f 100755 (executable)
@@ -37,13 +37,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_cancel_exist
 //==== LABEL Check if DownloadManager::cancel() method exists
-//==== PRIORITY: P0
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:cancel M
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:cancel M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA ME
 
index d564342967cf2c4ccfd1d9a0bdc298a8b3eff580..aafa9d105eb4ea552b16a2023d70c18166875947 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_cancel_invalidvalues
+//==== TEST: DownloadManager_cancel_invalidvalues
 //==== LABEL Check if DownloadManager::cancel() method with incompatible parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:cancel M
@@ -37,12 +37,13 @@ Authors:
 
 test(function () {
     var conversionTableArray, i, id;
+
     conversionTableArray = getTypeConversionExceptions("double", false);
     for (i = 0; i < conversionTableArray.length; i++) {
         id = conversionTableArray[i];
         assert_throws(INVALID_VALUES_EXCEPTION, function () {
             tizen.download.cancel(id);
-        }, "Should throw NotFoundError exception");
+        }, "Should throw InvalidValuesError exception");
     }
 }, document.title);
 
index 0e25cd75cab450da2718a3e67ec3e541f1406ef2..30ae59d41d424812375d7091de27e11882d31504 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_cancel_noarg
+//==== TEST: DownloadManager_cancel_noarg
 //==== LABEL Check if DownloadManager::cancel() method without parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:cancel M
index 3905b91bf3d4941d127405c4e5ee8a423b04e0a1..44a418b76c7995305b7f743cd83a86af1c9a748b 100755 (executable)
@@ -38,19 +38,20 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_getDownloadRequest
 //==== LABEL Check if DownloadManager::getDownloadRequest() method works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:getDownloadRequest M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:getDownloadRequest M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA MR MMINA
 
+setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}),
     destination = "documents", fileName = "download.html", downloadRequest,
     downloadId, listener;
-setup({timeout: 90000});
 
 t.step(function () {
     listener = {
index 7a28db32961ab481b4dd37a6a60a82efbf8db4de..35c00fa4030711840ed58b7ae67be05294f5c262 100755 (executable)
@@ -37,13 +37,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_getDownloadRequest_exist
 //==== LABEL Check if DownloadManager::getDownloadRequest() method exists
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:getDownloadRequest M
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:getDownloadRequest M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA ME
 
index 60eb5d65240cee3fa0be7dd6b7a0e5d01e63c2ef..f314e567dce2d7c153fb0a5bb639e03d4c1e2e89 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_getDownloadRequest_invalidvalues
+//==== TEST: DownloadManager_getDownloadRequest_invalidvalues
 //==== LABEL Check if DownloadManager::getDownloadRequest() method with incompatible parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:getDownloadRequest M
@@ -37,6 +37,7 @@ Authors:
 
 test(function () {
     var conversionTableArray, i, id;
+
     conversionTableArray = getTypeConversionExceptions("double", false);
     for (i = 0; i < conversionTableArray.length; i++) {
         id = conversionTableArray[i];
index 068d61b15fab273f8ba67386eaf7e7a9c0762c71..ea3b82cbb41f3c44eb46bcc65074d54ddcec78d4 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_getDownloadRequest_noarg
+//==== TEST: DownloadManager_getDownloadRequest_noarg
 //==== LABEL Check if DownloadManager::getDownloadRequest() method without parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:getDownloadRequest M
index e53c21b88cd634332903d3cb6036824367346ea0..9047b1c283c5fe09605fa073809b4af141f62664 100755 (executable)
@@ -38,18 +38,19 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_getMIMEType
 //==== LABEL Check if DownloadManager::getMIMEType() method works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:getMIMEType M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:getMIMEType M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA MMINA MR
 
+setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), listener,
     mimeType, expectedMimeType, downloadRequest, downloadId;
-setup({timeout: 90000});
 
 t.step(function () {
     listener = {
index e16aa2bea705da2ed2ac5e89236e20e0bb9f10b0..cee8cd25f29f4aa1df9c15c66a1b51dcc6b2d6c8 100755 (executable)
@@ -37,13 +37,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_getMIMEType_exist
 //==== LABEL Check if DownloadManager::getMIMEType() method exists
-//==== PRIORITY: P0
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:getMIMEType M
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:getMIMEType M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA ME
 
index 9fe2b0a75f34e9160c83d556f4052f2b5c0deab1..cd29af733de9d8aed6120372aef9570e0e0c8332 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_getMIMEType_invalidvalues
+//==== TEST: DownloadManager_getMIMEType_invalidvalues
 //==== LABEL Check if DownloadManager::getMIMEType() method with incompatible parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:getMIMEType M
@@ -37,6 +37,7 @@ Authors:
 
 test(function () {
     var conversionTableArray, i, id;
+
     conversionTableArray = getTypeConversionExceptions("double", false);
     for (i = 0; i < conversionTableArray.length; i++) {
         id = conversionTableArray[i];
index e567ce424c57f1da2a7c2ceb1fcddecacb3bdd1a..245ab2dfe7c182225c43a35b438b692604144181 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_getMIMEType_noarg
+//==== TEST: DownloadManager_getMIMEType_noarg
 //==== LABEL Check if DownloadManager::getMIMEType() method without parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:getMIMEType M
index 1fc66fad80b3bbfa4e2d430d766300123265472e..fb51582e8191367cc137580a3085276330bb9173 100755 (executable)
@@ -39,18 +39,19 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_getState
 //==== LABEL Check if DownloadManager::getState() method works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:getState M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:getState M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA MMINA MR
 
+setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), downloadRequest = null,
     downloadId, listener, state;
-setup({timeout: 90000});
 
 t.step(function () {
     listener = {
index aa31379a4f98765ad8649d16e9ac6306afbd78dd..b5dde629d08d34f586e7614702b97ce7a5200f97 100755 (executable)
@@ -37,13 +37,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_getState_exist
 //==== LABEL Check if DownloadManager::getState() method exists
-//==== PRIORITY: P0
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:getState M
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:getState M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA ME
 
index 6e708b3979d2641643efbca803fc84ba01338b0c..d3d71204b4dfceaf2574a5fa79dd6ddbb124ac4d 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_getState_invalidvalues
+//==== TEST: DownloadManager_getState_invalidvalues
 //==== LABEL Check if DownloadManager::getState() method with incompatible parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:getState M
@@ -37,6 +37,7 @@ Authors:
 
 test(function () {
     var conversionTableArray, i, id;
+
     conversionTableArray = getTypeConversionExceptions("double", false);
     for (i = 0; i < conversionTableArray.length; i++) {
         id = conversionTableArray[i];
index 59e9328b9fd60c1fa1c72a890fe2c39f7152947e..fa622005269c6e9ee133c9d568f271159f810178 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_getState_noarg
+//==== TEST: DownloadManager_getState_noarg
 //==== LABEL Check if DownloadManager::getState() method without parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:getState M
index 1433fb711c3ae673eb7399f690edaef767752af5..16451ea5846a1e47ca4be1589f58e1a8c0fb1c2d 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_getState_url_DOWNLOADING
+//==== TEST: DownloadManager_getState_url_DOWNLOADING
 //==== LABEL Check if DownloadManager::getState() method works while download initiated at documents with large url
 //==== PRIORITY P1
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:getState M
@@ -37,7 +37,9 @@ Authors:
 //==== TEST_CRITERIA MR
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), downloadRequest = null, downloadId, listener, state;
+
 t.step(function () {
     add_result_callback(function(){
         try {
index dc9704f653cda43e857fdb331c80cd9c6a2dcb6e..c363adbbaea252f344beb90e660aad512e7a70b6 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_getState_url_URL_CANCELED
+//==== TEST: DownloadManager_getState_url_URL_CANCELED
 //==== LABEL Check if DownloadManager::getState() method works while download initiated at downloads with large url and cancel method is called
 //==== PRIORITY P1
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:getState M
@@ -37,7 +37,9 @@ Authors:
 //==== TEST_CRITERIA MR
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), downloadRequest = null, downloadId, listener, state, flag = true;
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index e21ac365416b6442ef782da39d27d70ce6df23db..4526a1e2df23dca72c43ba4c6fd071ffa0019092 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_getState_url_URL_PAUSE
+//==== TEST: DownloadManager_getState_url_URL_PAUSE
 //==== LABEL Check if DownloadManager::getState() method works while download initiated at downloads with large url and pause method is called
 //==== PRIORITY P1
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:getState M
@@ -37,7 +37,9 @@ Authors:
 //==== TEST_CRITERIA MR
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), downloadRequest = null, downloadId, listener, state, flag = true;
+
 t.step(function () {
     add_result_callback(function(){
         try {
index a8343f7b7b742c6d16fb82b7288abdf3f1b2ffe0..d7b99fee54becbe3005ec8525f137731d70a8930 100755 (executable)
@@ -38,7 +38,7 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_getState_using
 //==== LABEL Check if DownloadManager::getState() method returns proper value
 //==== ONLOAD_DELAY 90
@@ -47,9 +47,11 @@ Authors:
 //==== PRIORITY P1
 //==== TEST_CRITERIA MMINA MR
 
+setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}),
     downloadId = null, downloadRequest = null, listener, state;
-setup({timeout: 90000});
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index f3ba39de23f7fff6049b6e1b4b8a14cbd05e28ec..6434903de218cb6621c819874d5b974c20859a6a 100755 (executable)
@@ -26,13 +26,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_in_tizen
 //==== LABEL Check if tizen namespace contains download
-//==== PRIORITY: P3
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:DownloadManager U
+//==== PRIORITY P3
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:DownloadManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA OBME
 
index 2ce9f99b44c1769c2e1454e2b1cb1600971278b2..89677d80032bda6f0f4fb31a4ed9f8662f9e5e85 100755 (executable)
@@ -26,15 +26,15 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
 <script>
 //==== TEST: DownloadManager_notexist
 //==== LABEL Check if DownloadManager is NoInterfaceObject and not visible
-//==== PRIORITY: P3
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:DownloadManager U
+//==== PRIORITY P3
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:DownloadManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA NIO
+
 test(function () {
     check_no_interface_object("DownloadManager");
 }, document.title);
index 1c4069f07e863805df26482c5c90fa7f0acb104c..3ed77fbdfc3a0653cfec441c6e14faa1159e1bfb 100755 (executable)
@@ -38,20 +38,20 @@ Authors:
 <script src="support/download_common.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_pause
 //==== LABEL Check if DownloadManager::pause() method works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:pause M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:pause M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA MMINA MAST MR
 
+setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), downloadRequest = null, flag = true,
     downloadId, listener, retValue = null;
-setup({timeout: 90000});
 
 t.step(function () {
     listener = {
index 89f89298ea7726bc8c3cc4295a1a0ced71969b4f..68e3eb1dbd4fa322c96e8379af89c08983974cb0 100755 (executable)
@@ -37,12 +37,11 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_pause_exist
 //==== LABEL Check if DownloadManager::pause() method exists
-//==== PRIORITY: P0
+//==== PRIORITY P0
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:pause M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA ME
index a5b10be7302e1c258d65e0188d4b6af314e24120..7c8cfc0ffe629d53b1ebbc792e46d78ae4b4eb25 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_pause_invalidvalues
+//==== TEST: DownloadManager_pause_invalidvalues
 //==== LABEL Check if DownloadManager::pause() method with incompatible parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:pause M
@@ -37,6 +37,7 @@ Authors:
 
 test(function () {
     var conversionTable, i, id;
+
     conversionTableArray = getTypeConversionExceptions("double", false);
     for (i = 0; i < conversionTableArray.length; i++) {
         id = conversionTableArray[i];
index d928df85ec06edf92d6f13947e9e5544858dfa53..75c1169ac9127191cdf36e71b8dfcce3667dddd0 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_pause_noarg
+//==== TEST: DownloadManager_pause_noarg
 //==== LABEL Check if DownloadManager::pause() method without parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:pause M
index e6d9a39121f0e97bb7a57e6e015b9ee6dd923ee0..605e2a6ded13482962c7da3c6e2153baac6c3e3b 100755 (executable)
@@ -38,20 +38,21 @@ Authors:
 <script src="support/download_common.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_resume
 //==== LABEL Check if DownloadManager::resume() method works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:resume M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:resume M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA MMINA MAST MR
 
+setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), downloadRequest = null,
     downloadId, listener, flag = true, retValue = null;
-setup({timeout: 90000});
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index 171596f44daf78ea564237aea2516877e8b6ad00..9280b10e9daf61e5dfe65dd092c7e23cfa36b1c2 100755 (executable)
@@ -37,13 +37,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_resume_exist
 //==== LABEL Check if DownloadManager::resume() method exists
-//==== PRIORITY: P0
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:resume M
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:resume M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA ME
 
index f8767ea0155ff74b3cf0683974e8f4afa669c082..909df05fdf687fae64389ef761d2208564b9574c 100755 (executable)
@@ -28,7 +28,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_resume_invalidvalues
+//==== TEST: DownloadManager_resume_invalidvalues
 //==== LABEL Check if DownloadManager::resume() method with incompatible parameters throw correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:resume M
@@ -37,6 +37,7 @@ Authors:
 
 test(function () {
     var conversionTable, i, id;
+
     conversionTableArray = getTypeConversionExceptions("double", false);
     for (i = 0; i < conversionTableArray.length; i++) {
         id = conversionTableArray[i];
index c0e922fc504093589574f676188974d444bb1654..493e40b4616a71cb20c4f8088fe42ca8d91bb682 100755 (executable)
@@ -27,7 +27,7 @@ Authors:
 <body bgcolor="FFFFFF">
 <div id="log"></div>
 <script>
-//==== TEST DownloadManager_resume_noarg
+//==== TEST: DownloadManager_resume_noarg
 //==== LABEL Check if DownloadManager::resume() method without parameter throws correct exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:resume M
index a5553f3d0ba800715addf1a4f46819d228565832..2ee1902f25d3dd5ca920a21bf6d3a3725aae8582 100755 (executable)
@@ -37,19 +37,21 @@ Authors:
 <script src="support/download_common.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_setListener
 //==== LABEL Check if DownloadManager::setListener() method works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:setListener M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:setListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA MMINA MAST MR
+
+setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}), listener,
     downloadRequest, downloadId, retValue = null;
-setup({timeout: 90000});
+
 t.step(function () {
     listener = {
         onprogress: t.step_func(function (id, receivedSize, totalSize) {
index 73097cc0f2463a9f09d2c8e8e9eaa8ea72b33287..9e379d1d47f3e53dd4d940cfcb2ea5240c4c6233 100755 (executable)
@@ -26,14 +26,13 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_setListener_downloadCallback_TypeMismatch
 //==== LABEL Check if DownloadManager::setListener() method throws exception for wrong type of downloadCallback
-//==== PRIORITY: P2
+//==== PRIORITY P2
 //==== ONLOAD_DELAY 90
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:setListener M
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:setListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA MC
 
@@ -41,6 +40,7 @@ setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}),
     downloadRequest, downloadId, listener, exceptionName, conversionTable, i;
+
 t.step(function () {
     downloadRequest = new tizen.DownloadRequest(URL_SMALL, "documents");
     downloadId = tizen.download.start(downloadRequest);
index 2cc5915bac50894930ac794fa9d893d0b11df1f1..7db797b6931b82e774d6ea41a9e9114f78fd411e 100755 (executable)
@@ -26,14 +26,13 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_setListener_downloadCallback_invalid_cb
 //==== LABEL Check if DownloadManager::setListener() method throws exception given wrong downloadCallback
-//==== PRIORITY: P2
+//==== PRIORITY P2
 //==== ONLOAD_DELAY 90
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:setListener M
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:setListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA MTL
 
@@ -41,6 +40,7 @@ setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}),
     downloadRequest, downloadId, incorrectListeners, exceptionName, i, listener;
+
 t.step(function () {
     incorrectListeners = getListenerConversionExceptions(["onprogress",
         "onpaused", "oncanceled", "oncompleted", "onfailed"]);
index 9073976ccaefb954e656ad7b9c5e8c61147b3d60..8b39f82379599c0719b656c542cad16d0fb41e83 100755 (executable)
@@ -37,15 +37,15 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_setListener_exist
 //==== LABEL Check if DownloadManager::setListener() method exists
-//==== PRIORITY: P0
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:setListener M
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:setListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA ME
+
 test(function () {
     assert_true("setListener" in tizen.download, "setListener method not exist");
     check_method_exists(tizen.download, "setListener");
index b2e3bc90e472c1532639daf93aabf382cdc52846..7410cbaacc4788aef5d4272c63a0806e580dd1bb 100755 (executable)
@@ -26,15 +26,15 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_setListener_missarg
 //==== LABEL Check if DownloadManager::setListener() method with missing non-optional argument throws exception
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:setListener M
+//==== PRIORITY P2
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:setListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA MMA
+
 test(function () {
     assert_throws(TYPE_MISMATCH_EXCEPTION,
         function () {
index 4fb7e3658c524d8d160a79ed7f94ff708030bdd2..01c089f92be82030b90a735ddbf2b0f9cc4cf3e0 100755 (executable)
@@ -36,7 +36,7 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_setListener_null
 //==== LABEL Check if DownloadManager::setListener() method throw an TypeMismatchError when downloadId and downloadCallback are null
 //==== PRIORITY P2
index 0747000035280166b50ba4167599926a9c41c013..b8f299acd6ea61e5c3e2d8abaa21a59520bd0b48 100755 (executable)
@@ -27,15 +27,16 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_start
 //==== LABEL Check if DownloadManager::start() method with downloadRequest non-optional argument works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:start M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:start M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA MMINA MR MAST
 
 var destination, downloadRequest, downloadId = null;
+
 test(function () {
     destination = "documents";
     downloadRequest = new tizen.DownloadRequest(URL_SMALL, destination);
index 3ccd4121cf9274da17af6a0bd87bf715e7b0dbdd..678ae0eb938ad604a72a9b707c877f3344bc1b2f 100755 (executable)
@@ -26,22 +26,21 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_start_downloadCallback_TypeMismatch
 //==== LABEL Check if DownloadManager::start() method throws exception for wrong type of downloadCallback
-//==== PRIORITY: P2
+//==== PRIORITY P2
 //==== ONLOAD_DELAY 90
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:start M
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:start M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA MC
 
-//  DownloadManager_start_downloadCallback_TypeMismatch for start method.
 setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}),
     downloadRequest, listener, exceptionName, conversionTable, i;
+
 t.step(function () {
     downloadRequest = new tizen.DownloadRequest(URL_SMALL, "documents");
     conversionTable = getTypeConversionExceptions("object", true);
index 202c4dd4ff18810998e326c4bfd8d5f0ba6ada9e..e6808b13044f03b145102bb78d877ebf9dddb2df 100755 (executable)
@@ -26,20 +26,21 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_start_downloadCallback_invalid_cb
 //==== LABEL Check if DownloadManager::start() method throws exception when giving invalid listener
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:start M
+//==== PRIORITY P2
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:start M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA MTL
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}),
     downloadRequest, incorrectListeners, exceptionName, i, listener;
+
 t.step(function () {
     incorrectListeners = getListenerConversionExceptions(["onprogress",
         "onpaused", "oncanceled", "oncompleted", "onfailed"]);
index 6a21d863986be4600e513fe55507b120977edf55..88b6c447b692d4eeb7f254c03e9dcd0cac68305c 100755 (executable)
@@ -26,14 +26,13 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_start_downloadRequest_TypeMismatch
 //==== LABEL Check if DownloadManager::start() method throws exception for wrong type of downloadRequest
-//==== PRIORITY: P2
+//==== PRIORITY P2
 //==== ONLOAD_DELAY 90
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:start M
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:start M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA MC
 
@@ -41,6 +40,7 @@ setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}),
     downloadRequest, exceptionName, conversionTable, i;
+
 t.step(function () {
     conversionTable = getTypeConversionExceptions("object", false);
     for (i = 0; i < conversionTable.length; i++) {
index ddf5996d83c3fcf0c8b65e79265cd7532033c4f7..6beb55a7323dd0aaf8c021c7d350ffe1a9b1c785 100755 (executable)
@@ -26,14 +26,13 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_start_downloadRequest_invalid_obj
 //==== LABEL Check if DownloadManager::start() method throws exception given wrong downloadRequest
-//==== PRIORITY: P2
+//==== PRIORITY P2
 //==== ONLOAD_DELAY 90
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:start M
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:start M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA MTO
 
@@ -41,6 +40,7 @@ setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}),
     downloadRequest, exceptionName = "TypeMismatchError";
+
 t.step(function () {
     downloadRequest = [];
     downloadRequest[0] = {url: URL_SMALL, destination: "documents",
index 48593ab83c940f3a131a2df60d3c01e38c70f0f5..319d9642337b335a87b70bdadd1ecaad128528a0 100755 (executable)
@@ -37,13 +37,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_start_exist
 //==== LABEL Check if DownloadManager::start() method exists
-//==== PRIORITY: P0
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:start M
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:start M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA ME
 
index a03ec44e67409031c84c220839d5c62fc933bf7d..f8599013630801af66f74f4676c89e5bdfd382d2 100755 (executable)
@@ -26,13 +26,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_start_missarg
 //==== LABEL Check if DownloadManager::start() method with mandatory argument missing works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:start M
+//==== PRIORITY P2
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:start M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA MMA
 
index c2700018070f18b84e804d001438e18cc7163c7c..cbcd1ff569a4fabed555935dff72fee2e7e2d888 100755 (executable)
@@ -39,18 +39,20 @@ Authors:
 </head>
 <body>
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadManager_start_with_downloadCallback
 //==== LABEL Check if DownloadManager::start() method with downloadCallback optional argument works
-//==== PRIORITY: P2
-//==== SPEC: Tizen Web API:Content:Download:DownloadManager:start M
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadManager:start M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA MOA MAST
 
 setup({timeout: 90000});
+
 var t = async_test(document.title, {timeout: 90000}),
     listener, destination = "documents", downloadRequest;
+
 t.step(function () {
     listener = {
         oncompleted: t.step_func(function (id, fullPath) {
index d5162a4e74095e44a762bf6d20404ebf69f1fd78..684de632736ff3a5583be01f3b0a3cc7699a2f8d 100755 (executable)
@@ -22,24 +22,22 @@ Authors:
 -->
 
 <html>
-
 <head>
 <title>DownloadManager_start_with_extra_argument</title>
 <meta charset="utf-8">
 <script src="support/unitcommon.js"></script>
 <script src="support/download_common.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: DownloadManager_start_with_extra_argument
 //==== LABEL Check if DownloadManager::start() method works when extra argument is given
 //==== SPEC Tizen Web API:Content:Download:DownloadManager:start M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA MOA MR
+
 test(function () {
     var downloadRequest = new tizen.DownloadRequest(URL_SMALL), downloadId, i,
         extraArguments = [
index 13bf93faa5a29f7a3325c6357a449be638f1be74..02e8ffce73fcb973ba1ba61a2b683223d2ed3552 100755 (executable)
@@ -26,17 +26,18 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadRequest_constructor
 //==== LABEL Check if DownloadRequest constructor sets attributes according to arguments given
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadRequest:constructor C
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadRequest:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA CONSTRA CONSTRM
+
 var downloadRequest, destination = "documents",
     fileName = "download.html";
+
 test(function (){
     downloadRequest = new tizen.DownloadRequest(URL_SMALL, destination, fileName);
     assert_type(downloadRequest, "object", "DownloadRequest should be an object.");
index 414f1df57211e0c576486dc7c2d403fa56a3827e..9ea2fb534df9f5593e10677440ec2a2ccf160390 100755 (executable)
@@ -27,17 +27,17 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
 <script>
 //==== TEST: DownloadRequest_destination_attribute
 //==== LABEL Check attribute DownloadRequest::destination existence and type
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadRequest:destination A
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadRequest:destination A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA AE AT ASG ADV
 
 var downloadRequest = null, defaultVal = "";
+
 test(function () {
     downloadRequest = new tizen.DownloadRequest(URL_SMALL);
     assert_true("destination" in downloadRequest, "destination not in downloadRequest");
index 8004ab05f71bf7ccdb23ff1847d5e6cb19ae3394..1a58862ebde4a205fbbca90ae9d7ee66bc909c37 100755 (executable)
@@ -26,13 +26,12 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
-<script type="text/javascript">
+<script>
 //==== TEST: DownloadRequest_exist
 //==== LABEL Check if DownloadRequest constructor exists
-//==== PRIORITY: P0
-//==== SPEC: Tizen Web API:Content:Download:DownloadRequest:constructor C
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadRequest:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA CONSTRF
 
index 20d15c5725fcd7d51df59e41fd7da93011f38de0..80800543216f18842acbe5cf7155d1144a261768 100755 (executable)
@@ -25,16 +25,17 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
 <div id="log"></div>
 <script>
 //==== TEST: DownloadRequest_extend
 //==== LABEL Check if DownloadRequest object can have new attribute added
-//==== PRIORITY: P3
-//==== SPEC: Tizen Web API:Content:Download:DownloadRequest:DownloadRequest U
+//==== PRIORITY P3
+//==== SPEC Tizen Web API:Content:Download:DownloadRequest:DownloadRequest U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA OBX
+
 var downloadRequest = null;
+
 test(function () {
     downloadRequest = new tizen.DownloadRequest(URL_SMALL, "downloads", "file_name.html");
     check_extensibility(downloadRequest);
index 02fc1c0b5468eb086739ea18486729c9e6fb6fec..3fadc6c184bb0d9555ce6fad204ad608b6211311 100755 (executable)
@@ -25,18 +25,17 @@ Authors:
 <script src="support/unitcommon.js"></script>
 </head>
 <body>
-
-
 <div id="log"></div>
 <script>
 //==== TEST: DownloadRequest_fileName_attribute
 //==== LABEL Check attribute DownloadRequest::fileName existence and type
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadRequest:fileName A
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadRequest:fileName A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA AE AT ASG ADV
 
 var downloadRequest = null, defaultVal = "";
+
 test(function () {
     downloadRequest = new tizen.DownloadRequest(URL_SMALL, "documents");
     assert_true("fileName" in downloadRequest, "fileName is not in downloadRequest");
index f98fdf88e99d4528e02e85642011a20f465ff155..9592aef507141dcaba4ea6db20ac3d4d115ff9a2 100755 (executable)
@@ -29,12 +29,13 @@ Authors:
 <script>
 //==== TEST: DownloadRequest_httpHeader_attribute
 //==== LABEL Check attribute DownloadRequest::httpHeader existence and type
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadRequest:httpHeader A
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadRequest:httpHeader A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA AE AT ADV ASG
 
 var downloadRequest = null;
+
 test(function () {
     downloadRequest = new tizen.DownloadRequest(URL_SMALL, "documents", "file_name.html");
     assert_true("httpHeader" in downloadRequest, "httpHeader not in downloadRequest");
index 2b47472f5372e3b5abe5ad9388c65fcd75636bce..efd0a445d4799498a1b634873b4777cc7f47dea4 100755 (executable)
@@ -29,12 +29,13 @@ Authors:
 <script>
 //==== TEST: DownloadRequest_networkType_attribute
 //==== LABEL Check attribute DownloadRequest::networkType existence and possible values
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadRequest:networkType A
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadRequest:networkType A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA AE AT ASG ADV
 
 var downloadRequest = null;
+
 test(function () {
     downloadRequest = new tizen.DownloadRequest(URL_SMALL, "documents", "file_name.html");
     assert_true("networkType" in downloadRequest, "networkType not in downloadRequest");
index 57bd64b8696234ee84e66e81389f4da49279e519..393053c49583a9f633b8c2264ea39bd3932f4109 100755 (executable)
@@ -29,12 +29,13 @@ Authors:
 <script>
 //==== TEST: DownloadRequest_url_attribute
 //==== LABEL Check attribute DownloadRequest::url existence and type
-//==== PRIORITY: P1
-//==== SPEC: Tizen Web API:Content:Download:DownloadRequest:url A
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Content:Download:DownloadRequest:url A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/download.html
 //==== TEST_CRITERIA AE AT ASG AN
 
 var downloadRequest = null;
+
 test(function () {
     downloadRequest = new tizen.DownloadRequest(URL_SMALL);
     assert_true("url" in downloadRequest, "url not in downloadRequest");
index e2ea9de5dccb720012e46f4e429ce6eb57f82ff4..5b4c798c63859344f0a327923ec459d1beeb87fd 100755 (executable)
@@ -6,7 +6,7 @@
       <capabilities>
         <capability name="http://tizen.org/feature/download"/>
       </capabilities>
-      <testcase purpose="Check if DownloadManager::start() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_start_exist">
+      <testcase purpose="Check if DownloadManager::start() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadManager_start_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_start_exist.html</test_script_entry>
         </description>
@@ -18,7 +18,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::cancel() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_cancel_exist">
+      <testcase purpose="Check if DownloadManager::cancel() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadManager_cancel_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_cancel_exist.html</test_script_entry>
         </description>
@@ -30,7 +30,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::pause() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_pause_exist">
+      <testcase purpose="Check if DownloadManager::pause() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadManager_pause_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_pause_exist.html</test_script_entry>
         </description>
@@ -42,7 +42,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::resume() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_resume_exist">
+      <testcase purpose="Check if DownloadManager::resume() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadManager_resume_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_resume_exist.html</test_script_entry>
         </description>
@@ -54,7 +54,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getState() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_getState_exist">
+      <testcase purpose="Check if DownloadManager::getState() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadManager_getState_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getState_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::cancel() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_cancel">
+      <testcase purpose="Check if DownloadManager::cancel() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_cancel">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_cancel.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getState() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_getState">
+      <testcase purpose="Check if DownloadManager::getState() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_getState">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getState.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::pause() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_pause">
+      <testcase purpose="Check if DownloadManager::pause() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_pause">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_pause.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::resume() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_resume">
+      <testcase purpose="Check if DownloadManager::resume() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_resume">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_resume.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::start() method with downloadRequest non-optional argument works" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_start">
+      <testcase purpose="Check if DownloadManager::start() method with downloadRequest non-optional argument works" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_start">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_start.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getDownloadRequest() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_getDownloadRequest_exist">
+      <testcase purpose="Check if DownloadManager::getDownloadRequest() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadManager_getDownloadRequest_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getDownloadRequest_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getMIMEType() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_getMIMEType_exist">
+      <testcase purpose="Check if DownloadManager::getMIMEType() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadManager_getMIMEType_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getMIMEType_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::setListener() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_setListener_exist">
+      <testcase purpose="Check if DownloadManager::setListener() method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadManager_setListener_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_setListener_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getDownloadRequest() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_getDownloadRequest">
+      <testcase purpose="Check if DownloadManager::getDownloadRequest() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_getDownloadRequest">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getDownloadRequest.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getMIMEType() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_getMIMEType">
+      <testcase purpose="Check if DownloadManager::getMIMEType() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_getMIMEType">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getMIMEType.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::setListener() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_setListener">
+      <testcase purpose="Check if DownloadManager::setListener() method works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_setListener">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_setListener.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadRequest constructor exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadRequest_exist">
+      <testcase purpose="Check if DownloadRequest constructor exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadRequest_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadRequest_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::start() method with downloadCallback optional argument works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_start_with_downloadCallback">
+      <testcase purpose="Check if DownloadManager::start() method with downloadCallback optional argument works" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_start_with_downloadCallback">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_start_with_downloadCallback.html</test_script_entry>
         </description>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="DownloadManager U" usage="true" specification="Download" section="Content" category="Tizen Device API Specifications"/>
+            <spec_assertion interface="DownloadManager" usage="true" specification="Download" section="Content" category="Tizen Device API Specifications"/>
             <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/download.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getState() method works while download initiated at documents with large url" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_getState_url_DOWNLOADING">
+      <testcase purpose="Check if DownloadManager::getState() method works while download initiated at documents with large url" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_getState_url_DOWNLOADING">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getState_url_DOWNLOADING.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getState() method works while download initiated at downloads with large url and cancel method is called" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_getState_url_URL_CANCELED">
+      <testcase purpose="Check if DownloadManager::getState() method works while download initiated at downloads with large url and cancel method is called" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_getState_url_URL_CANCELED">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getState_url_URL_CANCELED.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getState() method works while download initiated at downloads with large url and pause method is called" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_getState_url_URL_PAUSE">
+      <testcase purpose="Check if DownloadManager::getState() method works while download initiated at downloads with large url and pause method is called" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_getState_url_URL_PAUSE">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getState_url_URL_PAUSE.html</test_script_entry>
         </description>
index 807a06804203d97cde729ed7546e3cc1646ae1ff..26879b3fb480da28571a392bde186ad940f27d06 100755 (executable)
@@ -36,7 +36,7 @@
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getState_using.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Test whether the type of each argument is correct for DownloadCallback::onprogress callback" onload_delay="90" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadCallback_onprogress">
+      <testcase purpose="Test whether the type of each argument is correct for DownloadCallback::onprogress callback" onload_delay="90" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadCallback_onprogress">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadCallback_onprogress.html</test_script_entry>
         </description>
@@ -76,7 +76,7 @@
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_start.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if tizen namespace contains download object and DownloadManagerObject interface is not available" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadManagerObject_download_exists">
+      <testcase purpose="Check if tizen namespace contains download object and DownloadManagerObject interface is not available" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P3" id="DownloadManagerObject_download_exists">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManagerObject_download_exists.html</test_script_entry>
         </description>
@@ -86,7 +86,7 @@
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadRequest_url_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if DownloadManager::start() method works when extra argument is given" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_start_with_extra_argument">
+      <testcase purpose="Check if DownloadManager::start() method works when extra argument is given" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_start_with_extra_argument">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_start_with_extra_argument.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getDownloadRequest.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if DownloadManager::getMIMEType() method works" onload_delay="90" component="Tizen Device APIs/Content/Download" execution_type="auto" id="DownloadManager_getMIMEType">
+      <testcase purpose="Check if DownloadManager::getMIMEType() method works" onload_delay="90" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1"  id="DownloadManager_getMIMEType">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_getMIMEType.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_setListener.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if DownloadManager::setListener() method throw an TypeMismatchError when downloadId and downloadCallback are null" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadManager_setListener_null">
+      <testcase purpose="Check if DownloadManager::setListener() method throw an TypeMismatchError when downloadId and downloadCallback are null" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_setListener_null">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_setListener_null.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadRequest_constructor.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if DownloadRequest constructor exists" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P0" id="DownloadRequest_exist">
+      <testcase purpose="Check if DownloadRequest constructor exists" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P1" id="DownloadRequest_exist">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadRequest_exist.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManagerObject_notexist.html</test_script_entry>
         </description>
       </testcase>
-            <testcase purpose="Check if DownloadManager::cancel() method with incompatible parameter throws correct exception" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_cancel_invalidvalues">
+      <testcase purpose="Check if DownloadManager::cancel() method with incompatible parameter throws correct exception" component="Tizen Device APIs/Content/Download" execution_type="auto" priority="P2" id="DownloadManager_cancel_invalidvalues">
         <description>
           <test_script_entry>/opt/tct-download-tizen-tests/download/DownloadManager_cancel_invalidvalues.html</test_script_entry>
         </description>