<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
</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) {
</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) {
</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) {
</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) {
</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) {
<script src="support/unitcommon.js"></script>
</head>
<body>
-
<div id="log"></div>
<script>
//==== TEST: DownloadManagerObject_download_exists
<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);
</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) {
<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
<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
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);
<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
</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 = {
<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
<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
test(function () {
var conversionTableArray, i, id;
+
conversionTableArray = getTypeConversionExceptions("double", false);
for (i = 0; i < conversionTableArray.length; i++) {
id = conversionTableArray[i];
<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
</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 = {
<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
<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
test(function () {
var conversionTableArray, i, id;
+
conversionTableArray = getTypeConversionExceptions("double", false);
for (i = 0; i < conversionTableArray.length; i++) {
id = conversionTableArray[i];
<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
</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 = {
<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
<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
test(function () {
var conversionTableArray, i, id;
+
conversionTableArray = getTypeConversionExceptions("double", false);
for (i = 0; i < conversionTableArray.length; i++) {
id = conversionTableArray[i];
<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
<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
//==== 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 {
<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
//==== 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) {
<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
//==== 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 {
</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
//==== 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) {
<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
<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);
<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 = {
<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
<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
test(function () {
var conversionTable, i, id;
+
conversionTableArray = getTypeConversionExceptions("double", false);
for (i = 0; i < conversionTableArray.length; i++) {
id = conversionTableArray[i];
<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
<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) {
<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
<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
test(function () {
var conversionTable, i, id;
+
conversionTableArray = getTypeConversionExceptions("double", false);
for (i = 0; i < conversionTableArray.length; i++) {
id = conversionTableArray[i];
<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
<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) {
<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
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);
<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
var t = async_test(document.title, {timeout: 90000}),
downloadRequest, downloadId, incorrectListeners, exceptionName, i, listener;
+
t.step(function () {
incorrectListeners = getListenerConversionExceptions(["onprogress",
"onpaused", "oncanceled", "oncompleted", "onfailed"]);
<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");
<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 () {
</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
</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);
<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);
<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"]);
<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
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++) {
<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
var t = async_test(document.title, {timeout: 90000}),
downloadRequest, exceptionName = "TypeMismatchError";
+
t.step(function () {
downloadRequest = [];
downloadRequest[0] = {url: URL_SMALL, destination: "documents",
<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
<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
</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) {
-->
<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 = [
<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.");
<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");
<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
<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);
<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");
<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");
<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");
<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");
<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>
</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>
</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>
</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>
</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>
<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>
<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>
<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>