[common][mediacontroller][TWDAPI-209, add 20 tcs for new api] 83/216283/1
authorzhongyuan <zy123.yuan@samsung.com>
Wed, 23 Oct 2019 03:39:17 +0000 (11:39 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Wed, 23 Oct 2019 03:39:17 +0000 (11:39 +0800)
Change-Id: I0818fa8e7454155174da9d4eeaa2fd9e11c46ff1

22 files changed:
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_extend.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_name_attribute.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_notexist.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_data_TypeMismatch.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_exist.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_misarg.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_invalid_cb.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_exist.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_TypeMismatch.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_invalid.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_misarg.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_exist.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_extra_argument.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_exist.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_extra_argument.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/tests.full.xml
common/tct-mediacontroller-tizen-tests/tests.xml

diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_extend.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_extend.html
new file mode 100755 (executable)
index 0000000..6af465c
--- /dev/null
@@ -0,0 +1,48 @@
+<!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>MediaControllerClientInfo_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClientInfo_extend
+//==== LABEL Check if MediaControllerClientInfo object is extendable
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClientInfo:MediaControllerClientInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
+
+test(function () {
+    var mcServer, mcClient, mcClientsInfoAll;
+    mcClient = tizen.mediacontroller.getClient();
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+    check_extensibility(mcClientsInfoAll[0]);
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_name_attribute.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_name_attribute.html
new file mode 100755 (executable)
index 0000000..ecd0c7d
--- /dev/null
@@ -0,0 +1,48 @@
+<!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>MediaControllerClientInfo_name_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClientInfo_name_attribute
+//==== LABEL Check if attribute name of MediaControllerClientInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClientInfo:name A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+    var mcServer, mcClient, mcClientsInfoAll;
+    mcClient = tizen.mediacontroller.getClient();
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+    check_readonly(mcClientsInfoAll[0], "name", mcClientsInfoAll[0].name, "string", null);
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_notexist.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_notexist.html
new file mode 100755 (executable)
index 0000000..8820887
--- /dev/null
@@ -0,0 +1,43 @@
+<!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>MediaControllerClientInfo_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClientInfo_notexist
+//==== LABEL Check if interface MediaControllerClientInfo exists, it should not.
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClientInfo:MediaControllerClientInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+    check_no_interface_object("MediaControllerClientInfo");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent.html
new file mode 100755 (executable)
index 0000000..128abbb
--- /dev/null
@@ -0,0 +1,62 @@
+<!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>MediaControllerClientInfo_sendEvent</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClientInfo_sendEvent
+//==== LABEL Check if sendEvent() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClientInfo:sendEvent M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), listener, mcClient, mcServer, mcClientsInfoAll, successCallback, retValue = null;
+
+t.step(function () {
+    add_result_callback(function(){
+        mcClient.unsetCustomEventListener();
+    });
+    listener = t.step_func(function (clientName, eventName, data){
+        return new tizen.mediacontroller.RequestReply({response: "response data"}, 123);
+    });
+    successCallback = t.step_func(function (response){
+        assert_equals(retValue, undefined, "Incorrect returned value.");
+        t.done();
+    });
+    mcClient = tizen.mediacontroller.getClient();
+    mcClient.setCustomEventListener(listener);
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+    retValue = mcClientsInfoAll[0].sendEvent("test", new tizen.Bundle({param1: "value1", param2: "value2"}), successCallback);
+});
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_data_TypeMismatch.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_data_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..49bb04b
--- /dev/null
@@ -0,0 +1,67 @@
+<!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>MediaControllerClientInfo_sendEvent_data_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClientInfo_sendEvent_data_TypeMismatch
+//==== LABEL Check argument data conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClientInfo:sendEvent M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcClient, mcServer, mcClientsInfoAll,
+    successCallback, data, exceptionName, i, conversionTable;
+
+t.step(function () {
+    mcClient = tizen.mediacontroller.getClient();
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+
+    successCallback = t.step_func(function () {
+        assert_unreached("sendEvent() success callback invoked");
+    });
+
+    conversionTable = getTypeConversionExceptions("object", true);
+
+    for (i = 0; i < conversionTable.length; i++) {
+        data = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+        assert_throws({name: exceptionName},
+            function () {
+                mcClientsInfoAll[0].sendEvent("test", data, successCallback);
+            }, "TypeMismatchError should be thrown");
+    }
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_exist.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_exist.html
new file mode 100755 (executable)
index 0000000..b097a4d
--- /dev/null
@@ -0,0 +1,49 @@
+<!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>MediaControllerClientInfo_sendEvent_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClientInfo_sendEvent_exist
+//==== LABEL Check if method sendEvent of MediaControllerServerInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClientInfo:sendEvent M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    var mcClient, mcServer, mcClientsInfoAll;
+
+    mcClient = tizen.mediacontroller.getClient();
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+    check_method_exists(mcClientsInfoAll[0], "sendEvent");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_misarg.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_misarg.html
new file mode 100755 (executable)
index 0000000..b37f5fa
--- /dev/null
@@ -0,0 +1,51 @@
+<!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>MediaControllerClientInfo_sendEvent_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClientInfo_sendEvent_misarg
+//==== LABEL Check if sendEvent method of MediaControllerServerInfo called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClientInfo:sendEvent M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+    var mcClient, mcServer, mcClientsInfoAll;
+
+    mcClient = tizen.mediacontroller.getClient();
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+        mcClientsInfoAll[0].sendEvent();
+    }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..bed597a
--- /dev/null
@@ -0,0 +1,59 @@
+<!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>MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch
+//==== LABEL Check argument successCallback conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClientInfo:sendEvent M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcClient, mcClientsInfoAll, incorrectCallback, data, exceptionName, i, conversionTable;
+
+test(function () {
+    mcClient = tizen.mediacontroller.getClient();
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+    conversionTable = getTypeConversionExceptions("functionObject", false);
+
+    for (i = 0; i < conversionTable.length; i++) {
+        incorrectCallback = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+        assert_throws({name: exceptionName},
+            function () {
+                mcClientsInfoAll[0].sendEvent("test", new tizen.Bundle({param1: "value1", param2: "value2"}), incorrectCallback);
+            }, "TypeMismatchError should be thrown");
+    }
+
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_invalid_cb.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_invalid_cb.html
new file mode 100755 (executable)
index 0000000..808c483
--- /dev/null
@@ -0,0 +1,63 @@
+<!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>MediaControllerClientInfo_sendEvent_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClientInfo_sendEvent_successCallback_invalid_cb
+//==== LABEL Check if sendEvent throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClientInfo:sendEvent M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
+    mcClientsInfoAll, incorrectCallback;
+
+t.step(function () {
+    mcClient = tizen.mediacontroller.getClient();
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+
+    incorrectCallback = {
+        onsuccess: t.step_func(function () {
+            assert_unreached("sendEvent() success callback invoked.");
+        })
+    };
+
+    assert_throws({name: exceptionName},
+        function () {
+            mcClientsInfoAll[0].sendEvent("test", new tizen.Bundle({param1: "value1", param2: "value2"}), incorrectCallback);
+        }, exceptionName + " should be thrown - given incorrect success callback");
+    t.done();
+});
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener.html
new file mode 100755 (executable)
index 0000000..3ff5ab8
--- /dev/null
@@ -0,0 +1,65 @@
+<!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>MediaControllerClient_setCustomEventListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClient_setCustomEventListener
+//==== LABEL Check if setCustomEventListener() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClient:setCustomEventListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), listener, mcClient, mcServer, mcClientsInfoAll, retValue = null;
+
+t.step(function () {
+    add_result_callback(function(){
+        mcClient.unsetCustomEventListener();
+    });
+    listener = t.step_func(function (clientName, eventName, data){
+        assert_equals(retValue, undefined, "Incorrect returned value.");
+        assert_type(clientName, "string", "invalid type of clientName");
+        assert_type(eventName, "string", "invalid type of eventName");
+        assert_type(data, "object", "invalid type of  data");
+        assert_equals(clientName, "apimediact.WebAPITizenMediaKeyTests", "invalid value of clientName");
+        assert_equals(eventName, "test", "invalid value of eventName");
+        assert_equals(JSON.stringify(data), '{\"param1\":\"value1\",\"param2\":\"value2\"}', "invalid value of data");
+        t.done();
+    });
+    mcClient = tizen.mediacontroller.getClient();
+    retValue = mcClient.setCustomEventListener(listener);
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+    mcClientsInfoAll[0].sendEvent("test", new tizen.Bundle({param1: "value1", param2: "value2"}), function(){});
+});
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_exist.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_exist.html
new file mode 100755 (executable)
index 0000000..31fa4b3
--- /dev/null
@@ -0,0 +1,45 @@
+<!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>MediaControllerClient_setCustomEventListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClient_setCustomEventListener_exist
+//==== LABEL Check if method setCustomEventListener of MediaControllerClient exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClient:setCustomEventListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    var mcClient = tizen.mediacontroller.getClient();
+
+    check_method_exists(mcClient, "setCustomEventListener");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_TypeMismatch.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..57fc5b1
--- /dev/null
@@ -0,0 +1,54 @@
+<!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>MediaControllerClient_setCustomEventListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClient_setCustomEventListener_listener_TypeMismatch
+//==== LABEL Check argument setCustomEventListener conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClient:setCustomEventListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+    var mcClient, exceptionName, i, conversionTable, listener;
+    conversionTable = getTypeConversionExceptions("functionObject", false);
+    mcClient = tizen.mediacontroller.getClient();
+
+    for (i = 0; i < conversionTable.length; i++) {
+        listener = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+        assert_throws({name: exceptionName},
+            function () {
+                mcClient.setCustomEventListener(listener);
+            }, exceptionName + " should be thrown - given incorrect listener.");
+    }
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_invalid.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_invalid.html
new file mode 100755 (executable)
index 0000000..85b9282
--- /dev/null
@@ -0,0 +1,55 @@
+<!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>MediaControllerClient_setCustomEventListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClient_setCustomEventListener_listener_invalid
+//==== LABEL Check if setCustomEventListener throws exception when callback is inavlid listener
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClient:setCustomEventListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+test(function () {
+    var mcClient, listener, incorrectListener, exceptionName, i;
+    mcClient = tizen.mediacontroller.getClient();
+    incorrectListener = getListenerConversionExceptions(["onsuccess"]);
+
+    for (i = 0; i < incorrectListener.length; i++) {
+        listener = incorrectListener[i][0];
+        exceptionName = incorrectListener[i][1];
+        assert_throws({name: exceptionName},
+            function () {
+                mcClient.setCustomEventListener(listener);
+            }, exceptionName + " should be thrown - given incorrect listener.");
+    }
+
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_misarg.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_misarg.html
new file mode 100755 (executable)
index 0000000..868463a
--- /dev/null
@@ -0,0 +1,46 @@
+<!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>MediaControllerClient_setCustomEventListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClient_setCustomEventListener_misarg
+//==== LABEL Check if setCustomEventListener method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClient:setCustomEventListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+    var mcClient = tizen.mediacontroller.getClient();
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+        mcClient.setCustomEventListener();
+    }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener.html
new file mode 100755 (executable)
index 0000000..5b78fa7
--- /dev/null
@@ -0,0 +1,60 @@
+<!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>MediaControllerClient_unsetCustomEventListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClient_unsetCustomEventListener
+//==== LABEL Check if unsetCustomEventListener() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClient:unsetCustomEventListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), listener, mcClient, mcServer, mcClientsInfoAll, retValue = null;
+
+t.step(function () {
+    add_result_callback(function(){
+        mcClient.unsetCustomEventListener();
+    });
+    listener = t.step_func(function (clientName, eventName, data){
+        retValue = mcClient.unsetCustomEventListener();
+        assert_equals(retValue, undefined, "Incorrect returned value.");
+        t.done();
+    });
+    mcClient = tizen.mediacontroller.getClient();
+    mcClient.setCustomEventListener(listener);
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    mcClientsInfoAll = mcServer.getAllClientsInfo();
+    mcClientsInfoAll[0].sendEvent("test", new tizen.Bundle({param1: "value1", param2: "value2"}), function(){});
+});
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_exist.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_exist.html
new file mode 100755 (executable)
index 0000000..0fa0698
--- /dev/null
@@ -0,0 +1,45 @@
+<!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>MediaControllerClient_unsetCustomEventListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClient_unsetCustomEventListener_exist
+//==== LABEL Check if method unsetCustomEventListener of MediaControllerClient exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClient:unsetCustomEventListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    var mcClient = tizen.mediacontroller.getClient();
+
+    check_method_exists(mcClient, "unsetCustomEventListener");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_extra_argument.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_extra_argument.html
new file mode 100755 (executable)
index 0000000..c220048
--- /dev/null
@@ -0,0 +1,45 @@
+<!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>MediaControllerClient_unsetCustomEventListener_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerClient_unsetCustomEventListener_extra_argument
+//==== LABEL Check using unsetCustomEventListener method with extra argument
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerClient:unsetCustomEventListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+    var mcClient = tizen.mediacontroller.getClient();
+
+    checkExtraArgument(mcClient, "unsetCustomEventListener");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo.html
new file mode 100755 (executable)
index 0000000..6fc78d3
--- /dev/null
@@ -0,0 +1,49 @@
+<!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_getAllClientsInfo</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllClientsInfo
+//==== LABEL Check if getAllClientsInfo() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllClientsInfo M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+test(function () {
+    var mcServer, mcClient, retValue;
+    mcClient = tizen.mediacontroller.getClient();
+    mcServer = tizen.mediacontroller.createServer();
+    mcServer.updatePlaybackState("PLAY");
+    retValue = mcServer.getAllClientsInfo();
+    assert_type(retValue, "array", "Invalid type of return value");
+    assert_equals(retValue[0].name, "apimediact.WebAPITizenMediaKeyTests", "invalid value of client name");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_exist.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_exist.html
new file mode 100755 (executable)
index 0000000..b4a6343
--- /dev/null
@@ -0,0 +1,45 @@
+<!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_getAllClientsInfo_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllClientsInfo_exist
+//==== LABEL Check if method getAllClientsInfo of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllClientsInfo M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    var mcServer = tizen.mediacontroller.createServer();
+
+    check_method_exists(mcServer, "getAllClientsInfo");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_extra_argument.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_extra_argument.html
new file mode 100755 (executable)
index 0000000..5dec992
--- /dev/null
@@ -0,0 +1,45 @@
+<!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_getAllClientsInfo_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllClientsInfo_extra_argument
+//==== LABEL Check using getAllClientsInfo method with extra argument
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllClientsInfo M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+    var mcServer = tizen.mediacontroller.createServer();
+
+    checkExtraArgument(mcServer, "getAllClientsInfo");
+}, document.title);
+
+</script>
+</body>
+</html>
index 0568587274f4a345bdc10748138f2837a8663e82..e208262b62877fbecd2d19418d8046b92b982151 100755 (executable)
           </spec>
         </specs>
       </testcase>
+      <testcase purpose="Check if getAllClientsInfo() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_getAllClientsInfo">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerServer" element_type="method" element_name="getAllClientsInfo" 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 method getAllClientsInfo of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_getAllClientsInfo_exist">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerServer" element_type="method" element_name="getAllClientsInfo" 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 using getAllClientsInfo() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_getAllClientsInfo_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerServer" element_type="method" element_name="getAllClientsInfo" 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="MediaControllerClientInfo_extend" priority="P3" purpose="Check if MediaControllerClientInfo object is extendable">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClientInfo" 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="MediaControllerClientInfo_notexist" priority="P3" purpose="Check if interface MediaControllerClientInfo exists, it should not.">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClientInfo" 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 purpose="Check if attribute name of MediaControllerClientInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerClientInfo_name_attribute">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_name_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClientInfo" element_type="attribute" element_name="resolutionHeight" 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 sendEvent() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerClientInfo_sendEvent">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClientInfo" element_type="method" element_name="sendEvent" 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 argument data conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClientInfo_sendEvent_data_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_data_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClientInfo" element_type="method" element_name="sendEvent" 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 method sendEvent of MediaControllerClientInfo exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerClientInfo_sendEvent_exist">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClientInfo" element_type="method" element_name="sendEvent" 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 sendEvent method of MediaControllerClientInfo called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClientInfo_sendEvent_misarg">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClientInfo" element_type="method" element_name="sendEvent" 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 argument successCallback conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClientInfo" element_type="method" element_name="sendEvent" 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 sendEvent throws exception when successCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClientInfo_sendEvent_successCallback_invalid_cb">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_invalid_cb.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClientInfo" element_type="method" element_name="sendEvent" 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 MediaControllerClient setCustomEventListener method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerClient_setCustomEventListener">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClient" element_type="method" element_name="setCustomEventListener" 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 setCustomEventListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerClient_setCustomEventListener_exist">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClient" element_type="method" element_name="setCustomEventListener" 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 setCustomEventListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClient_setCustomEventListener_listener_TypeMismatch">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_TypeMismatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClient" element_type="method" element_name="setCustomEventListener" 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 setCustomEventListener throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClient_setCustomEventListener_listener_invalid">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClient" element_type="method" element_name="setCustomEventListener" 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 setCustomEventListener method called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClient_setCustomEventListener_misarg">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_misarg.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClient" element_type="method" element_name="setCustomEventListener" 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 MediaControllerClient unsetCustomEventListener method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerClient_unsetCustomEventListener">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClient" element_type="method" element_name="unsetCustomEventListener" 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 unsetCustomEventListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerClient_unsetCustomEventListener_exist">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClient" element_type="method" element_name="unsetCustomEventListener" 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 using unsetCustomEventListener method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerClient_unsetCustomEventListener_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="MediaControllerClient" element_type="method" element_name="unsetCustomEventListener" 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>
index ea47192e95368182988b46d2192abf80eb844c96..3d1303fc70544ac6a7e9f978361a5667b4b2befa 100755 (executable)
           <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_resolutionHeight_attribute.html</test_script_entry>
         </description>
       </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllClientsInfo" priority="P1" purpose="Check if getAllClientsInfo() works properly">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllClientsInfo_exist" priority="P0" purpose="Check if method getAllClientsInfo of MediaControllerServer exists">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllClientsInfo_extra_argument" priority="P1" purpose="Check using getAllClientsInfo() method with extra argument">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase comsponent="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClientInfo_extend" priority="P3" purpose="Check if MediaControllerClientInfo object is extendable">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_extend.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClientInfo_notexist" priority="P3" purpose="Check if interface MediaControllerClientInfo exists, it should not.">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_notexist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClientInfo_name_attribute" priority="P1" purpose="Check if attribute name of MediaControllerClientInfo exists, has type string and is readonly">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_name_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClientInfo_sendEvent" priority="P1" purpose="Check if sendEvent() works properly">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClientInfo_sendEvent_data_TypeMismatch" priority="P2" purpose="Check argument data conversions exception">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_data_TypeMismatch.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClientInfo_sendEvent_exist" priority="P0" purpose="Check if method sendEvent of MediaControllerClientInfo exists">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClientInfo_sendEvent_misarg" priority="P2" purpose="Check if sendEvent method of MediaControllerClientInfo called with missing non-optional argument throws an exception">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_misarg.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch" priority="P2" purpose="Check argument successCallback conversions exception">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClientInfo_sendEvent_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendEvent throws exception when successCallback is invalid">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_invalid_cb.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_setCustomEventListener" priority="P1" purpose="Check if MediaControllerClient setCustomEventListener method works properly">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_setCustomEventListener_exist" priority="P0" purpose="check if setCustomEventListener exists">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_setCustomEventListener_listener_TypeMismatch" priority="P2" purpose="Check if setCustomEventListener throws exception when listener is incorrect">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_TypeMismatch.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_setCustomEventListener_listener_invalid" priority="P2" purpose="Check if setCustomEventListener throws exception when listener is invalid">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_invalid.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_setCustomEventListener_misarg" priority="P2" purpose="Check if setCustomEventListener method called with missing non-optional argument throws an exception">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_misarg.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_unsetCustomEventListener" priority="P1" purpose="Check if MediaControllerClient unsetCustomEventListener method works properly">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_unsetCustomEventListener_exist" priority="P0" purpose="check if unsetCustomEventListener exists">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_unsetCustomEventListener_extra_argument" priority="P1" purpose="Check using unsetCustomEventListener method with extra argument">
+        <description>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
     </set>
   </suite>
 </test_definition>