-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>AudioContent_album_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: AudioContent_album_attribute
-//==== LABEL Check if AudioContent have album attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:AudioContent:album A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, content;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- if(content.album !== null) {
- check_readonly(content, "album", content.album, "string", "MyAlbum");
- t.done();
- }
-
- assert_unreached("There are no media items with album property.");
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_album_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: AudioContent_album_attribute\r
+//==== LABEL Check if AudioContent have album attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:album A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ if(content.album !== null) {\r
+ check_readonly(content, "album", content.album, "string", "MyAlbum");\r
+ t.done();\r
+ }\r
+\r
+ assert_unreached("There are no media items with album property.");\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>AudioContent_artists_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: AudioContent_artists_attribute
-//==== LABEL Check if AudioContent have artists attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:AudioContent:artists A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), onSuccess, onError, i, beforeValues, artistExist = false,
- filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");
-
-setup_contents(t, t.step_func(function () {
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- for(i = 0; i < contents.length; i++) {
- assert_own_property(contents[i], "artists",
- "AudioContent does not own artists property.");
-
- if (contents[i].artists) {
- assert_type(contents[i].artists, "array", "artists should be an array");
- assert_type(contents[i].artists[0], "string", "artists items should be a string");
-
- beforeValues = contents[i].artists;
- if (contents[i].artists[0] === "newArtist") {
- contents[i].artists = ["anotherNewArtist"];
- } else {
- contents[i].artists = ["newArtist"];
- }
- assert_equals(contents[i].artists.length, beforeValues.length, "artists is not readonly");
- assert_array_equals(contents[i].artists, beforeValues, "artists is not readonly");
- artistExist = true;
- } else {
- assert_type(contents[i].artists, null,
- "AudioContent.artists should be null.");
- }
- }
- assert_true(artistExist, "Did not found attribute artists of AudioContent set to array.");
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_artists_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: AudioContent_artists_attribute\r
+//==== LABEL Check if AudioContent have artists attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:artists A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}), onSuccess, onError, i, beforeValues, artistExist = false,\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+setup_contents(t, t.step_func(function () {\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "artists",\r
+ "AudioContent does not own artists property.");\r
+\r
+ if (contents[i].artists) {\r
+ assert_type(contents[i].artists, "array", "artists should be an array");\r
+ assert_type(contents[i].artists[0], "string", "artists items should be a string");\r
+\r
+ beforeValues = contents[i].artists;\r
+ if (contents[i].artists[0] === "newArtist") {\r
+ contents[i].artists = ["anotherNewArtist"];\r
+ } else {\r
+ contents[i].artists = ["newArtist"];\r
+ }\r
+ assert_equals(contents[i].artists.length, beforeValues.length, "artists is not readonly");\r
+ assert_array_equals(contents[i].artists, beforeValues, "artists is not readonly");\r
+ artistExist = true;\r
+ } else {\r
+ assert_type(contents[i].artists, null,\r
+ "AudioContent.artists should be null.");\r
+ }\r
+ }\r
+ assert_true(artistExist, "Did not found attribute artists of AudioContent set to array.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>AudioContent_bitrate_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: AudioContent_bitrate_attribute
-//==== LABEL Check if AudioContent have bitrate attribute with proper type, readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:AudioContent:bitrate A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, i;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- for(i = 0; i < contents.length; i++) {
- check_readonly(contents[i], "bitrate", contents[i].bitrate, "unsigned long",
- contents[i].bitrate + 1);
- }
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>AudioContent_composers_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: AudioContent_composers_attribute
-//==== LABEL Check if AudioContent have composers attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:AudioContent:composers A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, i, beforeValues, composerExist = false;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- for(i = 0; i < contents.length; i++) {
- assert_own_property(contents[i], "composers",
- "AudioContent does not own composers property.");
-
- if (contents[i].composers) {
- assert_type(contents[i].composers, "array", "composers should be an array");
- assert_type(contents[i].composers[0], "string",
- "composers items should be a string");
-
- beforeValues = contents[i].composers;
- if (contents[i].composers[0] === "newComposer") {
- contents[i].composers = ["anotherNewComposer"];
- } else {
- contents[i].composers = ["newComposer"];
- }
- assert_equals(contents[i].composers.length, beforeValues.length, "composers is not readonly");
- assert_array_equals(contents[i].composers, beforeValues, "composers is not readonly");
- composerExist = true;
- } else {
- assert_type(contents[i].composers, null,
- "AudioContent.composers should be null.");
- }
- }
- assert_true(composerExist, "Did not found attribute composers of AudioContent set to array.");
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>AudioContent_copyright_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: AudioContent_copyright_attribute
-//==== LABEL Check if AudioContent have copyright attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:AudioContent:copyright A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, content, i;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- for (i = 0; i < contents.length; i++) {
- content = contents[i];
- if (TEST_CONTENT_AUDIOS.includes(content.name)) {
- check_readonly(content, "copyright", content.copyright, "string", "MyRights");
- break;
- }
- }
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>AudioContent_duration_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: AudioContent_duration_attribute
-//==== LABEL Check if AudioContent have duration attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:AudioContent:duration A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, content;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- check_readonly(content, "duration", content.duration, "number", 100);
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Guan, JingX <jingx.guan@intel.com>
- Jakub Siewierski <j.siewierski@samsung.com>
- Krzysztof Lachacz <k.lachacz@samsung.com>
- Qunfang Lin <qunfang.lin@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_update</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_update
-//==== LABEL Check if update() method works properly
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:update M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MAST MMINA MR
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- expected, updated = null, returnedValue = null,
- successCallback, errorCallback, onSuccess, onError, i;
-
-setup_contents(t, t.step_func(function () {
- onSuccess = t.step_func(function (contents) {
- assert_equals(contents.length, 1, "updated media item should be found.");
- assert_equals(contents[0].isFavorite, expected, "isFavorite should be updated.");
- assert_equals(returnedValue, undefined,
- "update should return undefined.");
- t.done();
- });
-
- onError = t.step_func(function (error) {
- assert_unreached("find has an error: " + error.name + " with message: " + error.message);
- });
-
- successCallback = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0 , "Media item should be found.");
- for (i = 0; i < contents.length; i++) {
- if (contents[i].editableAttributes.indexOf("isFavorite") >= 0) {
- updated = contents[i];
- break;
- }
- }
- assert_not_equals(updated, null, "File with editable 'isFavorite' attribute not found");
-
- expected = !updated.isFavorite;
- updated.isFavorite = expected;
- returnedValue = tizen.content.update(updated);
- tizen.content.find(onSuccess, onError, null, new tizen.AttributeFilter("id", "EXACTLY", updated.id));
- });
- errorCallback = t.step_func(function (error) {
- assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- tizen.content.find(successCallback, errorCallback, null);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Guan, JingX <jingx.guan@intel.com>
- Jakub Siewierski <j.siewierski@samsung.com>
- Krzysztof Lachacz <k.lachacz@samsung.com>
- Qunfang Lin <qunfang.lin@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch
-//==== LABEL Check if updateBatch() method works properly
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MAST MOA MR
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), updated = [], expected = {}, i, returnedValue = null,
- findAfterEditSuccess, findAfterEditError, updateError, findSuccess, findError,
- filter;
-
-setup_contents(t, t.step_func(function () {
- findAfterEditSuccess = t.step_func(function (contents) {
- assert_equals(returnedValue, undefined,
- "updateBatch should return undefined.");
- assert_type(contents, "array", "contents should be an array");
- assert_equals(contents.length, 2, "Media items after edit not found");
- assert_equals(contents[0].isFavorite, expected[contents[0].id], "isFavorite should be changed");
- assert_equals(contents[1].isFavorite, expected[contents[1].id], "isFavorite should be changed");
- t.done();
- });
-
- findAfterEditError = t.step_func(function (error) {
- assert_unreached("find() (after updateBatch()) error callback was invoked: " +
- error.name + " msg: " + error.message);
- });
-
- updateError = t.step_func(function (error) {
- assert_unreached("updateBatch() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- findSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 1, "Media item should be found.");
- for (i = 0; i < contents.length; i++) {
- if (contents[i].editableAttributes.indexOf("isFavorite") >= 0) {
- updated.push(contents[i]);
- }
- }
- assert_greater_than(contents.length, 1,
- "At least two media items with editable 'isFavorite' attribute are needed");
-
- updated[0].isFavorite = !updated[0].isFavorite;
- expected[updated[0].id] = updated[0].isFavorite;
-
- updated[1].isFavorite = !updated[1].isFavorite;
- expected[updated[1].id] = updated[1].isFavorite;
-
- returnedValue = tizen.content.updateBatch(updated, function () {
- filter = new tizen.CompositeFilter("UNION", [
- new tizen.AttributeFilter("id", "EXACTLY", updated[0].id),
- new tizen.AttributeFilter("id", "EXACTLY", updated[1].id)
- ]);
-
- tizen.content.find(findAfterEditSuccess, findAfterEditError, null, filter);
- }, updateError);
- });
-
- findError = t.step_func(function (error) {
- assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- tizen.content.find(findSuccess, findError);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_contents_TypeMismatch</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_contents_TypeMismatch
-//==== LABEL Check if updateBatch throws exception when contents is incorrect
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MC
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- exceptionName = "TypeMismatchError", conversionTable, i, contents;
-
-t.step(function () {
- conversionTable = getTypeConversionExceptions("array", false);
-
- for(i = 0; i < conversionTable.length; i++) {
- contents = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
-
- assert_throws({name: exceptionName},
- function () {
- tizen.content.update(contents);
- }, "Given incorrect contents.");
- }
-
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_errorCallback_TypeMismatch</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_errorCallback_TypeMismatch
-//==== LABEL Check if updateBatch throws exception when errorCallback is incorrect
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MC
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- conversionTable, successCallback, errorCallback, exceptionName, i;
-
-t.step(function () {
- successCallback = t.step_func(function () {
- assert_unreached("updateBatch() success callback should not be invoked.");
- });
-
- conversionTable = getTypeConversionExceptions("functionObject", true);
- for(i = 0; i < conversionTable.length; i++) {
- errorCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
-
- assert_throws({name: exceptionName},
- function () {
- tizen.content.updateBatch([], successCallback, errorCallback);
- }, "Given incorrect errorCallback.");
- }
-
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_errorCallback_invalid_cb</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_errorCallback_invalid_cb
-//==== LABEL Check if updateBatch throws exception when errorCallback is invalid
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MTCB
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- exceptionName = "TypeMismatchError", successCallback, incorrectCallback;
-
-t.step(function () {
-
- incorrectCallback = {
- onerror: t.step_func(function (error) {
- assert_unreached("Invalid errorCallback invoked:" + error.name + " msg: " + error.message);
- })
- };
-
- successCallback = t.step_func(function () {
- assert_unreached("updateBatch() success callback should not be invoked.");
- });
-
- assert_throws({name: exceptionName},
- function () {
- tizen.content.updateBatch([], successCallback, incorrectCallback);
- }, "Given incorrect errorCallback.");
-
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Guan, JingX <jingx.guan@intel.com>
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_exist</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_exist
-//==== LABEL Check if updateBatch exists
-//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
- assert_true("updateBatch" in tizen.content, "ContentManager should have updateBatch method");
- check_method_exists(tizen.content, "updateBatch");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_missarg</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_missarg
-//==== LABEL Check if updateBatch method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-test(function () {
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.content.updateBatch();
- }, "UpdateBatch was invoked without non-optional argumenents");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_successCallback_TypeMismatch</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_successCallback_TypeMismatch
-//==== LABEL Check if updateBatch throws exception when successCallback is incorrect
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MC
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- conversionTable, successCallback, exceptionName, i;
-
-t.step(function () {
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for(i = 0; i < conversionTable.length; i++) {
- successCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
-
- assert_throws({name: exceptionName},
- function () {
- tizen.content.updateBatch([], successCallback);
- }, "Given incorrect successCallback.");
- }
-
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_successCallback_invalid_cb</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_successCallback_invalid_cb
-//==== LABEL Check if updateBatch throws exception when success callback is invalid
-//==== PRIORITY: P2
-//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MTCB
-test(function () {
- var exceptionName = "TypeMismatchError", incorrectCallback;
-
- incorrectCallback = {
- onsuccess: function (items) {
- assert_unreached("Invalid successCallback invoked.");
- }
- };
-
- assert_throws({name: exceptionName},
- function () {
- tizen.content.updateBatch([], incorrectCallback);
- }, "Given invalid successCallback.");
-
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
- Qunfang Lin <qunfang.lin@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_with_errorCallback</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_with_errorCallback
-//==== LABEL Check if updateBatch called with optional errorCallback is invoked properly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- findSuccess, findError, updateBatchSuccess, updateBatchError, content,
- returnedValue = null;
-
-setup_contents(t, t.step_func(function () {
-
- updateBatchSuccess = t.step_func(function (directoryURI) {
- assert_equals(returnedValue, undefined,
- "updateBatch should return undefined.");
- t.done();
- });
- updateBatchError = t.step_func(function (error) {
- assert_unreached("updateBatch errorCallback called: " + error.name + " with message: " + error.message);
- });
-
- findSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "Media item should be found.");
-
- content = contents[0];
- content.isFavorite = !content.isFavorite;
-
- returnedValue = tizen.content.updateBatch([content], updateBatchSuccess, updateBatchError);
- });
- findError = t.step_func(function (error) {
- assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- tizen.content.find(findSuccess, findError);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
- Qunfang Lin <qunfang.lin@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_with_successCallback</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_with_successCallback
-//==== LABEL Check if updateBatch called with optional successCallback is invoked properly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- findSuccess, findError, updateBatchSuccess, content, returnedValue = null, i;
-
-setup_contents(t, t.step_func(function () {
-
- updateBatchSuccess = t.step_func(function (directoryURI) {
- assert_equals(returnedValue, undefined,
- "updateBatch should return undefined.");
- t.done();
- });
-
- findSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "Media item should be found.");
-
- for (i = 0; i < contents.length; i++) {
- content = contents[i];
- if (content.editableAttributes.indexOf("isFavorite") >= 0) {
- content.isFavorite = !content.isFavorite;
- }
- }
-
- returnedValue = tizen.content.updateBatch([content], updateBatchSuccess);
- });
- findError = t.step_func(function (error) {
- assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- tizen.content.find(findSuccess, findError);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Tomasz Kusmierz <t.kusmierz@samsung.com>
- Qunfang Lin <qunfang.lin@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_updateBatch_without_callback</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_updateBatch_without_callback
-//==== LABEL Check if updateBatch called without callback is invoked properly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:ContentManager:updateBatch M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MR
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- findSuccess, findError, content, returnedValue = null;
-
-setup_contents(t, t.step_func(function () {
- findError = t.step_func(function (error) {
- assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- findSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "Media item should be found.");
-
- content = contents[0];
- if (content.editableAttributes.indexOf("isFavorite") >= 0) {
- content.isFavorite = !content.isFavorite;
- }
-
- returnedValue = tizen.content.updateBatch([content]);
- assert_equals(returnedValue, undefined,
- "updateBatch should return undefined.");
- t.done();
- });
-
- tizen.content.find(findSuccess, findError);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_update_content_TypeMismatch</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_update_content_TypeMismatch
-//==== LABEL Check if update throws exception when content is incorrect
-//==== PRIORITY: P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Content:Content:ContentManager:update M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== TEST_CRITERIA MC
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- exceptionName = "TypeMismatchError", conversionTable, i, content;
-
-t.step(function () {
- conversionTable = getTypeConversionExceptions("object", false);
-
- for(i = 0; i < conversionTable.length; i++) {
- content = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
-
- assert_throws({name: exceptionName},
- function () {
- tizen.content.update(content);
- }, "update() invoked with incorrect content.");
- }
-
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Guan, JingX <jingx.guan@intel.com>
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_update_exist</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_update_exist
-//==== LABEL Check if update exists
-//==== SPEC Tizen Web API:Content:Content:ContentManager:update M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-test(function () {
- assert_true("update" in tizen.content, "ContentManager should have update method");
- check_method_exists(tizen.content, "update");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ContentManager_update_missarg</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ContentManager_update_missarg
-//==== LABEL Check if update method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Content:Content:ContentManager:update M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-test(function () {
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.content.update();
- }, "update() invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>Content_description_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: Content_description_attribute
-//==== LABEL Check if Content have description attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:Content:description A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, content;
-
-setup_contents(t, t.step_func(function () {
- onError = t.step_func(function (error) {
- assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- if(content.description !== null) {
- check_readonly(content, "description", content.description, "string", "dummy");
- }
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>Content_editableAttributes_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: Content_editableAttributes_attribute
-//==== LABEL Check if Content have editableAttributes attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:Content:editableAttributes A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, beforeValues, i, editableExist = false;
-
-setup_contents(t, t.step_func(function () {
- onError = t.step_func(function (error) {
- assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- for(i = 0; i < contents.length; i++) {
- assert_own_property(contents[i], "editableAttributes",
- "Content does not own editableAttributes property.");
-
- if (contents[i].editableAttributes) {
- assert_type(contents[i].editableAttributes, "array",
- "Content.editableAttributes should be an array");
- assert_type(contents[i].editableAttributes[0], "string",
- "Content.editableAttributes should be a string.");
-
- beforeValues = contents[i].editableAttributes;
- contents[i].editableAttributes = ["anotherNeweditableAttributes"];
- assert_equals(contents[i].editableAttributes.length, beforeValues.length,
- "Content.editableAttributes should be readonly");
- assert_array_equals(contents[i].editableAttributes, beforeValues,
- "Content.editableAttributes should be readonly");
- editableExist = true;
- }
- }
- assert_true(editableExist, "There is no content having editable attributes.");
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2014 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Author:
- Wei Zhang <wei625.zhang@samsung.com>
-
--->
-<html>
-<head>
-<title>Content_isFavorite_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: Content_isFavorite_attribute
-//==== LABEL Check if Content have isFavorite attribute with proper type and is writeable and not nullable
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:Content:isFavorite A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG AN
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), onSuccess, onError, content;
-
-setup_contents(t, t.step_func(function () {
- onError = t.step_func(function (error) {
- assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- if (content.isFavorite !== null) {
- check_attribute(content, "isFavorite", content.isFavorite, "boolean", !content.isFavorite);
- content.isFavorite = null;
- assert_not_equals(content.isFavorite, null, "Content.isFavorite should not accept null as value.");
- }
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError);
-}));
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>Content_rating_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: Content_rating_attribute
-//==== LABEL Check if Content have rating attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:Content:rating A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, i, newValue = 3;
-
-setup_contents(t, t.step_func(function () {
- onError = t.step_func(function (error) {
- assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- for(i = 0; i < contents.length; i++) {
- if(contents[i].rating === newValue ) {
- newValue++;
- }
- check_readonly(contents[i], "rating", contents[i].rating, "unsigned long", newValue);
- }
- t.done();
- });
-
- tizen.content.find(onSuccess, onError);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ImageContent_geolocation_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ImageContent_geolocation_attribute
-//==== LABEL Check if ImageContent have geolocation attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:ImageContent:geolocation A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, geolocation, i, geolocationExist = false;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "IMAGE");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- for(i = 0; i < contents.length; i++) {
- assert_own_property(contents[i], "geolocation",
- "Content does not own geolocation property.");
-
- geolocation = new tizen.SimpleCoordinates(5, 5);
- if (contents[i].geolocation !== null) {
- assert_true(contents[i].geolocation instanceof tizen.SimpleCoordinates,
- "ImageContent.geolocation should be an instance of SimpleCoordinates");
- if (contents[i].geolocation.latitude === 5) {
- geolocation.latitude = 6;
- }
- if (contents[i].geolocation.longitude === 5) {
- geolocation.longitude = 6;
- }
- geolocationExist = true;
- }
- contents[i].geolocation = geolocation;
-
- assert_not_equals(contents[i].geolocation.latitude, geolocation.latitude,
- "Value of ImageContent.geolocation.latitude should not be updated.");
- assert_not_equals(contents[i].geolocation.longitude, geolocation.longitude,
- "Value of ImageContent.geolocation.latitude should not be updated.");
- }
- assert_true(geolocationExist, "Image with geolocation doesn't exist.");
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ImageContent_height_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ImageContent_height_attribute
-//==== LABEL Check if ImageContent have height attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:ImageContent:height A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, content;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "IMAGE");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- check_readonly(content, "height", content.height, "number", 100);
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ImageContent_height_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ImageContent_height_attribute\r
+//==== LABEL Check if ImageContent have height attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ImageContent:height A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "IMAGE");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "height", content.height, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>ImageContent_width_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: ImageContent_width_attribute
-//==== LABEL Check if ImageContent have width attribute with proper type, and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:ImageContent:width A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, content;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "IMAGE");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- check_readonly(content, "width", content.width, "number", 100);
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ImageContent_width_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ImageContent_width_attribute\r
+//==== LABEL Check if ImageContent have width attribute with proper type, and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ImageContent:width A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "IMAGE");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "width", content.width, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>VideoContent_album_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: VideoContent_album_attribute
-//==== LABEL Check if VideoContent have album attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:VideoContent:album A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, content;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- if(content.album !== null) {
- check_readonly(content, "album", content.album, "string", "MyAlbum");
- }
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>VideoContent_artists_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: VideoContent_artists_attribute
-//==== LABEL Check if VideoContent have artists attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:VideoContent:artists A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), onSuccess, onError, beforeValues, i, artistExist = false,
- filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");
-
-setup_contents(t, t.step_func(function () {
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- for(i = 0; i < contents.length; i++) {
- assert_own_property(contents[i], "artists",
- "VideoContent does not own artists property.");
- if (contents[i].artists) {
- assert_type(contents[i].artists, "array", "artists should be an array");
- assert_type(contents[i].artists[0], "string", "artists item should be a string");
-
- beforeValues = contents[i].artists;
- if (contents[i].artists[0] === "newArtist") {
- contents[i].artists = ["anotherNewArtist"];
- } else {
- contents[i].artists = ["newArtist"];
- }
- assert_equals(contents[i].artists.length, beforeValues.length, "artists is not readonly");
- assert_array_equals(contents[i].artists, beforeValues, "artists is not readonly");
- artistExist = true;
-
- } else {
- assert_type(contents[i].artists, null,
- "VideoContent.artists should be null.");
- }
- }
- assert_true(artistExist, "Did not found attribute artists of VideoContent set to array.");
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>VideoContent_duration_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: VideoContent_duration_attribute
-//==== LABEL Check if VideoContent have duration attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:VideoContent:duration A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, content;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- check_readonly(content, "duration", content.duration, "number", 100);
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>VideoContent_geolocation_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: VideoContent_geolocation_attribute
-//==== LABEL Check if VideoContent have geolocation attribute with proper type and is writeable
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:VideoContent:geolocation A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, geolocation, i;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- for(i = 0; i < contents.length; i++) {
- assert_own_property(contents[i], "geolocation",
- "VideoContent does not own geolocation property.");
-
- geolocation = new tizen.SimpleCoordinates(5, 5);
- if (contents[i].geolocation !== null) {
- assert_true(contents[i].geolocation instanceof tizen.SimpleCoordinates,
- "VideoContent.geolocation should be an instance of SimpleCoordinates");
- if (contents[i].geolocation.latitude === 5) {
- geolocation.latitude = 6;
- }
- if (contents[i].geolocation.longitude === 5) {
- geolocation.longitude = 6;
- }
- }
- contents[i].geolocation = geolocation;
-
- assert_not_equals(contents[i].geolocation.latitude, geolocation.latitude,
- "Value of VideoContent.geolocation.latitude should not be updated.");
- assert_not_equals(contents[i].geolocation.longitude, geolocation.longitude,
- "Value of VideoContent.geolocation.longitude should not be updated.");
- }
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>VideoContent_height_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: VideoContent_height_attribute
-//==== LABEL Check if VideoContent have height attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:VideoContent:height A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, content;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- check_readonly(content, "height", content.height, "number", 100);
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Krzysztof Lachacz <k.lachacz@samsung.com>
-
--->
-
-<html>
-<head>
-<title>VideoContent_width_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/content_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: VideoContent_width_attribute
-//==== LABEL Check if VideoContent have width attribute with proper type and is readonly
-//==== ONLOAD_DELAY 30
-//==== SPEC: Tizen Web API:Content:Content:VideoContent:width A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}),
- onSuccess, onError, filter, content;
-
-setup_contents(t, t.step_func(function () {
- filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");
-
- onError = t.step_func(function (error) {
- assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);
- });
-
- onSuccess = t.step_func(function (contents) {
- assert_type(contents, "array", "contents should be an array");
- assert_greater_than(contents.length, 0, "media item is not found");
-
- content = contents[0];
- check_readonly(content, "width", content.width, "number", 100);
-
- t.done();
- });
-
- tizen.content.find(onSuccess, onError, null, filter);
-}));
-
-</script>
-</body>
-</html>
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
-<test_definition>
- <suite name="tct-content-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
- <set name="Content">
- <testcase purpose="Check if content attribute exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManagerObject_content_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManagerObject_content_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_updateBatch_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if update exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_update_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_update_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getDirectories method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_getDirectories_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_find_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager find method with optional error callback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager getDirectories method with only non-optional arguments is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getDirectories">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if update() method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_update">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_update.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch() method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content type value is AUDIO for find method with filter AUDIO" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_AUDIO">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_AUDIO.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content type value is IMAGE for find method with filter IMAGE" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_IMAGE">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_IMAGE.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content type value is VIDEO for find method with filter VIDEO" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_VIDEO">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_VIDEO.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content find method performs successCallback when all optional arguments are null" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_nullableArgs">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_nullableArgs.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if VideoContent cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="VideoContent_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ImageContent cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ImageContent_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ImageContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentDirectoryArraySuccessCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectoryArraySuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectoryArraySuccessCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentDirectoryArraySuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentScanSuccessCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentScanSuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentScanSuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManager_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if content object can have new properties added" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManager_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if update method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_missarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_update_missarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if update throws exception when content is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_content_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_update_content_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_missarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_missarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when contents is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_contents_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_contents_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getDirectories method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_missarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_missarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getDirectories throws exception when success callback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getDirectories throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getDirectories throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getDirectories throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_missarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_missarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_scanFile_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile throws exception when success callback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_addChangeListener_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>TBD</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentArraySuccessCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentArraySuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentArraySuccessCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentArraySuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentDirectory cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectory_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentDirectory" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentChangeCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentChangeCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContentLyrics_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContentLyrics" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContent_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addChangeListener method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>TBD</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addChangeListener throws exception when changeCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_changeCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_changeCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>TBD</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addChangeListener throws exception when changeCallback is invalid listener" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_changeCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_changeCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>TBD</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removeChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_removeChangeListener_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removeChangeListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removeChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>TBD</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ImageContent can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ImageContent_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ImageContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ImageContent have geolocation attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_geolocation_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_geolocation_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ImageContent" element_type="attribute" element_name="geolocation" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ImageContent have width attribute with proper type, and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_width_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_width_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ImageContent" element_type="attribute" element_name="width" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ImageContent have height attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_height_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_height_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ImageContent" element_type="attribute" element_name="height" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ImageContent have orientation attribute with proper type is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_orientation_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_orientation_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ImageContent" element_type="attribute" element_name="orientation" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentDirectoryArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectoryArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectoryArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentDirectoryArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentScanSuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentScanSuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentScanSuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have editableAttributes attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_editableAttributes_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_editableAttributes_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="editableAttributes" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have id attribute with proper type, and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_id_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_id_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="id" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have name attribute with proper type is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_name_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_name_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="name" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have type attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_type_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="type" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have mimeType attribute with proper mimeType, and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_mimeType_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_mimeType_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="mimeType" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have title attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_title_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_title_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="title" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have contentURI attribute with proper contentURI and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_contentURI_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_contentURI_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="contentURI" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have thumbnailURIs attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_thumbnailURIs_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_thumbnailURIs_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="thumbnailURIs" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have releaseDate attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_releaseDate_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_releaseDate_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="releaseDate" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have modifiedDate attribute with proper type and is readolny" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_modifiedDate_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_modifiedDate_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="modifiedDate" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have size attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_size_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_size_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="size" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have description attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_description_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_description_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="description" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Content have rating attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_rating_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_rating_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="rating" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find called with optional errorCallback is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find called with optional directoryId is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_directoryId">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_directoryId.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find called with optional filter is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_filter">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_filter.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find called with optional sortMode is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_sortMode">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_sortMode.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find called with optional count is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_count">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_count.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--<testcase purpose="Check if find called with optional offset is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_offset">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_offset.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>-->
- <testcase purpose="Check if getDirectories called with optional errorCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getDirectories_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find throws exception when filter is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_filter_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_filter_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find throws exception when sortMode is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_sortMode_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_sortMode_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if find throws exception when sortMode is a simple object" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_sortMode_invalid_obj">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_sortMode_invalid_obj.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile methods works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile called with optional errorCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile called with optional successCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile_with_successCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_with_successCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removeChangeListener method called with non-optional arguments does what it should" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removeChangeListener">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removeChangeListener.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removeChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>TBD</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if VideoContent can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="VideoContent_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if VideoContent have geolocation attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_geolocation_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_geolocation_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoContent" element_type="attribute" element_name="geolocation" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if VideoContent have height attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_height_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_height_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoContent" element_type="attribute" element_name="height" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if VideoContent have width attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_width_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_width_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoContent" element_type="attribute" element_name="width" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if VideoContent have duration attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_duration_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_duration_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoContent" element_type="attribute" element_name="duration" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if VideoContent have album attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_album_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_album_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoContent" element_type="attribute" element_name="album" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if VideoContent have artists attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_artists_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_artists_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoContent" element_type="attribute" element_name="artists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentadded is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentadded">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentadded.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentadded" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentremoved is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentremoved">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentremoved.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentremoved" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentupdated is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentupdated">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentupdated.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentupdated" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch called with optional errorCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch called with optional successCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_successCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_with_successCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent have album attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_album_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_album_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" element_type="attribute" element_name="album" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent have artists attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_artists_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_artists_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" element_type="attribute" element_name="artists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent have bitrate attribute with proper type, readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_bitrate_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_bitrate_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" element_type="attribute" element_name="bitrate" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent have duration attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_duration_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_duration_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" element_type="attribute" element_name="duration" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContent_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent have trackNumber attribute with proper type, readonly, nullable" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_trackNumber_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_trackNumber_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" element_type="attribute" element_name="trackNumber" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent have genres attribute with proper type, readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_genres_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_genres_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" element_type="attribute" element_name="genres" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent have composers attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_composers_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_composers_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" element_type="attribute" element_name="composers" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent have copyright attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_copyright_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_copyright_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" element_type="attribute" element_name="copyright" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContent have lyrics attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_lyrics_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_lyrics_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContent" element_type="attribute" element_name="lyrics" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContentLyrics_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContentLyrics" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics have type attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_type_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_type_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContentLyrics" element_type="attribute" element_name="type" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics have timestamps attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_timestamps_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_timestamps_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContentLyrics" element_type="attribute" element_name="timestamps" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics have texts attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_texts_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_texts_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AudioContentLyrics" element_type="attribute" element_name="texts" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentDirectory can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectory_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentDirectory" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentDirectory have id attribute with proper type, and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_id_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_id_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentDirectory" element_type="attribute" element_name="id" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentDirectory have directoryURI attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_directoryURI_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_directoryURI_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentDirectory" element_type="attribute" element_name="directoryURI" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentDirectory have title attribute with proper type, readonly, not null" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_title_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_title_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentDirectory" element_type="attribute" element_name="title" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentDirectory have modifiedDate attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_modifiedDate_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_modifiedDate_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentDirectory" element_type="attribute" element_name="modifiedDate" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_addChangeListener">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>TBD</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if updateBatch called without callback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_without_callback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_without_callback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManagerObject cannot be called in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManagerObject_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManagerObject_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManagerObject" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--<testcase purpose="Check if find method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_count_attribute_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_count_attribute_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check exception in error callback of find method" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_invoked.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>-->
- <testcase purpose="Check if find throws exception when filter is a simple object" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_filter_attribute_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_filter_attribute_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--<testcase purpose="Check if find method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_offset_attribute_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_offset_attribute_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanFile called with invalid contentURI throws exception" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_contentURI_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_contentURI_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>-->
- <testcase purpose="Check contentURI in ContentScanSuccessCallback onsuccess" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentScanSuccessCallback_onsuccess_contentURI">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_onsuccess_contentURI.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentScanSuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentremoved is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentremoved_id_type">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentremoved_id_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentremoved" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if content exists in tizen" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_in_tizen">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_in_tizen.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createPlaylist exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_createPlaylist_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager createPlaylist method without optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createPlaylist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createPlaylist method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager createPlaylist method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_invoked.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--<testcase purpose="Check if ContentManager createPlaylist method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createPlaylist_with_sourcePlaylist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_with_sourcePlaylist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>-->
- <testcase purpose="Check if createPlaylist method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_noarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when sourcePlaylist is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_sourcePlaylist_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_sourcePlaylist_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager getPlaylists method without optional error callback works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getPlaylists">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getPlaylists exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_getPlaylists_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getPlaylists method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager getPlaylists method with optional error callback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getPlaylists throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getPlaylists throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getPlaylists throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getPlaylists throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removePlaylist exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_removePlaylist_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager removePlaylist method without optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removePlaylist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--<testcase purpose="Check if removePlaylist method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>-->
- <testcase purpose="Check if ContentManager removePlaylist method with optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removePlaylist_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removePlaylist throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removePlaylist throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removePlaylist throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when successCallback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface Playlist can have new properties" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Playlist_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface Playlist exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Playlist_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist have id attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_id_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_id_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="attribute" element_name="id" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist have name attribute with proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_name_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_name_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="attribute" element_name="name" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist have numberOfTracks attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_numberOfTracks_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_numberOfTracks_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="attribute" element_name="numberOfTracks" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist have thumbnailURI attribute with proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_thumbnailURI_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_thumbnailURI_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="attribute" element_name="thumbnailURI" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if add exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_add_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="add" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist add method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_add">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="add" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if add method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_add_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="add" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if add throws exception when content is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_add_item_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_item_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="add" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addBatch exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_addBatch_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_addBatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addBatch method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addBatch throws exception when content is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_items_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_items_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_addBatch_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if get exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_get_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_get">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if get method called with missing non-optional argument throws an exception" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_get_with_offset">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_with_offset.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_invoked.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if setOrder exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_setOrder_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist setOrder method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_setOrder">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if setOrder method called with missing non-optional argument throws an exception" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_noarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist setOrder method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_setOrder_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when items is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_items_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_items_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager setOrder method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_invoked.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist move method works properly without optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_move">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if move exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_move_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if move method called with missing non-optional argument throws an exception" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_noarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--<testcase purpose="Check if Playlist move method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_move_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>-->
- <testcase purpose="Check if Playlist move method throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist move method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist move method throws exception when item is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_item_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_item_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist move method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist move method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--<testcase purpose="Check if Playlist move method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_invoked.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>-->
- <testcase purpose="Check if remove exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_remove_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="remove" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist remove method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_remove">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="remove" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if remove throws exception when item is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_remove_item_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_item_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="remove" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if remove method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_remove_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_noarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="remove" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removeBatch exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_removeBatch_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--<testcase purpose="Check if Playlist removeBatch method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_removeBatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>-->
- <testcase purpose="Check if Playlist removeBatch method throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist removeBatch method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removeBatch throws exception when content is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_items_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_items_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removeBatch method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_noarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist removeBatch method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist removeBatch method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Playlist removeBatch method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_removeBatch_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface PlaylistArraySuccessCallback exists,it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistArraySuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistArraySuccessCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="PlaylistArraySuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if PlaylistArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="PlaylistArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface PlaylistItemArraySuccessCallback exists,it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItemArraySuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItemArraySuccessCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="PlaylistItemArraySuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if PlaylistItemArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistItemArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItemArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="PlaylistItemArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface PlaylistSuccessCallback exists,it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistSuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistSuccessCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="PlaylistSuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if PlaylistSuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistSuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistSuccessCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="PlaylistSuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface PlaylistItem exists,it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItem_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="PlaylistItem" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface PlaylistItem can have new properties" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItem_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="PlaylistItem" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--<testcase purpose="Check if interface PlaylistItem have content attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistItem_content_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_content_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="PlaylistItem" element_type="attribute" element_name="content" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>-->
- <testcase purpose="Check if Content have isFavorite attribute with proper type and is writeable and not nullable" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_isFavorite_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_isFavorite_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Content" element_type="attribute" element_name="isFavorite" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentdiradded is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdiradded">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdiradded.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentdiradded" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentdirremoved is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdirremoved">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdirremoved.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentdirremoved" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentdirupdated is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdirupdated">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdirupdated.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentdirupdated" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if cancelScanDirectory methods works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_cancelScanDirectory">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="cancelScanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if cancelScanDirectory called with invalid contentURI throws exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_cancelScanDirectory_contentURI_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory_contentURI_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="cancelScanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if cancelScanDirectory method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_cancelScanDirectory_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="cancelScanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanDirectory methods works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanDirectory">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanDirectory called with invalid contentURI throws exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_contentURI_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_contentURI_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanDirectory throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanDirectory throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanDirectory method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_scanDirectory_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanDirectory method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanDirectory throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanDirectory throws exception when success callback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if scanDirectory called with optional errorCallback works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanDirectory_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager createThumbnail method without optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createThumbnail">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createThumbnail method called with invalid content argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_content_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_content_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createThumbnail throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createThumbnail throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <!--testcase purpose="Check if ContentManager createThumbnail method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_invoked.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase-->
- <testcase purpose="Check if createThumbnail exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_createThumbnail_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createThumbnail method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createThumbnail throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if createThumbnail throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ContentManager createThumbnail method with optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createThumbnail_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ThumbnailSuccessCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ThumbnailSuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ThumbnailSuccessCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ThumbnailSuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if ThumbnailSuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ThumbnailSuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ThumbnailSuccessCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ThumbnailSuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
- </suite>
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>\r
+<test_definition>\r
+ <suite name="tct-content-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">\r
+ <set name="Content">\r
+ <testcase purpose="Check if content attribute exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManagerObject_content_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManagerObject_content_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_getDirectories_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_find_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager find method with optional error callback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager getDirectories method with only non-optional arguments is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getDirectories">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content type value is AUDIO for find method with filter AUDIO" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_AUDIO">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_AUDIO.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content type value is IMAGE for find method with filter IMAGE" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_IMAGE">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_IMAGE.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content type value is VIDEO for find method with filter VIDEO" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_VIDEO">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_VIDEO.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content find method performs successCallback when all optional arguments are null" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_nullableArgs">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_nullableArgs.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if VideoContent cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="VideoContent_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="VideoContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ImageContent_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ImageContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectoryArraySuccessCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectoryArraySuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectoryArraySuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentDirectoryArraySuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentScanSuccessCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentScanSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentScanSuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManager_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if content object can have new properties added" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManager_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_missarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_missarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories throws exception when success callback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_missarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_missarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_scanFile_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile throws exception when success callback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_addChangeListener_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>TBD</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentArraySuccessCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentArraySuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentArraySuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentArraySuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectory_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentDirectory" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentChangeCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentChangeCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContentLyrics_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContentLyrics" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContent_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>TBD</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener throws exception when changeCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_changeCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_changeCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>TBD</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener throws exception when changeCallback is invalid listener" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_changeCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_changeCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>TBD</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if removeChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_removeChangeListener_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removeChangeListener_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removeChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>TBD</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ImageContent_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ImageContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent have width attribute with proper type, and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_width_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_width_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ImageContent" element_type="attribute" element_name="width" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent have height attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_height_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_height_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ImageContent" element_type="attribute" element_name="height" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent have orientation attribute with proper type is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_orientation_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_orientation_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ImageContent" element_type="attribute" element_name="orientation" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectoryArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectoryArraySuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectoryArraySuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentDirectoryArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentScanSuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentScanSuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentScanSuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have id attribute with proper type, and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_id_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_id_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" element_type="attribute" element_name="id" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have name attribute with proper type is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_name_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_name_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" element_type="attribute" element_name="name" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have type attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_type_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" element_type="attribute" element_name="type" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have mimeType attribute with proper mimeType, and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_mimeType_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_mimeType_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" element_type="attribute" element_name="mimeType" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have title attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_title_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_title_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" element_type="attribute" element_name="title" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have contentURI attribute with proper contentURI and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_contentURI_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_contentURI_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" element_type="attribute" element_name="contentURI" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have thumbnailURIs attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_thumbnailURIs_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_thumbnailURIs_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" element_type="attribute" element_name="thumbnailURIs" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have modifiedDate attribute with proper type and is readolny" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_modifiedDate_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_modifiedDate_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" element_type="attribute" element_name="modifiedDate" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have size attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_size_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_size_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" element_type="attribute" element_name="size" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional errorCallback is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional directoryId is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_directoryId">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_directoryId.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional filter is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_filter">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_filter.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional sortMode is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_sortMode">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_sortMode.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional count is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_count">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_count.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--<testcase purpose="Check if find called with optional offset is properly invoked" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_offset">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_offset.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>-->\r
+ <testcase purpose="Check if getDirectories called with optional errorCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getDirectories_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getDirectories" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when filter is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_filter_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_filter_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when sortMode is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_sortMode_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_sortMode_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when sortMode is a simple object" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_sortMode_invalid_obj">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_sortMode_invalid_obj.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentArraySuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentArraySuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile methods works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile called with optional errorCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile called with optional successCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile_with_successCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_with_successCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if removeChangeListener method called with non-optional arguments does what it should" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removeChangeListener">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removeChangeListener.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removeChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>TBD</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if VideoContent can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="VideoContent_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="VideoContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentadded is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentadded">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentadded.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentadded" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentremoved is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentremoved">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentremoved.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentremoved" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentupdated is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentupdated">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentupdated.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentupdated" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have album attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_album_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_album_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="album" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have artists attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_artists_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_artists_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="artists" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContent_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContent" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have trackNumber attribute with proper type, readonly, nullable" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_trackNumber_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_trackNumber_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="trackNumber" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have genres attribute with proper type, readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_genres_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_genres_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="genres" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have lyrics attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_lyrics_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_lyrics_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="lyrics" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContentLyrics_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContentLyrics" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics have type attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_type_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_type_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContentLyrics" element_type="attribute" element_name="type" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics have timestamps attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_timestamps_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_timestamps_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContentLyrics" element_type="attribute" element_name="timestamps" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics have texts attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_texts_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_texts_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AudioContentLyrics" element_type="attribute" element_name="texts" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory can have new properties added" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectory_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentDirectory" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory have id attribute with proper type, and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_id_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_id_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentDirectory" element_type="attribute" element_name="id" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory have directoryURI attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_directoryURI_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_directoryURI_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentDirectory" element_type="attribute" element_name="directoryURI" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory have title attribute with proper type, readonly, not null" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_title_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_title_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentDirectory" element_type="attribute" element_name="title" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory have modifiedDate attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_modifiedDate_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_modifiedDate_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentDirectory" element_type="attribute" element_name="modifiedDate" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_addChangeListener">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="addChangeListener" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>TBD</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManagerObject cannot be called in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManagerObject_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManagerObject_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManagerObject" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--<testcase purpose="Check if find method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_count_attribute_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_count_attribute_invalid.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check exception in error callback of find method" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>-->\r
+ <testcase purpose="Check if find throws exception when filter is a simple object" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_filter_attribute_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_filter_attribute_invalid.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--<testcase purpose="Check if find method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_offset_attribute_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_offset_attribute_invalid.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="find" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile called with invalid contentURI throws exception" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_contentURI_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_contentURI_invalid.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanFile" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>-->\r
+ <testcase purpose="Check contentURI in ContentScanSuccessCallback onsuccess" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentScanSuccessCallback_onsuccess_contentURI">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_onsuccess_contentURI.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentScanSuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentremoved is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentremoved_id_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentremoved_id_type.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentremoved" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if content exists in tizen" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_in_tizen">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_in_tizen.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Content" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_createPlaylist_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager createPlaylist method without optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createPlaylist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager createPlaylist method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--<testcase purpose="Check if ContentManager createPlaylist method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createPlaylist_with_sourcePlaylist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_with_sourcePlaylist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>-->\r
+ <testcase purpose="Check if createPlaylist method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_noarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when sourcePlaylist is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_sourcePlaylist_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_sourcePlaylist_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createPlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager getPlaylists method without optional error callback works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getPlaylists">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_getPlaylists_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager getPlaylists method with optional error callback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="getPlaylists" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if removePlaylist exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_removePlaylist_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager removePlaylist method without optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removePlaylist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--<testcase purpose="Check if removePlaylist method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>-->\r
+ <testcase purpose="Check if ContentManager removePlaylist method with optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removePlaylist_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if removePlaylist throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if removePlaylist throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if removePlaylist throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when successCallback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="removePlaylist" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface Playlist can have new properties" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Playlist_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface Playlist exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Playlist_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist have id attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_id_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_id_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="attribute" element_name="id" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist have name attribute with proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_name_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_name_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="attribute" element_name="name" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist have numberOfTracks attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_numberOfTracks_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_numberOfTracks_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="attribute" element_name="numberOfTracks" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist have thumbnailURI attribute with proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_thumbnailURI_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_thumbnailURI_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="attribute" element_name="thumbnailURI" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if add exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_add_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="add" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist add method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_add">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="add" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if add method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_add_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="add" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if add throws exception when content is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_add_item_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_item_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="add" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if addBatch exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_addBatch_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_addBatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if addBatch method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if addBatch throws exception when content is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_items_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_items_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_addBatch_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="addBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if get exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_get_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_get">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if get method called with missing non-optional argument throws an exception" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_get_with_offset">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_with_offset.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="get" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if setOrder exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_setOrder_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist setOrder method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_setOrder">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if setOrder method called with missing non-optional argument throws an exception" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_noarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist setOrder method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_setOrder_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when items is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_items_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_items_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager setOrder method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="setOrder" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method works properly without optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_move">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if move exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_move_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if move method called with missing non-optional argument throws an exception" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_noarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--<testcase purpose="Check if Playlist move method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_move_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>-->\r
+ <testcase purpose="Check if Playlist move method throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method throws exception when item is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_item_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_item_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--<testcase purpose="Check if Playlist move method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="move" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>-->\r
+ <testcase purpose="Check if remove exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_remove_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="remove" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist remove method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_remove">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="remove" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if remove throws exception when item is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_remove_item_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_item_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="remove" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if remove method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_remove_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_noarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="remove" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if removeBatch exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_removeBatch_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--<testcase purpose="Check if Playlist removeBatch method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_removeBatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>-->\r
+ <testcase purpose="Check if Playlist removeBatch method throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist removeBatch method throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if removeBatch throws exception when content is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_items_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_items_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if removeBatch method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_noarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist removeBatch method throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist removeBatch method throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist removeBatch method works properly with all optional arguments" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_removeBatch_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="Playlist" element_type="method" element_name="removeBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistArraySuccessCallback exists,it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistArraySuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistArraySuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="PlaylistArraySuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if PlaylistArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistArraySuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistArraySuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="PlaylistArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistItemArraySuccessCallback exists,it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItemArraySuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItemArraySuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="PlaylistItemArraySuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if PlaylistItemArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistItemArraySuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItemArraySuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="PlaylistItemArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistSuccessCallback exists,it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="PlaylistSuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if PlaylistSuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistSuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="PlaylistSuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistItem exists,it should not" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItem_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="PlaylistItem" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistItem can have new properties" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItem_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="PlaylistItem" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--<testcase purpose="Check if interface PlaylistItem have content attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistItem_content_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_content_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="PlaylistItem" element_type="attribute" element_name="content" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>-->\r
+ <testcase purpose="Check if ContentChangeCallback oncontentdiradded is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdiradded">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdiradded.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentdiradded" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentdirremoved is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdirremoved">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdirremoved.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentdirremoved" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentdirupdated is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdirupdated">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdirupdated.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentChangeCallback" element_type="method" element_name="oncontentdirupdated" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if cancelScanDirectory methods works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_cancelScanDirectory">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="cancelScanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if cancelScanDirectory called with invalid contentURI throws exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_cancelScanDirectory_contentURI_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory_contentURI_invalid.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="cancelScanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if cancelScanDirectory method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_cancelScanDirectory_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="cancelScanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory methods works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanDirectory">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory called with invalid contentURI throws exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_contentURI_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_contentURI_invalid.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory method exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_scanDirectory_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory throws exception when success callback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory called with optional errorCallback works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanDirectory_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="scanDirectory" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager createThumbnail method without optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createThumbnail">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail method called with invalid content argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_content_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_content_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <!--testcase purpose="Check if ContentManager createThumbnail method with invalid arguments would invoke errorCallback" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase-->\r
+ <testcase purpose="Check if createThumbnail exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_createThumbnail_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createThumbnail_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager createThumbnail method with optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createThumbnail_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ContentManager" element_type="method" element_name="createThumbnail" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ThumbnailSuccessCallback cannot be called in new expression and as a function or in new expression" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ThumbnailSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ThumbnailSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ThumbnailSuccessCallback" usage="true" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if ThumbnailSuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ThumbnailSuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ThumbnailSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="ThumbnailSuccessCallback" element_type="method" element_name="onsuccess" specification="Content" section="Content" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ </set>\r
+ </suite>\r
</test_definition>
\ No newline at end of file
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
-<test_definition>
- <suite name="tct-content-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
- <set name="Content">
- <testcase purpose="Check if content attribute exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManagerObject_content_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManagerObject_content_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_updateBatch_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if update exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_update_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_update_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getDirectories method exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_getDirectories_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_find_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager find method with optional error callback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager getDirectories method with only non-optional arguments is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getDirectories">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if update() method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_update">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_update.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch() method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content type value is AUDIO for find method with filter AUDIO" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_AUDIO">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_AUDIO.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content type value is IMAGE for find method with filter IMAGE" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_IMAGE">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_IMAGE.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content type value is VIDEO for find method with filter VIDEO" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_VIDEO">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_VIDEO.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content find method performs successCallback when all optional arguments are null" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_nullableArgs">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_nullableArgs.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if VideoContent cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="VideoContent_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ImageContent cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ImageContent_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentDirectoryArraySuccessCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectoryArraySuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectoryArraySuccessCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentScanSuccessCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentScanSuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManager_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if content object can have new properties added" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManager_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if update method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_missarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_update_missarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if update throws exception when content is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_content_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_update_content_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_missarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_missarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when contents is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_contents_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_contents_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getDirectories method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_missarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_missarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getDirectories throws exception when success callback is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getDirectories throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getDirectories throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getDirectories throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_missarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_missarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanFile method exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_scanFile_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanFile throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanFile throws exception when success callback is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanFile throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanFile throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if addChangeListener exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_addChangeListener_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentArraySuccessCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentArraySuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentArraySuccessCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentDirectory cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectory_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentChangeCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContentLyrics_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContent_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if addChangeListener method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if addChangeListener throws exception when changeCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_changeCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_changeCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if addChangeListener throws exception when changeCallback is invalid listener" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_changeCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_changeCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if removeChangeListener exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_removeChangeListener_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removeChangeListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ImageContent can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ImageContent_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ImageContent have geolocation attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_geolocation_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_geolocation_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ImageContent have width attribute with proper type, and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_width_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_width_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ImageContent have height attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_height_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_height_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ImageContent have orientation attribute with proper type is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_orientation_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_orientation_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentDirectoryArraySuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectoryArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectoryArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentScanSuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentScanSuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have editableAttributes attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_editableAttributes_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_editableAttributes_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have id attribute with proper type, and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_id_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_id_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have name attribute with proper type is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_name_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_name_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have type attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_type_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have mimeType attribute with proper mimeType, and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_mimeType_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_mimeType_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have title attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_title_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_title_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have contentURI attribute with proper contentURI and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_contentURI_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_contentURI_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have thumbnailURIs attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_thumbnailURIs_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_thumbnailURIs_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have releaseDate attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_releaseDate_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_releaseDate_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have modifiedDate attribute with proper type and is readolny" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_modifiedDate_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_modifiedDate_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have size attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_size_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_size_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have description attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_description_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_description_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Content have rating attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_rating_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_rating_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find called with optional errorCallback is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find called with optional directoryId is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_directoryId">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_directoryId.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find called with optional filter is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_filter">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_filter.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find called with optional sortMode is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_sortMode">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_sortMode.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find called with optional count is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_count">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_count.html</test_script_entry>
- </description>
- </testcase>
- <!-- <testcase purpose="Check if find called with optional offset is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_offset">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_offset.html</test_script_entry>
- </description>
- </testcase> -->
- <testcase purpose="Check if getDirectories called with optional errorCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getDirectories_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find throws exception when filter is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_filter_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_filter_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find throws exception when sortMode is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_sortMode_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_sortMode_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if find throws exception when sortMode is a simple object" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_sortMode_invalid_obj">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_sortMode_invalid_obj.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentArraySuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanFile methods works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanFile called with optional errorCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanFile called with optional successCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile_with_successCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_with_successCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if removeChangeListener method called with non-optional arguments does what it should" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removeChangeListener">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removeChangeListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if VideoContent can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="VideoContent_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if VideoContent have geolocation attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_geolocation_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_geolocation_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if VideoContent have height attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_height_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_height_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if VideoContent have width attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_width_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_width_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if VideoContent have duration attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_duration_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_duration_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if VideoContent have album attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_album_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_album_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if VideoContent have artists attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_artists_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_artists_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentadded is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentadded">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentadded.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentremoved is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentremoved">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentremoved.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentupdated is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentupdated">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentupdated.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch called with optional errorCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch called with optional successCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_successCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_with_successCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent have album attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_album_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_album_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent have artists attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_artists_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_artists_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent have bitrate attribute with proper type, readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_bitrate_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_bitrate_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent have duration attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_duration_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_duration_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContent_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent have trackNumber attribute with proper type, readonly, nullable" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_trackNumber_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_trackNumber_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent have genres attribute with proper type, readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_genres_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_genres_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent have composers attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_composers_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_composers_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent have copyright attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_copyright_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_copyright_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContent have lyrics attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_lyrics_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_lyrics_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContentLyrics_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics have type attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_type_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_type_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics have timestamps attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_timestamps_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_timestamps_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if AudioContentLyrics have texts attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_texts_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_texts_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentDirectory can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectory_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentDirectory have id attribute with proper type, and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_id_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_id_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentDirectory have directoryURI attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_directoryURI_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_directoryURI_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentDirectory have title attribute with proper type, readonly, not null" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_title_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_title_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentDirectory have modifiedDate attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_modifiedDate_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_modifiedDate_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if addChangeListener method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_addChangeListener">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if updateBatch called without callback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_without_callback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_updateBatch_without_callback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManagerObject cannot be called in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManagerObject_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManagerObject_notexist.html</test_script_entry>
- </description>
- </testcase>
-<!-- <testcase purpose="Check if find throws exception when count is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_count_attribute_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_count_attribute_invalid.html</test_script_entry>
- </description>
- </testcase> -->
-<!-- <testcase purpose="Check exception in error callback of find method" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_invoked.html</test_script_entry>
- </description>
- </testcase> -->
- <testcase purpose="Check if find throws exception when filter is a simple object" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_filter_attribute_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_filter_attribute_invalid.html</test_script_entry>
- </description>
- </testcase>
-<!-- <testcase purpose="Check if find method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_offset_attribute_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_offset_attribute_invalid.html</test_script_entry>
- </description>
- </testcase> -->
-<!-- <testcase purpose="Check if scanFile method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_misarg.html</test_script_entry>
- </description>
- </testcase> -->
-<!-- <testcase purpose="Check if scanFile called with invalid contentURI throws exception" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_contentURI_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_contentURI_invalid.html</test_script_entry>
- </description>
- </testcase> -->
- <testcase purpose="Check contentURI in ContentScanSuccessCallback onsuccess" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentScanSuccessCallback_onsuccess_contentURI">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_onsuccess_contentURI.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentremoved is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentremoved_id_type">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentremoved_id_type.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if content exists in tizen." component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_in_tizen">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_in_tizen.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createPlaylist exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_createPlaylist_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager createPlaylist method without optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createPlaylist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createPlaylist method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager createPlaylist method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_invoked.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
-<!-- <testcase purpose="Check if ContentManager createPlaylist method with all optional arguments works properly" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createPlaylist_with_sourcePlaylist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_with_sourcePlaylist.html</test_script_entry>
- </description>
- </testcase> -->
- <testcase purpose="Check if createPlaylist method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_noarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when sourcePlaylist is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_sourcePlaylist_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_sourcePlaylist_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager getPlaylists method without optional error callback works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getPlaylists">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getPlaylists exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_getPlaylists_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getPlaylists method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager getPlaylists method with optional error callback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getPlaylists throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getPlaylists throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getPlaylists throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if getPlaylists throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if removePlaylist exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_removePlaylist_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager removePlaylist method without optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removePlaylist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist.html</test_script_entry>
- </description>
- </testcase>
- <!-- <testcase purpose="Check if removePlaylist method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_misarg.html</test_script_entry>
- </description>
- </testcase> -->
- <testcase purpose="Check if ContentManager removePlaylist method with optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removePlaylist_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if removePlaylist throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if removePlaylist throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if removePlaylist throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createPlaylist throws exception when successCallback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface Playlist can have new properties" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Playlist_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface Playlist exists, it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Playlist_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist have id attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_id_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_id_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist have name attribute with proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_name_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_name_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist have numberOfTracks attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_numberOfTracks_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_numberOfTracks_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist have thumbnailURI attribute with proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_thumbnailURI_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_thumbnailURI_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if add exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_add_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist add method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_add">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if add method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_add_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if add throws exception when content is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_add_item_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_item_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if addBatch exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_addBatch_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_addBatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if addBatch method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if addBatch throws exception when content is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_items_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_items_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_addBatch_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist addBatch method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if get exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_get_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_get">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if get method called with missing non-optional argument throws an exception" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_get_with_offset">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_with_offset.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_invoked.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if setOrder exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_setOrder_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist setOrder method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_setOrder">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if setOrder method called with missing non-optional argument throws an exception" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_noarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist setOrder method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_setOrder_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when items is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_items_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_items_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist get method throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager setOrder method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_invoked.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist move method works properly without optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_move">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if move exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_move_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if move method called with missing non-optional argument throws an exception" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_noarg.html</test_script_entry>
- </description>
- </testcase>
- <!-- <testcase purpose="Check if Playlist move method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_move_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_with_errorCallback.html</test_script_entry>
- </description>
- </testcase> -->
- <testcase purpose="Check if Playlist move method throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist move method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist move method throws exception when item is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_item_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_item_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist move method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist move method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
-<!-- <testcase purpose="Check if Playlist move method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_invoked.html</test_script_entry>
- </description>
- </testcase> -->
- <testcase purpose="Check if remove exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_remove_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist remove method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_remove">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if remove throws exception when item is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_remove_item_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_item_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if remove method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_remove_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_noarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if removeBatch exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_removeBatch_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_exist.html</test_script_entry>
- </description>
- </testcase>
-<!-- <testcase purpose="Check if Playlist removeBatch method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_removeBatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch.html</test_script_entry>
- </description>
- </testcase> -->
- <testcase purpose="Check if Playlist removeBatch method throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist removeBatch method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if removeBatch throws exception when content is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_items_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_items_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if removeBatch method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_noarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_noarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist removeBatch method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist removeBatch method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if Playlist removeBatch method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_removeBatch_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface PlaylistArraySuccessCallback exists,it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistArraySuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistArraySuccessCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if PlaylistArraySuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface PlaylistItemArraySuccessCallback exists,it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItemArraySuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItemArraySuccessCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if PlaylistItemArraySuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistItemArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItemArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface PlaylistSuccessCallback exists,it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistSuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistSuccessCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if PlaylistSuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistSuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistSuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface PlaylistItem exists,it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItem_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface PlaylistItem can have new properties" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItem_extend">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_extend.html</test_script_entry>
- </description>
- </testcase>
-<!-- <testcase purpose="Check if interface PlaylistItem have content attribute with proper type and is readonly" onload_delay="90" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistItem_content_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_content_attribute.html</test_script_entry>
- </description>
- </testcase> -->
- <testcase purpose="Check if Content have isFavorite attribute with proper type and is writeable and not nullable" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_isFavorite_attribute">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/Content_isFavorite_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentdiradded is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdiradded">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdiradded.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentdirremoved is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdirremoved">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdirremoved.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentChangeCallback oncontentdirupdated is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdirupdated">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdirupdated.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if cancelScanDirectory methods works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_cancelScanDirectory">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if cancelScanDirectory called with invalid contentURI throws exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_cancelScanDirectory_contentURI_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory_contentURI_invalid.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if cancelScanDirectory method exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_cancelScanDirectory_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanDirectory methods works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanDirectory">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanDirectory called with invalid contentURI throws exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_contentURI_invalid">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_contentURI_invalid.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanDirectory throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanDirectory throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanDirectory method exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_scanDirectory_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanDirectory method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanDirectory throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanDirectory throws exception when success callback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if scanDirectory called with optional errorCallback works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanDirectory_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
-<testcase purpose="Check if ContentManager createThumbnail method without optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createThumbnail method called with invalid content argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_content_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_content_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createThumbnail throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createThumbnail throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <!-- <testcase purpose="Check if ContentManager createThumbnail method with invalid arguments would invoke errorCallback" onload_delay="60" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_errorCallback_invoked">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_invoked.html</test_script_entry>
- </description>
- </testcase> no cases to occur error-->
- <testcase purpose="Check if createThumbnail exists" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_exist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createThumbnail method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_misarg">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createThumbnail throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if createThumbnail throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ContentManager createThumbnail method with optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ThumbnailSuccessCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ThumbnailSuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ThumbnailSuccessCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ThumbnailSuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ThumbnailSuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-content-tizen-tests/content/ThumbnailSuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- </set>
- </suite>
-</test_definition>
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>\r
+<test_definition>\r
+ <suite name="tct-content-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">\r
+ <set name="Content">\r
+ <testcase purpose="Check if content attribute exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManagerObject_content_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManagerObject_content_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories method exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_getDirectories_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_find_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager find method with optional error callback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager getDirectories method with only non-optional arguments is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getDirectories">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content type value is AUDIO for find method with filter AUDIO" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_AUDIO">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_AUDIO.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content type value is IMAGE for find method with filter IMAGE" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_IMAGE">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_IMAGE.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content type value is VIDEO for find method with filter VIDEO" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_type_VIDEO">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_VIDEO.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content find method performs successCallback when all optional arguments are null" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_nullableArgs">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_nullableArgs.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if VideoContent cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="VideoContent_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ImageContent_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectoryArraySuccessCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectoryArraySuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectoryArraySuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentScanSuccessCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentScanSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManager_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if content object can have new properties added" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManager_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_missarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_missarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories throws exception when success callback is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getDirectories throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getDirectories_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_missarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_missarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile method exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_scanFile_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile throws exception when success callback is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_addChangeListener_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentArraySuccessCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentArraySuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentArraySuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectory_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentChangeCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContentLyrics_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContent_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener throws exception when changeCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_changeCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_changeCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener throws exception when changeCallback is invalid listener" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_addChangeListener_changeCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener_changeCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if removeChangeListener exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_removeChangeListener_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removeChangeListener_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ImageContent_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent have width attribute with proper type, and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_width_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_width_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent have height attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_height_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_height_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ImageContent have orientation attribute with proper type is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_orientation_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ImageContent_orientation_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectoryArraySuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectoryArraySuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectoryArraySuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentScanSuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentScanSuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have id attribute with proper type, and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_id_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_id_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have name attribute with proper type is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_name_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_name_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have type attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_type_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_type_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have mimeType attribute with proper mimeType, and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_mimeType_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_mimeType_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have title attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_title_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_title_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have contentURI attribute with proper contentURI and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_contentURI_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_contentURI_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have thumbnailURIs attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_thumbnailURIs_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_thumbnailURIs_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have modifiedDate attribute with proper type and is readolny" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_modifiedDate_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_modifiedDate_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Content have size attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_size_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_size_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional errorCallback is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional directoryId is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_directoryId">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_directoryId.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional filter is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_filter">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_filter.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional sortMode is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_sortMode">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_sortMode.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find called with optional count is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_count">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_count.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <!-- <testcase purpose="Check if find called with optional offset is properly invoked" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_find_with_offset">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_with_offset.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+ <testcase purpose="Check if getDirectories called with optional errorCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getDirectories_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getDirectories_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when filter is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_filter_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_filter_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when sortMode is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_sortMode_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_sortMode_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if find throws exception when sortMode is a simple object" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_sortMode_invalid_obj">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_sortMode_invalid_obj.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentArraySuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentArraySuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentArraySuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile methods works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile called with optional errorCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanFile called with optional successCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanFile_with_successCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_with_successCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if removeChangeListener method called with non-optional arguments does what it should" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removeChangeListener">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removeChangeListener.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if VideoContent can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="VideoContent_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/VideoContent_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentadded is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentadded">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentadded.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentremoved is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentremoved">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentremoved.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentupdated is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentupdated">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentupdated.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have album attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_album_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_album_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have artists attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_artists_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_artists_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContent_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have trackNumber attribute with proper type, readonly, nullable" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_trackNumber_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_trackNumber_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have genres attribute with proper type, readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_genres_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_genres_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContent have lyrics attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_lyrics_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContent_lyrics_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="AudioContentLyrics_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics have type attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_type_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_type_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics have timestamps attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_timestamps_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_timestamps_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if AudioContentLyrics have texts attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContentLyrics_texts_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/AudioContentLyrics_texts_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory can have new properties added" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentDirectory_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory have id attribute with proper type, and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_id_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_id_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory have directoryURI attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_directoryURI_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_directoryURI_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory have title attribute with proper type, readonly, not null" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_title_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_title_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentDirectory have modifiedDate attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_modifiedDate_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentDirectory_modifiedDate_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if addChangeListener method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_addChangeListener">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_addChangeListener.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManagerObject cannot be called in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="ContentManagerObject_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManagerObject_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+<!-- <testcase purpose="Check if find throws exception when count is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_count_attribute_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_count_attribute_invalid.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+<!-- <testcase purpose="Check exception in error callback of find method" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+ <testcase purpose="Check if find throws exception when filter is a simple object" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_filter_attribute_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_filter_attribute_invalid.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+<!-- <testcase purpose="Check if find method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_find_offset_attribute_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_find_offset_attribute_invalid.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+<!-- <testcase purpose="Check if scanFile method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+<!-- <testcase purpose="Check if scanFile called with invalid contentURI throws exception" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanFile_contentURI_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanFile_contentURI_invalid.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+ <testcase purpose="Check contentURI in ContentScanSuccessCallback onsuccess" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentScanSuccessCallback_onsuccess_contentURI">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentScanSuccessCallback_onsuccess_contentURI.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentremoved is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentremoved_id_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentremoved_id_type.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if content exists in tizen." component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Content_in_tizen">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Content_in_tizen.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_createPlaylist_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager createPlaylist method without optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createPlaylist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager createPlaylist method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+<!-- <testcase purpose="Check if ContentManager createPlaylist method with all optional arguments works properly" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_createPlaylist_with_sourcePlaylist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_with_sourcePlaylist.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+ <testcase purpose="Check if createPlaylist method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_noarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when sourcePlaylist is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_createPlaylist_sourcePlaylist_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createPlaylist_sourcePlaylist_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager getPlaylists method without optional error callback works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_getPlaylists">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_getPlaylists_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager getPlaylists method with optional error callback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getPlaylists throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_getPlaylists_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_getPlaylists_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if removePlaylist exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_removePlaylist_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager removePlaylist method without optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removePlaylist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <!-- <testcase purpose="Check if removePlaylist method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+ <testcase purpose="Check if ContentManager removePlaylist method with optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_removePlaylist_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if removePlaylist throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if removePlaylist throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if removePlaylist throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createPlaylist throws exception when successCallback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_removePlaylist_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_removePlaylist_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface Playlist can have new properties" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Playlist_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface Playlist exists, it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="Playlist_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist have id attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_id_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_id_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist have name attribute with proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_name_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_name_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist have numberOfTracks attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_numberOfTracks_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_numberOfTracks_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist have thumbnailURI attribute with proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_thumbnailURI_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_thumbnailURI_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if add exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_add_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist add method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_add">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if add method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_add_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if add throws exception when content is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_add_item_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_add_item_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if addBatch exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_addBatch_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_addBatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if addBatch method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if addBatch throws exception when content is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_items_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_items_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_addBatch_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist addBatch method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_addBatch_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_addBatch_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if get exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_get_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_get">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if get method called with missing non-optional argument throws an exception" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_get_with_offset">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_with_offset.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_get_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_get_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if setOrder exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_setOrder_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist setOrder method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_setOrder">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if setOrder method called with missing non-optional argument throws an exception" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_noarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist setOrder method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_setOrder_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when items is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_items_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_items_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist get method throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager setOrder method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_setOrder_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_setOrder_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method works properly without optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_move">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if move exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_move_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if move method called with missing non-optional argument throws an exception" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_noarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <!-- <testcase purpose="Check if Playlist move method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_move_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+ <testcase purpose="Check if Playlist move method throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method throws exception when item is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_item_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_item_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist move method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+<!-- <testcase purpose="Check if Playlist move method with invalid arguments would invoke errorCallback" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_move_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_move_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+ <testcase purpose="Check if remove exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_remove_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist remove method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_remove">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if remove throws exception when item is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_remove_item_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_item_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if remove method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_remove_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_remove_noarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if removeBatch exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="Playlist_removeBatch_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+<!-- <testcase purpose="Check if Playlist removeBatch method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_removeBatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch.html</test_script_entry>\r
+ </description>\r
+ </testcase> -->\r
+ <testcase purpose="Check if Playlist removeBatch method throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist removeBatch method throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if removeBatch throws exception when content is incorrect" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_items_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_items_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if removeBatch method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_noarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_noarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist removeBatch method throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist removeBatch method throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="Playlist_removeBatch_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if Playlist removeBatch method works properly with all optional arguments" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Playlist_removeBatch_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/Playlist_removeBatch_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistArraySuccessCallback exists,it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistArraySuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistArraySuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if PlaylistArraySuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistArraySuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistArraySuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistItemArraySuccessCallback exists,it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItemArraySuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItemArraySuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if PlaylistItemArraySuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistItemArraySuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItemArraySuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistSuccessCallback exists,it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if PlaylistSuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="PlaylistSuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistItem exists,it should not" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItem_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface PlaylistItem can have new properties" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P3" id="PlaylistItem_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/PlaylistItem_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentdiradded is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdiradded">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdiradded.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentdirremoved is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdirremoved">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdirremoved.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentChangeCallback oncontentdirupdated is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentChangeCallback_oncontentdirupdated">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentChangeCallback_oncontentdirupdated.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if cancelScanDirectory methods works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_cancelScanDirectory">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if cancelScanDirectory called with invalid contentURI throws exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_cancelScanDirectory_contentURI_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory_contentURI_invalid.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if cancelScanDirectory method exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_cancelScanDirectory_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_cancelScanDirectory_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory methods works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanDirectory">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory called with invalid contentURI throws exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_contentURI_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_contentURI_invalid.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory method exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_scanDirectory_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory throws exception when success callback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_scanDirectory_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if scanDirectory called with optional errorCallback works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_scanDirectory_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_scanDirectory_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+<testcase purpose="Check if ContentManager createThumbnail method without optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail method called with invalid content argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_content_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_content_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <!-- <testcase purpose="Check if ContentManager createThumbnail method with invalid arguments would invoke errorCallback" onload_delay="60" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_errorCallback_invoked">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_errorCallback_invoked.html</test_script_entry>\r
+ </description>\r
+ </testcase> no cases to occur error-->\r
+ <testcase purpose="Check if createThumbnail exists" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if createThumbnail throws exception when successCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ContentManager createThumbnail method with optional arguments works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ContentManager_createThumbnail_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ContentManager_createThumbnail_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ThumbnailSuccessCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ThumbnailSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ThumbnailSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if ThumbnailSuccessCallback onsuccess is called and if its arguments have proper type" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" id="ThumbnailSuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-content-tizen-tests/content/ThumbnailSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ </set>\r
+ </suite>\r
+</test_definition>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_bitrate_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: AudioContent_bitrate_attribute\r
+//==== LABEL Check if AudioContent have bitrate attribute with proper type, readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:bitrate A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ check_readonly(contents[i], "bitrate", contents[i].bitrate, "unsigned long",\r
+ contents[i].bitrate + 1);\r
+ }\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_composers_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: AudioContent_composers_attribute\r
+//==== LABEL Check if AudioContent have composers attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:composers A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, i, beforeValues, composerExist = false;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "composers",\r
+ "AudioContent does not own composers property.");\r
+\r
+ if (contents[i].composers) {\r
+ assert_type(contents[i].composers, "array", "composers should be an array");\r
+ assert_type(contents[i].composers[0], "string",\r
+ "composers items should be a string");\r
+\r
+ beforeValues = contents[i].composers;\r
+ if (contents[i].composers[0] === "newComposer") {\r
+ contents[i].composers = ["anotherNewComposer"];\r
+ } else {\r
+ contents[i].composers = ["newComposer"];\r
+ }\r
+ assert_equals(contents[i].composers.length, beforeValues.length, "composers is not readonly");\r
+ assert_array_equals(contents[i].composers, beforeValues, "composers is not readonly");\r
+ composerExist = true;\r
+ } else {\r
+ assert_type(contents[i].composers, null,\r
+ "AudioContent.composers should be null.");\r
+ }\r
+ }\r
+ assert_true(composerExist, "Did not found attribute composers of AudioContent set to array.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_copyright_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: AudioContent_copyright_attribute\r
+//==== LABEL Check if AudioContent have copyright attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:copyright A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for (i = 0; i < contents.length; i++) {\r
+ content = contents[i];\r
+ if (TEST_CONTENT_AUDIOS.includes(content.name)) {\r
+ check_readonly(content, "copyright", content.copyright, "string", "MyRights");\r
+ break;\r
+ }\r
+ }\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_duration_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: AudioContent_duration_attribute\r
+//==== LABEL Check if AudioContent have duration attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:duration A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "duration", content.duration, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2012 Intel Corporation.\r
+\r
+Redistribution and use in source and binary forms, with or without modification,\r
+are permitted provided that the following conditions are met:\r
+\r
+* Redistributions of works must retain the original copyright notice, this list\r
+ of conditions and the following disclaimer.\r
+* Redistributions in binary form must reproduce the original copyright notice,\r
+ this list of conditions and the following disclaimer in the documentation\r
+ and/or other materials provided with the distribution.\r
+* Neither the name of Intel Corporation nor the names of its contributors\r
+ may be used to endorse or promote products derived from this work without\r
+ specific prior written permission.\r
+\r
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"\r
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,\r
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\r
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+\r
+Authors:\r
+ Guan, JingX <jingx.guan@intel.com>\r
+ Jakub Siewierski <j.siewierski@samsung.com>\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_update</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_update\r
+//==== LABEL Check if update() method works properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:update M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MAST MMINA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ expected, updated = null, returnedValue = null,\r
+ successCallback, errorCallback, onSuccess, onError, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_equals(contents.length, 1, "updated media item should be found.");\r
+ assert_equals(contents[0].isFavorite, expected, "isFavorite should be updated.");\r
+ assert_equals(returnedValue, undefined,\r
+ "update should return undefined.");\r
+ t.done();\r
+ });\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("find has an error: " + error.name + " with message: " + error.message);\r
+ });\r
+\r
+ successCallback = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0 , "Media item should be found.");\r
+ for (i = 0; i < contents.length; i++) {\r
+ if (contents[i].editableAttributes.indexOf("isFavorite") >= 0) {\r
+ updated = contents[i];\r
+ break;\r
+ }\r
+ }\r
+ assert_not_equals(updated, null, "File with editable 'isFavorite' attribute not found");\r
+\r
+ expected = !updated.isFavorite;\r
+ updated.isFavorite = expected;\r
+ returnedValue = tizen.content.update(updated);\r
+ tizen.content.find(onSuccess, onError, null, new tizen.AttributeFilter("id", "EXACTLY", updated.id));\r
+ });\r
+ errorCallback = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ tizen.content.find(successCallback, errorCallback, null);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2012 Intel Corporation.\r
+\r
+Redistribution and use in source and binary forms, with or without modification,\r
+are permitted provided that the following conditions are met:\r
+\r
+* Redistributions of works must retain the original copyright notice, this list\r
+ of conditions and the following disclaimer.\r
+* Redistributions in binary form must reproduce the original copyright notice,\r
+ this list of conditions and the following disclaimer in the documentation\r
+ and/or other materials provided with the distribution.\r
+* Neither the name of Intel Corporation nor the names of its contributors\r
+ may be used to endorse or promote products derived from this work without\r
+ specific prior written permission.\r
+\r
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"\r
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,\r
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\r
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+\r
+Authors:\r
+ Guan, JingX <jingx.guan@intel.com>\r
+ Jakub Siewierski <j.siewierski@samsung.com>\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch\r
+//==== LABEL Check if updateBatch() method works properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MAST MOA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}), updated = [], expected = {}, i, returnedValue = null,\r
+ findAfterEditSuccess, findAfterEditError, updateError, findSuccess, findError,\r
+ filter;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ findAfterEditSuccess = t.step_func(function (contents) {\r
+ assert_equals(returnedValue, undefined,\r
+ "updateBatch should return undefined.");\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_equals(contents.length, 2, "Media items after edit not found");\r
+ assert_equals(contents[0].isFavorite, expected[contents[0].id], "isFavorite should be changed");\r
+ assert_equals(contents[1].isFavorite, expected[contents[1].id], "isFavorite should be changed");\r
+ t.done();\r
+ });\r
+\r
+ findAfterEditError = t.step_func(function (error) {\r
+ assert_unreached("find() (after updateBatch()) error callback was invoked: " +\r
+ error.name + " msg: " + error.message);\r
+ });\r
+\r
+ updateError = t.step_func(function (error) {\r
+ assert_unreached("updateBatch() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ findSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 1, "Media item should be found.");\r
+ for (i = 0; i < contents.length; i++) {\r
+ if (contents[i].editableAttributes.indexOf("isFavorite") >= 0) {\r
+ updated.push(contents[i]);\r
+ }\r
+ }\r
+ assert_greater_than(contents.length, 1,\r
+ "At least two media items with editable 'isFavorite' attribute are needed");\r
+\r
+ updated[0].isFavorite = !updated[0].isFavorite;\r
+ expected[updated[0].id] = updated[0].isFavorite;\r
+\r
+ updated[1].isFavorite = !updated[1].isFavorite;\r
+ expected[updated[1].id] = updated[1].isFavorite;\r
+\r
+ returnedValue = tizen.content.updateBatch(updated, function () {\r
+ filter = new tizen.CompositeFilter("UNION", [\r
+ new tizen.AttributeFilter("id", "EXACTLY", updated[0].id),\r
+ new tizen.AttributeFilter("id", "EXACTLY", updated[1].id)\r
+ ]);\r
+\r
+ tizen.content.find(findAfterEditSuccess, findAfterEditError, null, filter);\r
+ }, updateError);\r
+ });\r
+\r
+ findError = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ tizen.content.find(findSuccess, findError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_contents_TypeMismatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_contents_TypeMismatch\r
+//==== LABEL Check if updateBatch throws exception when contents is incorrect\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MC\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ exceptionName = "TypeMismatchError", conversionTable, i, contents;\r
+\r
+t.step(function () {\r
+ conversionTable = getTypeConversionExceptions("array", false);\r
+\r
+ for(i = 0; i < conversionTable.length; i++) {\r
+ contents = conversionTable[i][0];\r
+ exceptionName = conversionTable[i][1];\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.update(contents);\r
+ }, "Given incorrect contents.");\r
+ }\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_errorCallback_TypeMismatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_errorCallback_TypeMismatch\r
+//==== LABEL Check if updateBatch throws exception when errorCallback is incorrect\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MC\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ conversionTable, successCallback, errorCallback, exceptionName, i;\r
+\r
+t.step(function () {\r
+ successCallback = t.step_func(function () {\r
+ assert_unreached("updateBatch() success callback should not be invoked.");\r
+ });\r
+\r
+ conversionTable = getTypeConversionExceptions("functionObject", true);\r
+ for(i = 0; i < conversionTable.length; i++) {\r
+ errorCallback = conversionTable[i][0];\r
+ exceptionName = conversionTable[i][1];\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.updateBatch([], successCallback, errorCallback);\r
+ }, "Given incorrect errorCallback.");\r
+ }\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_errorCallback_invalid_cb</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_errorCallback_invalid_cb\r
+//==== LABEL Check if updateBatch throws exception when errorCallback is invalid\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MTCB\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ exceptionName = "TypeMismatchError", successCallback, incorrectCallback;\r
+\r
+t.step(function () {\r
+\r
+ incorrectCallback = {\r
+ onerror: t.step_func(function (error) {\r
+ assert_unreached("Invalid errorCallback invoked:" + error.name + " msg: " + error.message);\r
+ })\r
+ };\r
+\r
+ successCallback = t.step_func(function () {\r
+ assert_unreached("updateBatch() success callback should not be invoked.");\r
+ });\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.updateBatch([], successCallback, incorrectCallback);\r
+ }, "Given incorrect errorCallback.");\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2012 Intel Corporation.\r
+\r
+Redistribution and use in source and binary forms, with or without modification, \r
+are permitted provided that the following conditions are met:\r
+\r
+* Redistributions of works must retain the original copyright notice, this list \r
+ of conditions and the following disclaimer.\r
+* Redistributions in binary form must reproduce the original copyright notice, \r
+ this list of conditions and the following disclaimer in the documentation \r
+ and/or other materials provided with the distribution.\r
+* Neither the name of Intel Corporation nor the names of its contributors \r
+ may be used to endorse or promote products derived from this work without \r
+ specific prior written permission.\r
+\r
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" \r
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE \r
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, \r
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, \r
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, \r
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY \r
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING \r
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, \r
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \r
+\r
+Authors:\r
+ Guan, JingX <jingx.guan@intel.com>\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_exist</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_exist\r
+//==== LABEL Check if updateBatch exists\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P0\r
+//==== TEST_CRITERIA ME\r
+test(function () {\r
+ assert_true("updateBatch" in tizen.content, "ContentManager should have updateBatch method");\r
+ check_method_exists(tizen.content, "updateBatch");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_missarg</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_missarg\r
+//==== LABEL Check if updateBatch method called with missing non-optional argument throws an exception\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P2\r
+//==== TEST_CRITERIA MMA\r
+test(function () {\r
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {\r
+ tizen.content.updateBatch();\r
+ }, "UpdateBatch was invoked without non-optional argumenents");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_successCallback_TypeMismatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_successCallback_TypeMismatch\r
+//==== LABEL Check if updateBatch throws exception when successCallback is incorrect\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MC\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ conversionTable, successCallback, exceptionName, i;\r
+\r
+t.step(function () {\r
+ conversionTable = getTypeConversionExceptions("functionObject", true);\r
+\r
+ for(i = 0; i < conversionTable.length; i++) {\r
+ successCallback = conversionTable[i][0];\r
+ exceptionName = conversionTable[i][1];\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.updateBatch([], successCallback);\r
+ }, "Given incorrect successCallback.");\r
+ }\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_successCallback_invalid_cb</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_successCallback_invalid_cb\r
+//==== LABEL Check if updateBatch throws exception when success callback is invalid\r
+//==== PRIORITY: P2\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MTCB\r
+test(function () {\r
+ var exceptionName = "TypeMismatchError", incorrectCallback;\r
+\r
+ incorrectCallback = {\r
+ onsuccess: function (items) {\r
+ assert_unreached("Invalid successCallback invoked.");\r
+ }\r
+ };\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.updateBatch([], incorrectCallback);\r
+ }, "Given invalid successCallback.");\r
+\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_with_errorCallback</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_with_errorCallback\r
+//==== LABEL Check if updateBatch called with optional errorCallback is invoked properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MOA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ findSuccess, findError, updateBatchSuccess, updateBatchError, content,\r
+ returnedValue = null;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+\r
+ updateBatchSuccess = t.step_func(function (directoryURI) {\r
+ assert_equals(returnedValue, undefined,\r
+ "updateBatch should return undefined.");\r
+ t.done();\r
+ });\r
+ updateBatchError = t.step_func(function (error) {\r
+ assert_unreached("updateBatch errorCallback called: " + error.name + " with message: " + error.message);\r
+ });\r
+\r
+ findSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "Media item should be found.");\r
+\r
+ content = contents[0];\r
+ content.isFavorite = !content.isFavorite;\r
+\r
+ returnedValue = tizen.content.updateBatch([content], updateBatchSuccess, updateBatchError);\r
+ });\r
+ findError = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ tizen.content.find(findSuccess, findError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_with_successCallback</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_with_successCallback\r
+//==== LABEL Check if updateBatch called with optional successCallback is invoked properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MOA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ findSuccess, findError, updateBatchSuccess, content, returnedValue = null, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+\r
+ updateBatchSuccess = t.step_func(function (directoryURI) {\r
+ assert_equals(returnedValue, undefined,\r
+ "updateBatch should return undefined.");\r
+ t.done();\r
+ });\r
+\r
+ findSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "Media item should be found.");\r
+\r
+ for (i = 0; i < contents.length; i++) {\r
+ content = contents[i];\r
+ if (content.editableAttributes.indexOf("isFavorite") >= 0) {\r
+ content.isFavorite = !content.isFavorite;\r
+ }\r
+ }\r
+\r
+ returnedValue = tizen.content.updateBatch([content], updateBatchSuccess);\r
+ });\r
+ findError = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ tizen.content.find(findSuccess, findError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Tomasz Kusmierz <t.kusmierz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_without_callback</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_without_callback\r
+//==== LABEL Check if updateBatch called without callback is invoked properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MMINA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ findSuccess, findError, content, returnedValue = null;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ findError = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ findSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "Media item should be found.");\r
+\r
+ content = contents[0];\r
+ if (content.editableAttributes.indexOf("isFavorite") >= 0) {\r
+ content.isFavorite = !content.isFavorite;\r
+ }\r
+\r
+ returnedValue = tizen.content.updateBatch([content]);\r
+ assert_equals(returnedValue, undefined,\r
+ "updateBatch should return undefined.");\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(findSuccess, findError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_update_content_TypeMismatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_update_content_TypeMismatch\r
+//==== LABEL Check if update throws exception when content is incorrect\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:update M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MC\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ exceptionName = "TypeMismatchError", conversionTable, i, content;\r
+\r
+t.step(function () {\r
+ conversionTable = getTypeConversionExceptions("object", false);\r
+\r
+ for(i = 0; i < conversionTable.length; i++) {\r
+ content = conversionTable[i][0];\r
+ exceptionName = conversionTable[i][1];\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.update(content);\r
+ }, "update() invoked with incorrect content.");\r
+ }\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2012 Intel Corporation.\r
+\r
+Redistribution and use in source and binary forms, with or without modification, \r
+are permitted provided that the following conditions are met:\r
+\r
+* Redistributions of works must retain the original copyright notice, this list \r
+ of conditions and the following disclaimer.\r
+* Redistributions in binary form must reproduce the original copyright notice, \r
+ this list of conditions and the following disclaimer in the documentation \r
+ and/or other materials provided with the distribution.\r
+* Neither the name of Intel Corporation nor the names of its contributors \r
+ may be used to endorse or promote products derived from this work without \r
+ specific prior written permission.\r
+\r
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" \r
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE \r
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, \r
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, \r
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, \r
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY \r
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING \r
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, \r
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \r
+\r
+Authors:\r
+ Guan, JingX <jingx.guan@intel.com>\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_update_exist</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_update_exist\r
+//==== LABEL Check if update exists\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:update M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P0\r
+//==== TEST_CRITERIA ME\r
+test(function () {\r
+ assert_true("update" in tizen.content, "ContentManager should have update method");\r
+ check_method_exists(tizen.content, "update");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_update_missarg</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_update_missarg\r
+//==== LABEL Check if update method called with missing non-optional argument throws an exception\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:update M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P2\r
+//==== TEST_CRITERIA MMA\r
+test(function () {\r
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {\r
+ tizen.content.update();\r
+ }, "update() invoked without non-optional arguments.");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>Content_description_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: Content_description_attribute\r
+//==== LABEL Check if Content have description attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:description A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ if(content.description !== null) {\r
+ check_readonly(content, "description", content.description, "string", "dummy");\r
+ }\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>Content_editableAttributes_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: Content_editableAttributes_attribute\r
+//==== LABEL Check if Content have editableAttributes attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:editableAttributes A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, beforeValues, i, editableExist = false;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "editableAttributes",\r
+ "Content does not own editableAttributes property.");\r
+\r
+ if (contents[i].editableAttributes) {\r
+ assert_type(contents[i].editableAttributes, "array",\r
+ "Content.editableAttributes should be an array");\r
+ assert_type(contents[i].editableAttributes[0], "string",\r
+ "Content.editableAttributes should be a string.");\r
+\r
+ beforeValues = contents[i].editableAttributes;\r
+ contents[i].editableAttributes = ["anotherNeweditableAttributes"];\r
+ assert_equals(contents[i].editableAttributes.length, beforeValues.length,\r
+ "Content.editableAttributes should be readonly");\r
+ assert_array_equals(contents[i].editableAttributes, beforeValues,\r
+ "Content.editableAttributes should be readonly");\r
+ editableExist = true;\r
+ }\r
+ }\r
+ assert_true(editableExist, "There is no content having editable attributes.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2014 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Author:\r
+ Wei Zhang <wei625.zhang@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>Content_isFavorite_attribute</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: Content_isFavorite_attribute\r
+//==== LABEL Check if Content have isFavorite attribute with proper type and is writeable and not nullable\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:isFavorite A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ASG AN\r
+\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}), onSuccess, onError, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ if (content.isFavorite !== null) {\r
+ check_attribute(content, "isFavorite", content.isFavorite, "boolean", !content.isFavorite);\r
+ content.isFavorite = null;\r
+ assert_not_equals(content.isFavorite, null, "Content.isFavorite should not accept null as value.");\r
+ }\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>Content_rating_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: Content_rating_attribute\r
+//==== LABEL Check if Content have rating attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:rating A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, i, newValue = 3;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ if(contents[i].rating === newValue ) {\r
+ newValue++;\r
+ }\r
+ check_readonly(contents[i], "rating", contents[i].rating, "unsigned long", newValue);\r
+ }\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>Content_releaseDate_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: Content_releaseDate_attribute\r
+//==== LABEL Check if Content have releaseDate attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:releaseDate A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, i, beforeValue, releaseDateExist = false;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "releaseDate",\r
+ "Content does not own releaseDate property.");\r
+\r
+ if(contents[i].releaseDate !== null) {\r
+ assert_type(contents[i].releaseDate, "date", "releaseDate should be a date");\r
+ beforeValue = contents[i].releaseDate;\r
+ contents[i].releaseDate = new Date();\r
+ assert_equals(contents[i].releaseDate.getTime(), beforeValue.getTime(),\r
+ "Content.releaseDate should be readonly.");\r
+ releaseDateExist = true;\r
+ } else {\r
+ assert_type(contents[i].releaseDate, null,\r
+ "Attribute releaseDate in Content should be null.");\r
+ }\r
+ }\r
+ assert_true(releaseDateExist, "Did not found attribute releaseDate of AudioContent set to Date.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ImageContent_geolocation_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ImageContent_geolocation_attribute\r
+//==== LABEL Check if ImageContent have geolocation attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ImageContent:geolocation A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, geolocation, i, geolocationExist = false;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "IMAGE");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "geolocation",\r
+ "Content does not own geolocation property.");\r
+\r
+ geolocation = new tizen.SimpleCoordinates(5, 5);\r
+ if (contents[i].geolocation !== null) {\r
+ assert_true(contents[i].geolocation instanceof tizen.SimpleCoordinates,\r
+ "ImageContent.geolocation should be an instance of SimpleCoordinates");\r
+ if (contents[i].geolocation.latitude === 5) {\r
+ geolocation.latitude = 6;\r
+ }\r
+ if (contents[i].geolocation.longitude === 5) {\r
+ geolocation.longitude = 6;\r
+ }\r
+ geolocationExist = true;\r
+ }\r
+ contents[i].geolocation = geolocation;\r
+\r
+ assert_not_equals(contents[i].geolocation.latitude, geolocation.latitude,\r
+ "Value of ImageContent.geolocation.latitude should not be updated.");\r
+ assert_not_equals(contents[i].geolocation.longitude, geolocation.longitude,\r
+ "Value of ImageContent.geolocation.latitude should not be updated.");\r
+ }\r
+ assert_true(geolocationExist, "Image with geolocation doesn't exist.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_album_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_album_attribute\r
+//==== LABEL Check if VideoContent have album attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:album A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ if(content.album !== null) {\r
+ check_readonly(content, "album", content.album, "string", "MyAlbum");\r
+ }\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_artists_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_artists_attribute\r
+//==== LABEL Check if VideoContent have artists attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:artists A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}), onSuccess, onError, beforeValues, i, artistExist = false,\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+setup_contents(t, t.step_func(function () {\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "artists",\r
+ "VideoContent does not own artists property.");\r
+ if (contents[i].artists) {\r
+ assert_type(contents[i].artists, "array", "artists should be an array");\r
+ assert_type(contents[i].artists[0], "string", "artists item should be a string");\r
+\r
+ beforeValues = contents[i].artists;\r
+ if (contents[i].artists[0] === "newArtist") {\r
+ contents[i].artists = ["anotherNewArtist"];\r
+ } else {\r
+ contents[i].artists = ["newArtist"];\r
+ }\r
+ assert_equals(contents[i].artists.length, beforeValues.length, "artists is not readonly");\r
+ assert_array_equals(contents[i].artists, beforeValues, "artists is not readonly");\r
+ artistExist = true;\r
+\r
+ } else {\r
+ assert_type(contents[i].artists, null,\r
+ "VideoContent.artists should be null.");\r
+ }\r
+ }\r
+ assert_true(artistExist, "Did not found attribute artists of VideoContent set to array.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_duration_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_duration_attribute\r
+//==== LABEL Check if VideoContent have duration attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:duration A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "duration", content.duration, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_geolocation_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_geolocation_attribute\r
+//==== LABEL Check if VideoContent have geolocation attribute with proper type and is writeable\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:geolocation A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ASG\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, geolocation, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "geolocation",\r
+ "VideoContent does not own geolocation property.");\r
+\r
+ geolocation = new tizen.SimpleCoordinates(5, 5);\r
+ if (contents[i].geolocation !== null) {\r
+ assert_true(contents[i].geolocation instanceof tizen.SimpleCoordinates,\r
+ "VideoContent.geolocation should be an instance of SimpleCoordinates");\r
+ if (contents[i].geolocation.latitude === 5) {\r
+ geolocation.latitude = 6;\r
+ }\r
+ if (contents[i].geolocation.longitude === 5) {\r
+ geolocation.longitude = 6;\r
+ }\r
+ }\r
+ contents[i].geolocation = geolocation;\r
+\r
+ assert_not_equals(contents[i].geolocation.latitude, geolocation.latitude,\r
+ "Value of VideoContent.geolocation.latitude should not be updated.");\r
+ assert_not_equals(contents[i].geolocation.longitude, geolocation.longitude,\r
+ "Value of VideoContent.geolocation.longitude should not be updated.");\r
+ }\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_height_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_height_attribute\r
+//==== LABEL Check if VideoContent have height attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:height A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "height", content.height, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_width_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_width_attribute\r
+//==== LABEL Check if VideoContent have width attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:width A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "width", content.width, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
import sys
import subprocess
import string
+import logging
+import Queue
from optparse import OptionParser, make_option
import configparser
+from shellmanager import ShellManager
+time.sleep(3)
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
PKG_NAME = os.path.basename(SCRIPT_DIR)
GLOVAL_OPT="--global"
else:
GLOVAL_OPT=""
+
+def getInternalStorage():
+ global INTERNAL_STORAGE
+ try:
+ shell_mgr = ShellManager()
+ shell_mgr.open_shellpipe(PARAMETERS.device.strip())
+ shell_mgr.write_cmd('export `tzplatform-get --user ' +PARAMETERS.user+' TZ_USER_CONTENT`', '', None)
+ INTERNAL_STORAGE=shell_mgr.write_cmd('echo $TZ_USER_CONTENT','', None)
+ INTERNAL_STORAGE=str(INTERNAL_STORAGE[len(INTERNAL_STORAGE)-1])
+ print (str(INTERNAL_STORAGE))
+ except Exception as ex:
+ print (ex)
+ finally:
+ shell_mgr.close_shellpipe()
+
+def askpolicyremoving():
+ for root, dirs, files in os.walk(SCRIPT_DIR):
+ for file in files:
+ if file.endswith(".wgt"):
+ pkg_id = getPKGID(os.path.basename(os.path.splitext(file)[0]))
+ print (pkg_id)
+ print (os.getcwd())
+ print (os.path.dirname(os.path.realpath(__file__)) )
+ if not doRemoteCopy("%s/askpolicy.sh" % SCRIPT_DIR, "%s" % (SRC_DIR)):
+ action_status = False
+ if PARAMETERS.mode == "SDB":
+ cmd = "sdb -s %s shell .%s/askpolicy.sh %s" % (PARAMETERS.device,
+ SRC_DIR, pkg_id)
+ return doCMD(cmd)
+
+def recordInternalStorage():
+ try:
+ f = open("/opt/tools/TCT_CONFIG", "a")
+ f.write("DEVICE_INTERNAL_STORAGE="+INTERNAL_STORAGE)
+ f.write("\n")
+ f.close()
+ if PARAMETERS.mode == "SDB":
+ cmd = "sdb -s %s push /opt/tools/TCT_CONFIG /opt/usr/home/owner/share/TCT_CONFIG" % (
+ PARAMETERS.device)
+ return doCMD(cmd)
+ except Exception as ex:
+ print (ex)
+ else:
+ print ("aaaaaaaaaaaaaaa")
def doCMD(cmd):
# Do not need handle timeout in this short script, let tool do it
if "pkgcmd" in cmd:
cmd = "su - %s -c '%s;%s'" % (PARAMETERS.user, XW_ENV, cmd)
return cmd
+
def getUSERID():
if PARAMETERS.mode == "SDB":
cmd = "sdb -s %s shell id -u %s" % (
if return_code != 0:
action_status = False
+ (return_code, output) = doRemoteCMD("rm -rf %s/%s" % (SRC_DIR, PKG_NAME))
+ if return_code != 0:
+ action_status = False
+ (return_code, output) = doRemoteCMD("rm -rf %s/Downloads/*" % (INTERNAL_STORAGE))
+ if return_code != 0:
+ action_status = False
+
return action_status
if not doRemoteCopy("%s/%s" % (SCRIPT_DIR, item), "%s/%s/%s" % (SRC_DIR, PKG_NAME, item)):
action_status = False
+ print(INTERNAL_STORAGE)
+ if not doRemoteCopy("%s/media" % SCRIPT_DIR, "%s/%s" % (SRC_DIR, PKG_NAME)):
+ action_status = False
+ if not doRemoteCopy("%s/media" % SCRIPT_DIR, "%s/Downloads/" % (INTERNAL_STORAGE)):
+ action_status = False
+ (return_code, output) = doRemoteCMD(
+ "mkdir -p %s/Downloads/%s" %(INTERNAL_STORAGE, PKG_NAME))
+ if return_code != 0:
+ action_status = False
return action_status
userCheck()
+ getInternalStorage()
user_info = getUSERID()
re_code = user_info[0]
if re_code == 0 :
</specs>
</testcase>
</set>
+ <set name="content_iot" type="js">
+ <testcase purpose="Check if updateBatch exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_updateBatch_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if update exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_update_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if update() method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_update">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch() method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if update method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_missarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_missarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if update throws exception when content is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_content_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_content_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_missarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_missarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when contents is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_contents_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_contents_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch called with optional errorCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch called with optional successCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_successCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_with_successCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch called without callback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_without_callback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_without_callback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if AudioContent have bitrate attribute with proper type, readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_bitrate_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_bitrate_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="bitrate" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if AudioContent have composers attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_composers_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_composers_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="composers" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if AudioContent have copyright attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_copyright_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_copyright_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="copyright" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if AudioContent have duration attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_duration_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_duration_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="duration" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have description attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_description_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_description_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="description" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have editableAttributes attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_editableAttributes_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_editableAttributes_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="editableAttributes" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have isFavorite attribute with proper type and is writeable and not nullable" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_isFavorite_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_isFavorite_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="isFavorite" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have rating attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_rating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_rating_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="rating" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have releaseDate attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_releaseDate_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_releaseDate_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="releaseDate" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if ImageContent have geolocation attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_geolocation_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ImageContent_geolocation_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ImageContent" element_type="attribute" element_name="geolocation" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have album attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_album_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_album_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="album" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have artists attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_artists_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_artists_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="artists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have duration attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_duration_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_duration_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="duration" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have width attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_width_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_width_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="width" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have geolocation attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_geolocation_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_geolocation_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="geolocation" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have height attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_height_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_height_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="height" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
</suite>
</test_definition>
</description>
</testcase>
</set>
+ <set name="content_iot" type="js">
+ <testcase purpose="Check if updateBatch exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_updateBatch_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if update exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_update_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if update() method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_update">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch() method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if update method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_missarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_missarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if update throws exception when content is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_content_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_content_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_missarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_missarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when contents is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_contents_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_contents_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch called with optional errorCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch called with optional successCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_successCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_with_successCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch called without callback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_without_callback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_without_callback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if AudioContent have bitrate attribute with proper type, readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_bitrate_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_bitrate_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if AudioContent have composers attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_composers_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_composers_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if AudioContent have copyright attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_copyright_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_copyright_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if AudioContent have duration attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_duration_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_duration_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have description attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_description_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_description_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have editableAttributes attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_editableAttributes_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_editableAttributes_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have isFavorite attribute with proper type and is writeable and not nullable" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_isFavorite_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_isFavorite_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have rating attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_rating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_rating_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have releaseDate attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_releaseDate_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_releaseDate_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if ImageContent have geolocation attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_geolocation_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ImageContent_geolocation_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have album attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_album_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_album_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have artists attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_artists_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_artists_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have duration attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_duration_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_duration_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have geolocation attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_geolocation_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_geolocation_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have height attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_height_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_height_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have width attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_width_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_width_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
</suite>
</test_definition>
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_bitrate_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: AudioContent_bitrate_attribute\r
+//==== LABEL Check if AudioContent have bitrate attribute with proper type, readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:bitrate A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ check_readonly(contents[i], "bitrate", contents[i].bitrate, "unsigned long",\r
+ contents[i].bitrate + 1);\r
+ }\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_composers_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: AudioContent_composers_attribute\r
+//==== LABEL Check if AudioContent have composers attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:composers A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, i, beforeValues, composerExist = false;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "composers",\r
+ "AudioContent does not own composers property.");\r
+\r
+ if (contents[i].composers) {\r
+ assert_type(contents[i].composers, "array", "composers should be an array");\r
+ assert_type(contents[i].composers[0], "string",\r
+ "composers items should be a string");\r
+\r
+ beforeValues = contents[i].composers;\r
+ if (contents[i].composers[0] === "newComposer") {\r
+ contents[i].composers = ["anotherNewComposer"];\r
+ } else {\r
+ contents[i].composers = ["newComposer"];\r
+ }\r
+ assert_equals(contents[i].composers.length, beforeValues.length, "composers is not readonly");\r
+ assert_array_equals(contents[i].composers, beforeValues, "composers is not readonly");\r
+ composerExist = true;\r
+ } else {\r
+ assert_type(contents[i].composers, null,\r
+ "AudioContent.composers should be null.");\r
+ }\r
+ }\r
+ assert_true(composerExist, "Did not found attribute composers of AudioContent set to array.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_copyright_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: AudioContent_copyright_attribute\r
+//==== LABEL Check if AudioContent have copyright attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:copyright A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for (i = 0; i < contents.length; i++) {\r
+ content = contents[i];\r
+ if (TEST_CONTENT_AUDIOS.includes(content.name)) {\r
+ check_readonly(content, "copyright", content.copyright, "string", "MyRights");\r
+ break;\r
+ }\r
+ }\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>AudioContent_duration_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: AudioContent_duration_attribute\r
+//==== LABEL Check if AudioContent have duration attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:AudioContent:duration A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "AUDIO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "duration", content.duration, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2012 Intel Corporation.\r
+\r
+Redistribution and use in source and binary forms, with or without modification,\r
+are permitted provided that the following conditions are met:\r
+\r
+* Redistributions of works must retain the original copyright notice, this list\r
+ of conditions and the following disclaimer.\r
+* Redistributions in binary form must reproduce the original copyright notice,\r
+ this list of conditions and the following disclaimer in the documentation\r
+ and/or other materials provided with the distribution.\r
+* Neither the name of Intel Corporation nor the names of its contributors\r
+ may be used to endorse or promote products derived from this work without\r
+ specific prior written permission.\r
+\r
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"\r
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,\r
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\r
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+\r
+Authors:\r
+ Guan, JingX <jingx.guan@intel.com>\r
+ Jakub Siewierski <j.siewierski@samsung.com>\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_update</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_update\r
+//==== LABEL Check if update() method works properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:update M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MAST MMINA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ expected, updated = null, returnedValue = null,\r
+ successCallback, errorCallback, onSuccess, onError, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_equals(contents.length, 1, "updated media item should be found.");\r
+ assert_equals(contents[0].isFavorite, expected, "isFavorite should be updated.");\r
+ assert_equals(returnedValue, undefined,\r
+ "update should return undefined.");\r
+ t.done();\r
+ });\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("find has an error: " + error.name + " with message: " + error.message);\r
+ });\r
+\r
+ successCallback = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0 , "Media item should be found.");\r
+ for (i = 0; i < contents.length; i++) {\r
+ if (contents[i].editableAttributes.indexOf("isFavorite") >= 0) {\r
+ updated = contents[i];\r
+ break;\r
+ }\r
+ }\r
+ assert_not_equals(updated, null, "File with editable 'isFavorite' attribute not found");\r
+\r
+ expected = !updated.isFavorite;\r
+ updated.isFavorite = expected;\r
+ returnedValue = tizen.content.update(updated);\r
+ tizen.content.find(onSuccess, onError, null, new tizen.AttributeFilter("id", "EXACTLY", updated.id));\r
+ });\r
+ errorCallback = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ tizen.content.find(successCallback, errorCallback, null);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2012 Intel Corporation.\r
+\r
+Redistribution and use in source and binary forms, with or without modification,\r
+are permitted provided that the following conditions are met:\r
+\r
+* Redistributions of works must retain the original copyright notice, this list\r
+ of conditions and the following disclaimer.\r
+* Redistributions in binary form must reproduce the original copyright notice,\r
+ this list of conditions and the following disclaimer in the documentation\r
+ and/or other materials provided with the distribution.\r
+* Neither the name of Intel Corporation nor the names of its contributors\r
+ may be used to endorse or promote products derived from this work without\r
+ specific prior written permission.\r
+\r
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"\r
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,\r
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\r
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+\r
+Authors:\r
+ Guan, JingX <jingx.guan@intel.com>\r
+ Jakub Siewierski <j.siewierski@samsung.com>\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch\r
+//==== LABEL Check if updateBatch() method works properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MAST MOA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}), updated = [], expected = {}, i, returnedValue = null,\r
+ findAfterEditSuccess, findAfterEditError, updateError, findSuccess, findError,\r
+ filter;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ findAfterEditSuccess = t.step_func(function (contents) {\r
+ assert_equals(returnedValue, undefined,\r
+ "updateBatch should return undefined.");\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_equals(contents.length, 2, "Media items after edit not found");\r
+ assert_equals(contents[0].isFavorite, expected[contents[0].id], "isFavorite should be changed");\r
+ assert_equals(contents[1].isFavorite, expected[contents[1].id], "isFavorite should be changed");\r
+ t.done();\r
+ });\r
+\r
+ findAfterEditError = t.step_func(function (error) {\r
+ assert_unreached("find() (after updateBatch()) error callback was invoked: " +\r
+ error.name + " msg: " + error.message);\r
+ });\r
+\r
+ updateError = t.step_func(function (error) {\r
+ assert_unreached("updateBatch() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ findSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 1, "Media item should be found.");\r
+ for (i = 0; i < contents.length; i++) {\r
+ if (contents[i].editableAttributes.indexOf("isFavorite") >= 0) {\r
+ updated.push(contents[i]);\r
+ }\r
+ }\r
+ assert_greater_than(contents.length, 1,\r
+ "At least two media items with editable 'isFavorite' attribute are needed");\r
+\r
+ updated[0].isFavorite = !updated[0].isFavorite;\r
+ expected[updated[0].id] = updated[0].isFavorite;\r
+\r
+ updated[1].isFavorite = !updated[1].isFavorite;\r
+ expected[updated[1].id] = updated[1].isFavorite;\r
+\r
+ returnedValue = tizen.content.updateBatch(updated, function () {\r
+ filter = new tizen.CompositeFilter("UNION", [\r
+ new tizen.AttributeFilter("id", "EXACTLY", updated[0].id),\r
+ new tizen.AttributeFilter("id", "EXACTLY", updated[1].id)\r
+ ]);\r
+\r
+ tizen.content.find(findAfterEditSuccess, findAfterEditError, null, filter);\r
+ }, updateError);\r
+ });\r
+\r
+ findError = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ tizen.content.find(findSuccess, findError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_contents_TypeMismatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_contents_TypeMismatch\r
+//==== LABEL Check if updateBatch throws exception when contents is incorrect\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MC\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ exceptionName = "TypeMismatchError", conversionTable, i, contents;\r
+\r
+t.step(function () {\r
+ conversionTable = getTypeConversionExceptions("array", false);\r
+\r
+ for(i = 0; i < conversionTable.length; i++) {\r
+ contents = conversionTable[i][0];\r
+ exceptionName = conversionTable[i][1];\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.update(contents);\r
+ }, "Given incorrect contents.");\r
+ }\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_errorCallback_TypeMismatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_errorCallback_TypeMismatch\r
+//==== LABEL Check if updateBatch throws exception when errorCallback is incorrect\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MC\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ conversionTable, successCallback, errorCallback, exceptionName, i;\r
+\r
+t.step(function () {\r
+ successCallback = t.step_func(function () {\r
+ assert_unreached("updateBatch() success callback should not be invoked.");\r
+ });\r
+\r
+ conversionTable = getTypeConversionExceptions("functionObject", true);\r
+ for(i = 0; i < conversionTable.length; i++) {\r
+ errorCallback = conversionTable[i][0];\r
+ exceptionName = conversionTable[i][1];\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.updateBatch([], successCallback, errorCallback);\r
+ }, "Given incorrect errorCallback.");\r
+ }\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_errorCallback_invalid_cb</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_errorCallback_invalid_cb\r
+//==== LABEL Check if updateBatch throws exception when errorCallback is invalid\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MTCB\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ exceptionName = "TypeMismatchError", successCallback, incorrectCallback;\r
+\r
+t.step(function () {\r
+\r
+ incorrectCallback = {\r
+ onerror: t.step_func(function (error) {\r
+ assert_unreached("Invalid errorCallback invoked:" + error.name + " msg: " + error.message);\r
+ })\r
+ };\r
+\r
+ successCallback = t.step_func(function () {\r
+ assert_unreached("updateBatch() success callback should not be invoked.");\r
+ });\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.updateBatch([], successCallback, incorrectCallback);\r
+ }, "Given incorrect errorCallback.");\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2012 Intel Corporation.\r
+\r
+Redistribution and use in source and binary forms, with or without modification, \r
+are permitted provided that the following conditions are met:\r
+\r
+* Redistributions of works must retain the original copyright notice, this list \r
+ of conditions and the following disclaimer.\r
+* Redistributions in binary form must reproduce the original copyright notice, \r
+ this list of conditions and the following disclaimer in the documentation \r
+ and/or other materials provided with the distribution.\r
+* Neither the name of Intel Corporation nor the names of its contributors \r
+ may be used to endorse or promote products derived from this work without \r
+ specific prior written permission.\r
+\r
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" \r
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE \r
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, \r
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, \r
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, \r
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY \r
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING \r
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, \r
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \r
+\r
+Authors:\r
+ Guan, JingX <jingx.guan@intel.com>\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_exist</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_exist\r
+//==== LABEL Check if updateBatch exists\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P0\r
+//==== TEST_CRITERIA ME\r
+test(function () {\r
+ assert_true("updateBatch" in tizen.content, "ContentManager should have updateBatch method");\r
+ check_method_exists(tizen.content, "updateBatch");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_missarg</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_missarg\r
+//==== LABEL Check if updateBatch method called with missing non-optional argument throws an exception\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P2\r
+//==== TEST_CRITERIA MMA\r
+test(function () {\r
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {\r
+ tizen.content.updateBatch();\r
+ }, "UpdateBatch was invoked without non-optional argumenents");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_successCallback_TypeMismatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_successCallback_TypeMismatch\r
+//==== LABEL Check if updateBatch throws exception when successCallback is incorrect\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MC\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ conversionTable, successCallback, exceptionName, i;\r
+\r
+t.step(function () {\r
+ conversionTable = getTypeConversionExceptions("functionObject", true);\r
+\r
+ for(i = 0; i < conversionTable.length; i++) {\r
+ successCallback = conversionTable[i][0];\r
+ exceptionName = conversionTable[i][1];\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.updateBatch([], successCallback);\r
+ }, "Given incorrect successCallback.");\r
+ }\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_successCallback_invalid_cb</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_successCallback_invalid_cb\r
+//==== LABEL Check if updateBatch throws exception when success callback is invalid\r
+//==== PRIORITY: P2\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MTCB\r
+test(function () {\r
+ var exceptionName = "TypeMismatchError", incorrectCallback;\r
+\r
+ incorrectCallback = {\r
+ onsuccess: function (items) {\r
+ assert_unreached("Invalid successCallback invoked.");\r
+ }\r
+ };\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.updateBatch([], incorrectCallback);\r
+ }, "Given invalid successCallback.");\r
+\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_with_errorCallback</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_with_errorCallback\r
+//==== LABEL Check if updateBatch called with optional errorCallback is invoked properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MOA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ findSuccess, findError, updateBatchSuccess, updateBatchError, content,\r
+ returnedValue = null;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+\r
+ updateBatchSuccess = t.step_func(function (directoryURI) {\r
+ assert_equals(returnedValue, undefined,\r
+ "updateBatch should return undefined.");\r
+ t.done();\r
+ });\r
+ updateBatchError = t.step_func(function (error) {\r
+ assert_unreached("updateBatch errorCallback called: " + error.name + " with message: " + error.message);\r
+ });\r
+\r
+ findSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "Media item should be found.");\r
+\r
+ content = contents[0];\r
+ content.isFavorite = !content.isFavorite;\r
+\r
+ returnedValue = tizen.content.updateBatch([content], updateBatchSuccess, updateBatchError);\r
+ });\r
+ findError = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ tizen.content.find(findSuccess, findError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_with_successCallback</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_with_successCallback\r
+//==== LABEL Check if updateBatch called with optional successCallback is invoked properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MOA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ findSuccess, findError, updateBatchSuccess, content, returnedValue = null, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+\r
+ updateBatchSuccess = t.step_func(function (directoryURI) {\r
+ assert_equals(returnedValue, undefined,\r
+ "updateBatch should return undefined.");\r
+ t.done();\r
+ });\r
+\r
+ findSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "Media item should be found.");\r
+\r
+ for (i = 0; i < contents.length; i++) {\r
+ content = contents[i];\r
+ if (content.editableAttributes.indexOf("isFavorite") >= 0) {\r
+ content.isFavorite = !content.isFavorite;\r
+ }\r
+ }\r
+\r
+ returnedValue = tizen.content.updateBatch([content], updateBatchSuccess);\r
+ });\r
+ findError = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ tizen.content.find(findSuccess, findError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Tomasz Kusmierz <t.kusmierz@samsung.com>\r
+ Qunfang Lin <qunfang.lin@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_updateBatch_without_callback</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_updateBatch_without_callback\r
+//==== LABEL Check if updateBatch called without callback is invoked properly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ContentManager:updateBatch M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MMINA MR\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ findSuccess, findError, content, returnedValue = null;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ findError = t.step_func(function (error) {\r
+ assert_unreached("find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ findSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "Media item should be found.");\r
+\r
+ content = contents[0];\r
+ if (content.editableAttributes.indexOf("isFavorite") >= 0) {\r
+ content.isFavorite = !content.isFavorite;\r
+ }\r
+\r
+ returnedValue = tizen.content.updateBatch([content]);\r
+ assert_equals(returnedValue, undefined,\r
+ "updateBatch should return undefined.");\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(findSuccess, findError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_update_content_TypeMismatch</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_update_content_TypeMismatch\r
+//==== LABEL Check if update throws exception when content is incorrect\r
+//==== PRIORITY: P2\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:update M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== TEST_CRITERIA MC\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ exceptionName = "TypeMismatchError", conversionTable, i, content;\r
+\r
+t.step(function () {\r
+ conversionTable = getTypeConversionExceptions("object", false);\r
+\r
+ for(i = 0; i < conversionTable.length; i++) {\r
+ content = conversionTable[i][0];\r
+ exceptionName = conversionTable[i][1];\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ tizen.content.update(content);\r
+ }, "update() invoked with incorrect content.");\r
+ }\r
+\r
+ t.done();\r
+});\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2012 Intel Corporation.\r
+\r
+Redistribution and use in source and binary forms, with or without modification, \r
+are permitted provided that the following conditions are met:\r
+\r
+* Redistributions of works must retain the original copyright notice, this list \r
+ of conditions and the following disclaimer.\r
+* Redistributions in binary form must reproduce the original copyright notice, \r
+ this list of conditions and the following disclaimer in the documentation \r
+ and/or other materials provided with the distribution.\r
+* Neither the name of Intel Corporation nor the names of its contributors \r
+ may be used to endorse or promote products derived from this work without \r
+ specific prior written permission.\r
+\r
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" \r
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE \r
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, \r
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, \r
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, \r
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY \r
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING \r
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, \r
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \r
+\r
+Authors:\r
+ Guan, JingX <jingx.guan@intel.com>\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_update_exist</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_update_exist\r
+//==== LABEL Check if update exists\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:update M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P0\r
+//==== TEST_CRITERIA ME\r
+test(function () {\r
+ assert_true("update" in tizen.content, "ContentManager should have update method");\r
+ check_method_exists(tizen.content, "update");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ContentManager_update_missarg</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ContentManager_update_missarg\r
+//==== LABEL Check if update method called with missing non-optional argument throws an exception\r
+//==== SPEC Tizen Web API:Content:Content:ContentManager:update M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P2\r
+//==== TEST_CRITERIA MMA\r
+test(function () {\r
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {\r
+ tizen.content.update();\r
+ }, "update() invoked without non-optional arguments.");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>Content_description_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: Content_description_attribute\r
+//==== LABEL Check if Content have description attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:description A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ if(content.description !== null) {\r
+ check_readonly(content, "description", content.description, "string", "dummy");\r
+ }\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>Content_editableAttributes_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: Content_editableAttributes_attribute\r
+//==== LABEL Check if Content have editableAttributes attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:editableAttributes A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, beforeValues, i, editableExist = false;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "editableAttributes",\r
+ "Content does not own editableAttributes property.");\r
+\r
+ if (contents[i].editableAttributes) {\r
+ assert_type(contents[i].editableAttributes, "array",\r
+ "Content.editableAttributes should be an array");\r
+ assert_type(contents[i].editableAttributes[0], "string",\r
+ "Content.editableAttributes should be a string.");\r
+\r
+ beforeValues = contents[i].editableAttributes;\r
+ contents[i].editableAttributes = ["anotherNeweditableAttributes"];\r
+ assert_equals(contents[i].editableAttributes.length, beforeValues.length,\r
+ "Content.editableAttributes should be readonly");\r
+ assert_array_equals(contents[i].editableAttributes, beforeValues,\r
+ "Content.editableAttributes should be readonly");\r
+ editableExist = true;\r
+ }\r
+ }\r
+ assert_true(editableExist, "There is no content having editable attributes.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2014 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Author:\r
+ Wei Zhang <wei625.zhang@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>Content_isFavorite_attribute</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: Content_isFavorite_attribute\r
+//==== LABEL Check if Content have isFavorite attribute with proper type and is writeable and not nullable\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:isFavorite A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ASG AN\r
+\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}), onSuccess, onError, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ if (content.isFavorite !== null) {\r
+ check_attribute(content, "isFavorite", content.isFavorite, "boolean", !content.isFavorite);\r
+ content.isFavorite = null;\r
+ assert_not_equals(content.isFavorite, null, "Content.isFavorite should not accept null as value.");\r
+ }\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>Content_rating_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: Content_rating_attribute\r
+//==== LABEL Check if Content have rating attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:rating A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, i, newValue = 3;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ if(contents[i].rating === newValue ) {\r
+ newValue++;\r
+ }\r
+ check_readonly(contents[i], "rating", contents[i].rating, "unsigned long", newValue);\r
+ }\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>Content_releaseDate_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: Content_releaseDate_attribute\r
+//==== LABEL Check if Content have releaseDate attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:Content:releaseDate A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, i, beforeValue, releaseDateExist = false;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "releaseDate",\r
+ "Content does not own releaseDate property.");\r
+\r
+ if(contents[i].releaseDate !== null) {\r
+ assert_type(contents[i].releaseDate, "date", "releaseDate should be a date");\r
+ beforeValue = contents[i].releaseDate;\r
+ contents[i].releaseDate = new Date();\r
+ assert_equals(contents[i].releaseDate.getTime(), beforeValue.getTime(),\r
+ "Content.releaseDate should be readonly.");\r
+ releaseDateExist = true;\r
+ } else {\r
+ assert_type(contents[i].releaseDate, null,\r
+ "Attribute releaseDate in Content should be null.");\r
+ }\r
+ }\r
+ assert_true(releaseDateExist, "Did not found attribute releaseDate of AudioContent set to Date.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>ImageContent_geolocation_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: ImageContent_geolocation_attribute\r
+//==== LABEL Check if ImageContent have geolocation attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:ImageContent:geolocation A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, geolocation, i, geolocationExist = false;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "IMAGE");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "geolocation",\r
+ "Content does not own geolocation property.");\r
+\r
+ geolocation = new tizen.SimpleCoordinates(5, 5);\r
+ if (contents[i].geolocation !== null) {\r
+ assert_true(contents[i].geolocation instanceof tizen.SimpleCoordinates,\r
+ "ImageContent.geolocation should be an instance of SimpleCoordinates");\r
+ if (contents[i].geolocation.latitude === 5) {\r
+ geolocation.latitude = 6;\r
+ }\r
+ if (contents[i].geolocation.longitude === 5) {\r
+ geolocation.longitude = 6;\r
+ }\r
+ geolocationExist = true;\r
+ }\r
+ contents[i].geolocation = geolocation;\r
+\r
+ assert_not_equals(contents[i].geolocation.latitude, geolocation.latitude,\r
+ "Value of ImageContent.geolocation.latitude should not be updated.");\r
+ assert_not_equals(contents[i].geolocation.longitude, geolocation.longitude,\r
+ "Value of ImageContent.geolocation.latitude should not be updated.");\r
+ }\r
+ assert_true(geolocationExist, "Image with geolocation doesn't exist.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_album_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_album_attribute\r
+//==== LABEL Check if VideoContent have album attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:album A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ if(content.album !== null) {\r
+ check_readonly(content, "album", content.album, "string", "MyAlbum");\r
+ }\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_artists_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_artists_attribute\r
+//==== LABEL Check if VideoContent have artists attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:artists A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}), onSuccess, onError, beforeValues, i, artistExist = false,\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+setup_contents(t, t.step_func(function () {\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "artists",\r
+ "VideoContent does not own artists property.");\r
+ if (contents[i].artists) {\r
+ assert_type(contents[i].artists, "array", "artists should be an array");\r
+ assert_type(contents[i].artists[0], "string", "artists item should be a string");\r
+\r
+ beforeValues = contents[i].artists;\r
+ if (contents[i].artists[0] === "newArtist") {\r
+ contents[i].artists = ["anotherNewArtist"];\r
+ } else {\r
+ contents[i].artists = ["newArtist"];\r
+ }\r
+ assert_equals(contents[i].artists.length, beforeValues.length, "artists is not readonly");\r
+ assert_array_equals(contents[i].artists, beforeValues, "artists is not readonly");\r
+ artistExist = true;\r
+\r
+ } else {\r
+ assert_type(contents[i].artists, null,\r
+ "VideoContent.artists should be null.");\r
+ }\r
+ }\r
+ assert_true(artistExist, "Did not found attribute artists of VideoContent set to array.");\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_duration_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_duration_attribute\r
+//==== LABEL Check if VideoContent have duration attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:duration A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "duration", content.duration, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_geolocation_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_geolocation_attribute\r
+//==== LABEL Check if VideoContent have geolocation attribute with proper type and is writeable\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:geolocation A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ASG\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, geolocation, i;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ for(i = 0; i < contents.length; i++) {\r
+ assert_own_property(contents[i], "geolocation",\r
+ "VideoContent does not own geolocation property.");\r
+\r
+ geolocation = new tizen.SimpleCoordinates(5, 5);\r
+ if (contents[i].geolocation !== null) {\r
+ assert_true(contents[i].geolocation instanceof tizen.SimpleCoordinates,\r
+ "VideoContent.geolocation should be an instance of SimpleCoordinates");\r
+ if (contents[i].geolocation.latitude === 5) {\r
+ geolocation.latitude = 6;\r
+ }\r
+ if (contents[i].geolocation.longitude === 5) {\r
+ geolocation.longitude = 6;\r
+ }\r
+ }\r
+ contents[i].geolocation = geolocation;\r
+\r
+ assert_not_equals(contents[i].geolocation.latitude, geolocation.latitude,\r
+ "Value of VideoContent.geolocation.latitude should not be updated.");\r
+ assert_not_equals(contents[i].geolocation.longitude, geolocation.longitude,\r
+ "Value of VideoContent.geolocation.longitude should not be updated.");\r
+ }\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_height_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_height_attribute\r
+//==== LABEL Check if VideoContent have height attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:height A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "height", content.height, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
--- /dev/null
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+ Krzysztof Lachacz <k.lachacz@samsung.com>\r
+\r
+-->\r
+\r
+<html>\r
+<head>\r
+<title>VideoContent_width_attribute</title>\r
+<script src="support/unitcommon.js"></script>\r
+<script src="support/content_common.js"></script>\r
+</head>\r
+\r
+<body>\r
+<div id="log"></div>\r
+<script type="text/javascript">\r
+//==== TEST: VideoContent_width_attribute\r
+//==== LABEL Check if VideoContent have width attribute with proper type and is readonly\r
+//==== ONLOAD_DELAY 30\r
+//==== SPEC: Tizen Web API:Content:Content:VideoContent:width A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ARO\r
+setup({timeout: 30000});\r
+\r
+var t = async_test(document.title, {timeout: 30000}),\r
+ onSuccess, onError, filter, content;\r
+\r
+setup_contents(t, t.step_func(function () {\r
+ filter = new tizen.AttributeFilter("type", "EXACTLY", "VIDEO");\r
+\r
+ onError = t.step_func(function (error) {\r
+ assert_unreached("Find() Error callback was invoked: " + error.name + " msg: " + error.message);\r
+ });\r
+\r
+ onSuccess = t.step_func(function (contents) {\r
+ assert_type(contents, "array", "contents should be an array");\r
+ assert_greater_than(contents.length, 0, "media item is not found");\r
+\r
+ content = contents[0];\r
+ check_readonly(content, "width", content.width, "number", 100);\r
+\r
+ t.done();\r
+ });\r
+\r
+ tizen.content.find(onSuccess, onError, null, filter);\r
+}));\r
+\r
+</script>\r
+</body>\r
+</html>\r
import sys
import subprocess
import string
+import logging
+import Queue
from optparse import OptionParser, make_option
import configparser
+from shellmanager import ShellManager
+time.sleep(3)
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
PKG_NAME = os.path.basename(SCRIPT_DIR)
GLOVAL_OPT="--global"
else:
GLOVAL_OPT=""
+def getInternalStorage():
+ global INTERNAL_STORAGE
+ try:
+ shell_mgr = ShellManager()
+ shell_mgr.open_shellpipe(PARAMETERS.device.strip())
+ #shell_mgr.open_shellpipe('0000d8dd00006200')
+ shell_mgr.write_cmd('export `tzplatform-get --user ' +PARAMETERS.user+' TZ_USER_CONTENT`', '', None)
+ INTERNAL_STORAGE=shell_mgr.write_cmd('echo $TZ_USER_CONTENT','', None)
+ INTERNAL_STORAGE=str(INTERNAL_STORAGE[len(INTERNAL_STORAGE)-1])
+ print (str(INTERNAL_STORAGE))
+ except Exception as ex:
+ print (ex)
+ finally:
+ shell_mgr.close_shellpipe()
+def askpolicyremoving():
+ for root, dirs, files in os.walk(SCRIPT_DIR):
+ for file in files:
+ if file.endswith(".wgt"):
+ pkg_id = getPKGID(os.path.basename(os.path.splitext(file)[0]))
+
+ print (pkg_id)
+ print (os.getcwd())
+ print (os.path.dirname(os.path.realpath(__file__)) )
+ if not doRemoteCopy("%s/askpolicy.sh" % SCRIPT_DIR, "%s" % (SRC_DIR)):
+ action_status = False
+ if PARAMETERS.mode == "SDB":
+ cmd = "sdb -s %s shell .%s/askpolicy.sh %s" % (PARAMETERS.device,
+ SRC_DIR, pkg_id)
+ return doCMD(cmd)
+
+def recordInternalStorage():
+ try:
+ f = open("/opt/tools/TCT_CONFIG", "a")
+ #f.write("\n")
+ f.write("DEVICE_INTERNAL_STORAGE="+INTERNAL_STORAGE)
+ f.write("\n")
+ f.close()
+ if PARAMETERS.mode == "SDB":
+ cmd = "sdb -s %s push /opt/tools/TCT_CONFIG /opt/usr/home/owner/share/TCT_CONFIG" % (
+ PARAMETERS.device)
+ return doCMD(cmd)
+ except Exception as ex:
+ print (ex)
+ else:
+ print ("aaaaaaaaaaaaaaa")
def doCMD(cmd):
# Do not need handle timeout in this short script, let tool do it
print ("-->> \"%s\"" % cmd)
if return_code != 0:
action_status = False
+ (return_code, output) = doRemoteCMD("rm -rf %s/%s" % (SRC_DIR, PKG_NAME))
+ if return_code != 0:
+ action_status = False
+ (return_code, output) = doRemoteCMD("rm -rf %s/Downloads/*" % (INTERNAL_STORAGE))
+ if return_code != 0:
+ action_status = False
+
return action_status
if not doRemoteCopy(item, "%s/%s" % (PKG_SRC_DIR, item_name)):
#if not doRemoteCopy(item, PKG_SRC_DIR):
action_status = False
+ for item in os.listdir(SCRIPT_DIR):
+ print(SCRIPT_DIR)
+ print(item)
+ if item.find("webapi-tizen-messaging-test_") != -1:
+ if not doRemoteCopy("%s/%s" % (SCRIPT_DIR, item), "%s/%s/%s" % (SRC_DIR, PKG_NAME, item)):
+ action_status = False
+ print(INTERNAL_STORAGE)
+ if not doRemoteCopy("%s/media" % SCRIPT_DIR, "%s/%s" % (SRC_DIR, PKG_NAME)):
+ action_status = False
+ if not doRemoteCopy("%s/media" % SCRIPT_DIR, "%s/Downloads/" % (INTERNAL_STORAGE)):
+ action_status = False
+ (return_code, output) = doRemoteCMD(
+ "mkdir -p %s/Downloads/%s" %(INTERNAL_STORAGE, PKG_NAME))
+ if return_code != 0:
+ action_status = False
return action_status
userCheck()
+ getInternalStorage()
user_info = getUSERID()
re_code = user_info[0]
if re_code == 0 :
</specs>
</testcase>
</set>
+ <set name="content_tv" type="js">
+ <testcase purpose="Check if updateBatch exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_updateBatch_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if update exists" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_update_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if update() method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_update">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch() method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if update method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_missarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_missarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if update throws exception when content is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_content_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_content_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="update" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_missarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_missarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when contents is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_contents_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_contents_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when successCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when success callback is invalid" type="compliance" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch called with optional errorCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch called with optional successCallback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_successCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_with_successCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateBatch called without callback is invoked properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_without_callback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_without_callback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ContentManager" element_type="method" element_name="updateBatch" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if AudioContent have bitrate attribute with proper type, readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_bitrate_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_bitrate_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="bitrate" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if AudioContent have composers attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_composers_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_composers_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="composers" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if AudioContent have copyright attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_copyright_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_copyright_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="copyright" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if AudioContent have duration attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_duration_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_duration_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="AudioContent" element_type="attribute" element_name="duration" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have description attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_description_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_description_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="description" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have editableAttributes attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_editableAttributes_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_editableAttributes_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="editableAttributes" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have isFavorite attribute with proper type and is writeable and not nullable" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_isFavorite_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_isFavorite_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="isFavorite" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have rating attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_rating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_rating_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="rating" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Content have releaseDate attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_releaseDate_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_releaseDate_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Content" element_type="attribute" element_name="releaseDate" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if ImageContent have geolocation attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_geolocation_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ImageContent_geolocation_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="ImageContent" element_type="attribute" element_name="geolocation" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have album attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_album_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_album_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="album" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have artists attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_artists_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_artists_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="artists" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have duration attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_duration_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_duration_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="duration" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have width attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_width_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_width_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="width" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have geolocation attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_geolocation_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_geolocation_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="geolocation" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if VideoContent have height attribute with proper type and is readonly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_height_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_height_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="VideoContent" element_type="attribute" element_name="height" specification="Content" section="Content" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/content.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
</suite>
</test_definition>
</description>
</testcase>
</set>
+ <set name="content_tv" type="js">
+ <testcase purpose="Check if updateBatch exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_updateBatch_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if update exists" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P0" id="ContentManager_update_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if update() method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_update">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch() method works properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if update method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_missarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_missarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if update throws exception when content is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_update_content_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_update_content_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch method called with missing non-optional argument throws an exception" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_missarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_missarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when contents is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_contents_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_contents_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when successCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when success callback is invalid" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when errorCallback is incorrect" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch throws exception when errorCallback is invalid" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P2" id="ContentManager_updateBatch_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch called with optional errorCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch called with optional successCallback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_with_successCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_with_successCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if updateBatch called without callback is invoked properly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentManager_updateBatch_without_callback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ContentManager_updateBatch_without_callback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if AudioContent have bitrate attribute with proper type, readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_bitrate_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_bitrate_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if AudioContent have composers attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_composers_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_composers_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if AudioContent have copyright attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_copyright_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_copyright_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if AudioContent have duration attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="AudioContent_duration_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/AudioContent_duration_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have description attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_description_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_description_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have editableAttributes attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_editableAttributes_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_editableAttributes_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have isFavorite attribute with proper type and is writeable and not nullable" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_isFavorite_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_isFavorite_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have rating attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_rating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_rating_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if Content have releaseDate attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="Content_releaseDate_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/Content_releaseDate_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if ImageContent have geolocation attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ImageContent_geolocation_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/ImageContent_geolocation_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have album attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_album_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_album_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have artists attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_artists_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_artists_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have duration attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_duration_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_duration_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have geolocation attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_geolocation_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_geolocation_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have height attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_height_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_height_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if VideoContent have width attribute with proper type and is readonly" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="VideoContent_width_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/VideoContent_width_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
</suite>
</test_definition>