+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackItem_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackItem_invalid
-//==== LABEL Check if updatePlaybackItem thrown invalid exception when playlist name does not exist
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackItem M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer;
-
- mcServer = tizen.mediacontroller.createServer();
- assert_throws(INVALID_VALUES_EXCEPTION,
- function () {
- mcServer.updatePlaybackItem("PlayList");
- }, "InvalidValuesError should be thrown.");
-}, document.title);
-
-</script>
-</body>
-</html>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_invalid" priority="P2" purpose="Check if updatePlaybackItem thrown invalid exception when playlist name does not exist">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackItem_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists.html</test_script_entry>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackItem.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_invalid" priority="P2" purpose="Check if updatePlaybackItem thrown invalid exception when playlist name does not exist">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackItem_invalid.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists.html</test_script_entry>