[common][mediacontroller][TSIX-899, modify 8 tcs due to spec change] 27/225627/1
authorzhongyuan <zy123.yuan@samsung.com>
Fri, 21 Feb 2020 08:39:38 +0000 (16:39 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Fri, 21 Feb 2020 08:39:38 +0000 (16:39 +0800)
Change-Id: I4dd7ed1767bdf1acde16b5318f7eb022d26e5f51

18 files changed:
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener.html [deleted file]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist.html [deleted file]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch.html [deleted file]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid.html [deleted file]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg.html [deleted file]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_exist.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_invalid.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_misarg.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener.html [deleted file]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist.html [deleted file]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg.html [deleted file]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_exist.html [new file with mode: 0755]
common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_misarg.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/MediaControllerPlaylistsInfo_addPlaylistUpdateListener.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener.html
deleted file mode 100755 (executable)
index 4a2cd5b..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<!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>MediaControllerPlaylistsInfo_addPlaylistUpdateListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdateListener
-//==== LABEL Check if addPlaylistUpdateListener() works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdateListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), watcherId = null, mcClient, playlist, mcServerInfo, ondelete;
-
-t.step(function () {
-    add_result_callback(function () {
-        mcServer.playlists.deletePlaylist("list");
-        mcServerInfo.playlists.removePlaylistUpdateListener(watcherId);
-    });
-    ondelete = {
-        onplaylistdeleted: t.step_func(function(playlistName) {
-            assert_type(watcherId, "long", "watcherId should be type of number");
-            t.done();
-        })
-    };
-
-    mcServer = tizen.mediacontroller.createServer();
-    mcClient = tizen.mediacontroller.getClient();
-    mcServerInfo = mcClient.getLatestServerInfo();
-    playlist = mcServer.playlists.createPlaylist("list");
-    mcServer.playlists.savePlaylist(playlist);
-    watcherId = mcServerInfo.playlists.addPlaylistUpdateListener(ondelete);
-    mcServer.playlists.deletePlaylist("list");
-});
-
-</script>
-</body>
-</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist.html
deleted file mode 100755 (executable)
index 1acfc3e..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!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>MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist
-//==== LABEL Check if method addPlaylistUpdateListener of MediaControllerPlaylistsInfo exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdateListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
-    var mcServer, mcClient, mcServerInfo;
-
-    mcServer = tizen.mediacontroller.createServer();
-    mcClient = tizen.mediacontroller.getClient();
-    mcServerInfo = mcClient.getLatestServerInfo();
-    check_method_exists(mcServerInfo.playlists, "addPlaylistUpdateListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch.html
deleted file mode 100755 (executable)
index 6f1f4b8..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-<!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>MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch
-//==== LABEL Check argument listener conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdateListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-var mcServer, mcClient, mcServerInfo, incorrectCallback, exceptionName, i, conversionTable;
-
-test(function () {
-    mcServer = tizen.mediacontroller.createServer();
-    mcClient = tizen.mediacontroller.getClient();
-    mcServerInfo = mcClient.getLatestServerInfo();
-    conversionTable = getTypeConversionExceptions("object", false);
-
-    for (i = 0; i < conversionTable.length; i++) {
-        incorrectCallback = conversionTable[i][0];
-        exceptionName = conversionTable[i][1];
-        assert_throws({name: exceptionName},
-            function () {
-                mcServerInfo.playlists.addPlaylistUpdateListener(incorrectCallback);
-            }, exceptionName + " should be thrown - given incorrect callback - " + incorrectCallback);
-    }
-
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid.html
deleted file mode 100755 (executable)
index 4de5369..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!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>MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid
-//==== LABEL Check if addPlaylistUpdateListener throws exception when callback is invalid listener
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdateListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTL
-
-var mcServer, mcClient, mcServerInfo, statusChangeListener, exceptionName, incorrectListener, i;
-
-test(function () {
-    mcServer = tizen.mediacontroller.createServer();
-    mcClient = tizen.mediacontroller.getClient();
-    mcServerInfo = mcClient.getLatestServerInfo();
-    incorrectListener = getListenerConversionExceptions(["onplaylistupdated", "onplaylistdeleted"]);
-
-    for (i = 0; i < incorrectListener.length; i++) {
-        statusChangeListener = incorrectListener[i][0];
-        exceptionName = incorrectListener[i][1];
-        assert_throws({name: exceptionName},
-            function () {
-                mcServerInfo.playlists.addPlaylistUpdateListener(statusChangeListener);
-            }, exceptionName + " should be thrown - given incorrect listener.");
-    }
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg.html
deleted file mode 100755 (executable)
index 4f002a6..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!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>MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg
-//==== LABEL Check if addPlaylistUpdateListener method of MediaControllerPlaylistsInfo called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdateListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
-    var mcServer, mcClient, mcServerInfo;
-
-    mcServer = tizen.mediacontroller.createServer();
-    mcClient = tizen.mediacontroller.getClient();
-    mcServerInfo = mcClient.getLatestServerInfo();
-    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
-        mcServerInfo.playlists.addPlaylistUpdateListener();
-    }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener.html
new file mode 100755 (executable)
index 0000000..63dc0cd
--- /dev/null
@@ -0,0 +1,64 @@
+<!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>MediaControllerPlaylistsInfo_addPlaylistUpdatedListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdatedListener
+//==== LABEL Check if addPlaylistUpdatedListener() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), watcherId = null, mcClient, playlist, mcServerInfo, ondelete;
+
+t.step(function () {
+    add_result_callback(function () {
+        mcServer.playlists.deletePlaylist("list");
+        mcServerInfo.playlists.removePlaylistUpdatedListener(watcherId);
+    });
+    ondelete = {
+        onplaylistdeleted: t.step_func(function(playlistName) {
+            assert_type(watcherId, "long", "watcherId should be type of number");
+            t.done();
+        })
+    };
+
+    mcServer = tizen.mediacontroller.createServer();
+    mcClient = tizen.mediacontroller.getClient();
+    mcServerInfo = mcClient.getLatestServerInfo();
+    playlist = mcServer.playlists.createPlaylist("list");
+    mcServer.playlists.savePlaylist(playlist);
+    watcherId = mcServerInfo.playlists.addPlaylistUpdatedListener(ondelete);
+    mcServer.playlists.deletePlaylist("list");
+});
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_exist.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_exist.html
new file mode 100755 (executable)
index 0000000..cd50f76
--- /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>MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_exist
+//==== LABEL Check if method addPlaylistUpdatedListener of MediaControllerPlaylistsInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    var mcServer, mcClient, mcServerInfo;
+
+    mcServer = tizen.mediacontroller.createServer();
+    mcClient = tizen.mediacontroller.getClient();
+    mcServerInfo = mcClient.getLatestServerInfo();
+    check_method_exists(mcServerInfo.playlists, "addPlaylistUpdatedListener");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html
new file mode 100755 (executable)
index 0000000..79ef184
--- /dev/null
@@ -0,0 +1,58 @@
+<!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>MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_TypeMismatch
+//==== LABEL Check argument listener conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, incorrectCallback, exceptionName, i, conversionTable;
+
+test(function () {
+    mcServer = tizen.mediacontroller.createServer();
+    mcClient = tizen.mediacontroller.getClient();
+    mcServerInfo = mcClient.getLatestServerInfo();
+    conversionTable = getTypeConversionExceptions("object", false);
+
+    for (i = 0; i < conversionTable.length; i++) {
+        incorrectCallback = conversionTable[i][0];
+        exceptionName = conversionTable[i][1];
+        assert_throws({name: exceptionName},
+            function () {
+                mcServerInfo.playlists.addPlaylistUpdatedListener(incorrectCallback);
+            }, exceptionName + " should be thrown - given incorrect callback - " + incorrectCallback);
+    }
+
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_invalid.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_invalid.html
new file mode 100755 (executable)
index 0000000..9bf9ba2
--- /dev/null
@@ -0,0 +1,57 @@
+<!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>MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_invalid
+//==== LABEL Check if addPlaylistUpdatedListener throws exception when callback is invalid listener
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+var mcServer, mcClient, mcServerInfo, statusChangeListener, exceptionName, incorrectListener, i;
+
+test(function () {
+    mcServer = tizen.mediacontroller.createServer();
+    mcClient = tizen.mediacontroller.getClient();
+    mcServerInfo = mcClient.getLatestServerInfo();
+    incorrectListener = getListenerConversionExceptions(["onplaylistupdated", "onplaylistdeleted"]);
+
+    for (i = 0; i < incorrectListener.length; i++) {
+        statusChangeListener = incorrectListener[i][0];
+        exceptionName = incorrectListener[i][1];
+        assert_throws({name: exceptionName},
+            function () {
+                mcServerInfo.playlists.addPlaylistUpdatedListener(statusChangeListener);
+            }, exceptionName + " should be thrown - given incorrect listener.");
+    }
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_misarg.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_misarg.html
new file mode 100755 (executable)
index 0000000..5244367
--- /dev/null
@@ -0,0 +1,50 @@
+<!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>MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_misarg
+//==== LABEL Check if addPlaylistUpdatedListener method of MediaControllerPlaylistsInfo called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+    var mcServer, mcClient, mcServerInfo;
+
+    mcServer = tizen.mediacontroller.createServer();
+    mcClient = tizen.mediacontroller.getClient();
+    mcServerInfo = mcClient.getLatestServerInfo();
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+        mcServerInfo.playlists.addPlaylistUpdatedListener();
+    }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener.html
deleted file mode 100755 (executable)
index 117d503..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!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>MediaControllerPlaylistsInfo_removePlaylistUpdateListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaylistsInfo_removePlaylistUpdateListener
-//==== LABEL Check if MediaControllerPlaylistsInfo removePlaylistUpdateListener method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:removePlaylistUpdateListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 90000}), watcherId = null, mcServer, mcClient, playlist, mcServerInfo, ondelete, retVal = null;
-
-t.step(function () {
-    add_result_callback(function () {
-        mcServer.playlists.deletePlaylist("list");
-    });
-    ondelete = {
-        onplaylistdeleted: t.step_func(function(playlistName) {
-            retVal = mcServerInfo.playlists.removePlaylistUpdateListener(watcherId);
-            assert_equals(retVal, undefined, "return value should be undefined");
-            t.done();
-        })
-    };
-
-    mcServer = tizen.mediacontroller.createServer();
-    mcClient = tizen.mediacontroller.getClient();
-    mcServerInfo = mcClient.getLatestServerInfo();
-    playlist = mcServer.playlists.createPlaylist("list");
-    mcServer.playlists.savePlaylist(playlist);
-    watcherId = mcServerInfo.playlists.addPlaylistUpdateListener(ondelete);
-
-    mcServer.playlists.deletePlaylist("list");
-});
-
-</script>
-</body>
-</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist.html
deleted file mode 100755 (executable)
index 982cb19..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!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>MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist
-//==== LABEL check if removePlaylistUpdateListener exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:removePlaylistUpdateListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
-    var mcServer, mcClient, mcServerInfo;
-
-    mcServer = tizen.mediacontroller.createServer();
-    mcClient = tizen.mediacontroller.getClient();
-    mcServerInfo = mcClient.getLatestServerInfo();
-    check_method_exists(mcServerInfo.playlists, "removePlaylistUpdateListener");
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg.html
deleted file mode 100755 (executable)
index a379f6d..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!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>MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg
-//==== LABEL Check if removePlaylistUpdateListener method called with missing non-optional argument does not throw any exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:removePlaylistUpdateListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
-    var mcServer, mcClient, mcServerInfo;
-
-    mcServer = tizen.mediacontroller.createServer();
-    mcClient = tizen.mediacontroller.getClient();
-    mcServerInfo = mcClient.getLatestServerInfo();
-    try {
-        mcServerInfo.playlists.removePlaylistUpdateListener();
-    } catch(e) {
-        assert_unreached("Calling removePlaylistUpdateListener without arguments should not throw an exception.");
-    }
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener.html
new file mode 100755 (executable)
index 0000000..a32132f
--- /dev/null
@@ -0,0 +1,66 @@
+<!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>MediaControllerPlaylistsInfo_removePlaylistUpdatedListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_removePlaylistUpdatedListener
+//==== LABEL Check if MediaControllerPlaylistsInfo removePlaylistUpdatedListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 90000}), watcherId = null, mcServer, mcClient, playlist, mcServerInfo, ondelete, retVal = null;
+
+t.step(function () {
+    add_result_callback(function () {
+        mcServer.playlists.deletePlaylist("list");
+    });
+    ondelete = {
+        onplaylistdeleted: t.step_func(function(playlistName) {
+            retVal = mcServerInfo.playlists.removePlaylistUpdatedListener(watcherId);
+            assert_equals(retVal, undefined, "return value should be undefined");
+            t.done();
+        })
+    };
+
+    mcServer = tizen.mediacontroller.createServer();
+    mcClient = tizen.mediacontroller.getClient();
+    mcServerInfo = mcClient.getLatestServerInfo();
+    playlist = mcServer.playlists.createPlaylist("list");
+    mcServer.playlists.savePlaylist(playlist);
+    watcherId = mcServerInfo.playlists.addPlaylistUpdatedListener(ondelete);
+
+    mcServer.playlists.deletePlaylist("list");
+});
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_exist.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_exist.html
new file mode 100755 (executable)
index 0000000..3583d13
--- /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>MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_exist
+//==== LABEL check if removePlaylistUpdatedListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+    var mcServer, mcClient, mcServerInfo;
+
+    mcServer = tizen.mediacontroller.createServer();
+    mcClient = tizen.mediacontroller.getClient();
+    mcServerInfo = mcClient.getLatestServerInfo();
+    check_method_exists(mcServerInfo.playlists, "removePlaylistUpdatedListener");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_misarg.html b/common/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_misarg.html
new file mode 100755 (executable)
index 0000000..c52f33c
--- /dev/null
@@ -0,0 +1,52 @@
+<!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>MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_misarg
+//==== LABEL Check if removePlaylistUpdatedListener method called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+    var mcServer, mcClient, mcServerInfo;
+
+    mcServer = tizen.mediacontroller.createServer();
+    mcClient = tizen.mediacontroller.getClient();
+    mcServerInfo = mcClient.getLatestServerInfo();
+    try {
+        mcServerInfo.playlists.removePlaylistUpdatedListener();
+    } catch(e) {
+        assert_unreached("Calling removePlaylistUpdatedListener without arguments should not throw an exception.");
+    }
+}, document.title);
+
+</script>
+</body>
+</html>
index 4ee01a0f299f264ae9484a67067a7cc886b56410..ed2c4248adba1846b4746c5d6668f60dd6a4da16 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdateListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo addPlaylistUpdateListener method works properly">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo addPlaylistUpdatedListener method works properly">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="addPlaylistUpdateListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+            <spec_assertion interface="addPlaylistUpdatedListener" 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="MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist" priority="P0" purpose="check if addPlaylistUpdateListener exists">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="addPlaylistUpdateListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+            <spec_assertion interface="addPlaylistUpdatedListener" 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="MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdateListener throws exception when listener is incorrect">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="addPlaylistUpdateListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+            <spec_assertion interface="addPlaylistUpdatedListener" 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="MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdateListener throws exception when listener is invalid">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="addPlaylistUpdateListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+            <spec_assertion interface="addPlaylistUpdatedListener" 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="MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg" priority="P2" purpose="Check if addPlaylistUpdateListener method called with missing non-optional argument throws an exception">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="addPlaylistUpdateListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+            <spec_assertion interface="addPlaylistUpdatedListener" 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="MediaControllerPlaylistsInfo_removePlaylistUpdateListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo removePlaylistUpdateListener method works properly">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo removePlaylistUpdatedListener method works properly">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="removePlaylistUpdateListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+            <spec_assertion interface="removePlaylistUpdatedListener" 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="MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist" priority="P0" purpose="check if removePlaylistUpdateListener exists">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="removePlaylistUpdateListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+            <spec_assertion interface="removePlaylistUpdatedListener" 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="MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg" priority="P2" purpose="Check if removePlaylistUpdateListener method called with missing non-optional argument does not throw any exception">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_misarg" priority="P2" purpose="Check if removePlaylistUpdatedListener method called with missing non-optional argument does not throw any exception">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
         </description>
         <specs>
           <spec>
-            <spec_assertion interface="removePlaylistUpdateListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+            <spec_assertion interface="removePlaylistUpdatedListener" 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>
index dc86b7f97dd4b1715fa45a75a93302e5d7adf344..fa648b84eaeeeabd4a44cd05026607f67cd419c2 100755 (executable)
           <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_sendPlaybackItem_action_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdateListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo addPlaylistUpdateListener method works properly">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo addPlaylistUpdatedListener method works properly">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist" priority="P0" purpose="check if addPlaylistUpdateListener exists">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdateListener throws exception when listener is incorrect">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdateListener throws exception when listener is invalid">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg" priority="P2" purpose="Check if addPlaylistUpdateListener method called with missing non-optional argument throws an exception">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdateListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo removePlaylistUpdateListener method works properly">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo removePlaylistUpdatedListener method works properly">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist" priority="P0" purpose="check if removePlaylistUpdateListener exists">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg" priority="P2" purpose="Check if removePlaylistUpdateListener method called with missing non-optional argument does not throw any exception">
+      <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_misarg" priority="P2" purpose="Check if removePlaylistUpdatedListener method called with missing non-optional argument does not throw any exception">
         <description>
-          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
         </description>
       </testcase>
       <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_playlists_attribute" priority="P1" purpose="Check if attribute playlists of MediaControllerServerInfo exists, has type object and is readonly">