--- /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>MediaControllerServerInfo_iconURI_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_iconURI_attribute
+//==== LABEL Check if attribute iconURI of MediaControllerServerInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:iconURI A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcClient, mcServerInfo;
+
+ tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_readonly(mcServerInfo, "iconURI", mcServerInfo.iconURI, "string", "test");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /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_iconURI_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_iconURI_attribute
+//==== LABEL Check if attribute iconURI of MediaControllerServer exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:iconURI A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer, "iconURI", mcServer.iconURI, "string", "test");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /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_updateIconURI</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateIconURI
+//==== LABEL Check if MediaControllerServer updateIconURI method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var server, client, sinfo, uri = "http://example.com/res/icon2.ico", retVal = null;
+
+ server = tizen.mediacontroller.createServer();
+ server.updatePlaybackState("PLAY");
+ client = tizen.mediacontroller.getClient();
+ sinfo = client.getLatestServerInfo();
+ retVal = server.updateIconURI(uri);
+ assert_equals(retVal, undefined, "updateIconURI should return undefined");
+ assert_equals(sinfo.iconURI, uri, "update iconURI failed");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /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_updateIconURI_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateIconURI_exist
+//==== LABEL Check if method updateIconURI of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateIconURI");
+}, document.title);
+
+</script>
+</body>
+</html>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if MediaControllerServer updateIconURI method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateIconURI">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateIconURI.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" 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 purpose="Check if updateIconURI exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateIconURI_exist">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" 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 purpose="Check if attribute iconURI of MediaControllerServer exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_iconURI_attribute">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_iconURI_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="iconURI" 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 purpose="Check if attribute iconURI of MediaControllerServerInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_iconURI_attribute">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_iconURI_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="iconURI" 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>
</set>
</suite>
</test_definition>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_contentType_attribute.html</test_script_entry>
</description>
</testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI" priority="P1" purpose="Check if MediaControllerServer updateIconURI method works properly">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateIconURI.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI_exist" priority="P0" purpose="Check if updateIconURI exists">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_iconURI_attribute" priority="P1" purpose="Check if attribute iconURI of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_iconURI_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_iconURI_attribute" priority="P1" purpose="Check if attribute iconURI of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_iconURI_attribute.html</test_script_entry>
+ </description>
+ </testcase>
</set>
</suite>
</test_definition>